diff --git a/integrations/prometheus/README.md b/integrations/prometheus/README.md index 2be17997025..674010cb753 100644 --- a/integrations/prometheus/README.md +++ b/integrations/prometheus/README.md @@ -7,5 +7,6 @@ Requirements: - See Prometheus's [Getting Started](https://prometheus.io/docs/introduction/getting_started/) guide for instructions on how to set up a Prometheus server. - - A running Consul server, which will need to be added to this configuration - file. + - A running Consul server. This configuration is written for a local remote + Consul agent, and will need to be updated in the case Consul agent is on a + remote server. diff --git a/integrations/prometheus/prometheus.yml b/integrations/prometheus/prometheus.yml index f4b3a05c6cd..0e644c5f27d 100644 --- a/integrations/prometheus/prometheus.yml +++ b/integrations/prometheus/prometheus.yml @@ -1,9 +1,5 @@ -global: - external_labels: - monitor: 'codelab-monitor' - scrape_configs: - - job_name: 'nomad_data' + - job_name: 'nomad_metrics' consul_sd_configs: - server: 'localhost:8500' @@ -18,5 +14,3 @@ scrape_configs: metrics_path: /v1/metrics params: format: ['prometheus'] - -