Skip to content

Commit

Permalink
fixups from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
chelseakomlo committed Sep 15, 2017
1 parent 7212566 commit 3a8320c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
5 changes: 3 additions & 2 deletions integrations/prometheus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
8 changes: 1 addition & 7 deletions integrations/prometheus/prometheus.yml
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -18,5 +14,3 @@ scrape_configs:
metrics_path: /v1/metrics
params:
format: ['prometheus']


0 comments on commit 3a8320c

Please sign in to comment.