Update blackbox_manager.py
parent
d952a76e86
commit
25d4484c0f
|
@ -187,6 +187,8 @@ def get_pconfig():
|
||||||
consul_server = consul_url.split("/")[2]
|
consul_server = consul_url.split("/")[2]
|
||||||
pconfig = f"""
|
pconfig = f"""
|
||||||
- job_name: 'blackbox_exporter'
|
- job_name: 'blackbox_exporter'
|
||||||
|
scrape_interval: 15s
|
||||||
|
scrape_timeout: 5s
|
||||||
metrics_path: /probe
|
metrics_path: /probe
|
||||||
consul_sd_configs:
|
consul_sd_configs:
|
||||||
- server: '{consul_server}'
|
- server: '{consul_server}'
|
||||||
|
|
Loading…
Reference in New Issue