Skip to content

Commit

Permalink
filter nomad services for only http
Browse files Browse the repository at this point in the history
  • Loading branch information
chelseakomlo committed Sep 14, 2017
1 parent 2c53439 commit 2783b27
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions integrations/prometheus/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2783b27

Please sign in to comment.