add loki metrics in prometheus
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
vincent 2023-11-28 19:02:19 +01:00
parent 1992f75888
commit 49d2ce491f

View File

@ -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'