open-nomad/integrations/prometheus/prometheus.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
352 B
YAML
Raw Normal View History

scrape_configs:
2017-09-15 03:20:28 +00:00
- job_name: 'nomad_metrics'
consul_sd_configs:
- server: 'localhost:8500'
2017-09-12 17:05:45 +00:00
services: ['nomad-client', 'nomad']
2017-09-13 14:28:34 +00:00
relabel_configs:
- source_labels: ['__meta_consul_tags']
regex: '(.*)http(.*)'
action: keep
scrape_interval: 5s
2017-09-14 18:11:47 +00:00
metrics_path: /v1/metrics
params:
format: ['prometheus']