Trying to fix issue with targets merging

This commit is contained in:
2022-04-26 11:21:32 +03:00
parent 09feefe2c5
commit d3e100f291
@@ -17,7 +17,7 @@ rule_files:
- "/share/prometheus/rules/*.yaml"
.scrape_configs_included: !include targets/*.yaml
.scrape_configs_included: !include /share/prometheus/targets/*.yaml
.scrape_configs_static:
- job_name: 'home-assistant'
scrape_interval: 60s
@@ -36,3 +36,10 @@ rule_files:
static_configs:
- targets: ['localhost:9090']
# - job_name: 'coinmarket'
# scrape_interval: 120s
# # metrics_path defaults to '/metrics'
# # scheme defaults to 'http'.
#
# static_configs:
# - targets: ['192.168.1.20:9101']