fixups from code review

This commit is contained in:
Chelsea Holland Komlo
2017-09-15 03:20:28 +00:00
parent 7212566f5c
commit 3a8320caa2
2 changed files with 4 additions and 9 deletions

View File

@@ -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.

View File

@@ -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']