diff --git a/nomad-job/prometheus.nomad b/nomad-job/prometheus.nomad index 36260a6..e08f3c4 100644 --- a/nomad-job/prometheus.nomad +++ b/nomad-job/prometheus.nomad @@ -93,6 +93,9 @@ scrape_configs: consul_sd_configs: - server: 'consul.service.consul:8500' services: ['hass'] + relabel_configs: + - source_labels: ['__meta_consul_dc'] + target_label: instance scrape_interval: 60s metrics_path: /api/prometheus authorization: