add prometheus metrics for configuration with consul and nomad

This commit is contained in:
Chelsea Holland Komlo
2017-09-12 01:03:10 +00:00
parent 58f3a29d07
commit 7fea046525

View File

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