Golang, DevOps, Prometheus, Exporters, Monitoring.
file for it called prometheus.yml. vim /etc/prometheus/prometheus.yml Copy the following code into the file. Example Configuration File for Prometheus After adding configuration in prometheus.yml. We should restart the service by systemctl restart prometheus This creates a scrape_configs section