Update gen_config.py

pull/131/head
StarsL.cn 2024-08-12 15:50:10 +08:00 committed by GitHub
parent b72fcfeebc
commit 384ae6348f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ def rds_config(region_list,cm_exporter,services_list,exporter):
region_str = '\n - '.join([i.replace('/rds','') for i in region_list])
consul_server = consul_url.split("/")[2]
exporter_config = f"""
- job_name: 'ConsulManager-MySQL'
- job_name: 'TenSunS-MySQL'
scrape_interval: 30s
scrape_timeout: 15s
static_configs: