add loki metrics in prometheus
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1992f75888
commit
49d2ce491f
@ -101,6 +101,13 @@ scrape_configs:
|
|||||||
relabel_configs:
|
relabel_configs:
|
||||||
- source_labels: [__meta_consul_node]
|
- source_labels: [__meta_consul_node]
|
||||||
target_label: instance
|
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'
|
- job_name: 'HASS'
|
||||||
consul_sd_configs:
|
consul_sd_configs:
|
||||||
- server: 'consul.service.consul:8500'
|
- server: 'consul.service.consul:8500'
|
||||||
|
Loading…
Reference in New Issue
Block a user