diff --git a/integrations/prometheus/prometheus.yml b/integrations/prometheus/prometheus.yml index 80ce39c94..d0c336d55 100644 --- a/integrations/prometheus/prometheus.yml +++ b/integrations/prometheus/prometheus.yml @@ -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