Skip to content

Commit

Permalink
add prometheus metrics for configuration with consul and nomad
Browse files Browse the repository at this point in the history
  • Loading branch information
chelseakomlo committed Sep 12, 2017
1 parent ac8c80b commit c262d9d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions integrations/prometheus/prometheus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
global:
external_labels:
monitor: 'codelab-monitor'

scrape_configs:
- job_name: 'nomad_data'

consul_sd_configs:
- server: 'localhost:8500'
services: ['nomad-client', 'nomad-server-nomad']

scrape_interval: 5s
metrics_path: /metrics

0 comments on commit c262d9d

Please sign in to comment.