Add custom scrape configs to some hosts
This commit is contained in:
parent
5c07e751d0
commit
c142aed490
@ -21,6 +21,9 @@ scrape_configs:
|
||||
file_sd_configs:
|
||||
- files:
|
||||
- /label_discovery/docker-targets.json
|
||||
{% if metrics.additional_scrape_rules is defined %}
|
||||
{{ metrics.additional_scrape_rules | to_nice_yaml}}
|
||||
{% endif %}
|
||||
remote_write:
|
||||
- url: https://{{ common.mimir.host | mandatory }}/api/v1/push
|
||||
headers:
|
||||
|
Loading…
Reference in New Issue
Block a user