Trying to fix issue with targets merging
This commit is contained in:
@@ -17,7 +17,7 @@ rule_files:
|
|||||||
- "/share/prometheus/rules/*.yaml"
|
- "/share/prometheus/rules/*.yaml"
|
||||||
|
|
||||||
|
|
||||||
.scrape_configs_included: !include targets/*.yaml
|
.scrape_configs_included: !include /share/prometheus/targets/*.yaml
|
||||||
.scrape_configs_static:
|
.scrape_configs_static:
|
||||||
- job_name: 'home-assistant'
|
- job_name: 'home-assistant'
|
||||||
scrape_interval: 60s
|
scrape_interval: 60s
|
||||||
@@ -36,3 +36,10 @@ rule_files:
|
|||||||
|
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['localhost:9090']
|
- 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']
|
||||||
|
|||||||
Reference in New Issue
Block a user