Update blackbox_manager.py

pull/46/head
StarsL.cn 2022-11-15 03:35:12 +08:00 committed by GitHub
parent d952a76e86
commit 25d4484c0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -187,6 +187,8 @@ def get_pconfig():
consul_server = consul_url.split("/")[2]
pconfig = f"""
- job_name: 'blackbox_exporter'
scrape_interval: 15s
scrape_timeout: 5s
metrics_path: /probe
consul_sd_configs:
- server: '{consul_server}'