diff --git a/nomad-job/prometheus.nomad b/nomad-job/prometheus.nomad index 5e98e22..e98e870 100644 --- a/nomad-job/prometheus.nomad +++ b/nomad-job/prometheus.nomad @@ -101,6 +101,13 @@ scrape_configs: relabel_configs: - source_labels: [__meta_consul_node] target_label: instance + - job_name: 'loki' + consul_sd_configs: + - server: consul.service.consul:8500 + services: ['loki'] + relabel_configs: + - source_labels: ['__meta_consul_dc'] + target_label: instance - job_name: 'HASS' consul_sd_configs: - server: 'consul.service.consul:8500'