mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
filter nomad services for only http
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user