filter nomad services for only http

This commit is contained in:
Chelsea Holland Komlo
2017-09-13 14:28:34 +00:00
parent 2c53439ef5
commit 2783b27c4c

View File

@@ -9,6 +9,11 @@ scrape_configs:
- server: 'localhost:8500'
services: ['nomad-client', 'nomad']
relabel_configs:
- source_labels: ['__meta_consul_tags']
regex: '(.*)http(.*)'
action: keep
scrape_interval: 5s
metrics_path: /metrics