diff --git a/nomad-job/prometheus.nomad b/nomad-job/prometheus.nomad index 783e944..7bee5bc 100644 --- a/nomad-job/prometheus.nomad +++ b/nomad-job/prometheus.nomad @@ -78,6 +78,9 @@ scrape_configs: consul_sd_configs: - server: 'consul.service.consul:8500' services: ['node-exporter'] + relabel_configs: + - source_labels: [__meta_consul_node] + target_label: instance