Add custom scrape configs to some hosts
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Tobias Manske 2024-01-10 02:19:53 +01:00
parent 54a82b9ba9
commit cacb70972e
Signed by: tobias
GPG Key ID: 9164B527694A0709

View File

@ -21,6 +21,9 @@ scrape_configs:
file_sd_configs: file_sd_configs:
- files: - files:
- /label_discovery/docker-targets.json - /label_discovery/docker-targets.json
{% if metrics.additional_scrape_rules is defined %}
{{ metrics.additional_scrape_rules | to_nice_yaml}}
{% endif %}
remote_write: remote_write:
- url: https://{{ common.mimir.host | mandatory }}/api/v1/push - url: https://{{ common.mimir.host | mandatory }}/api/v1/push
headers: headers: