diff --git a/flask-consul/units/gen_config.py b/flask-consul/units/gen_config.py index 738f7f7..b421c6a 100644 --- a/flask-consul/units/gen_config.py +++ b/flask-consul/units/gen_config.py @@ -58,6 +58,8 @@ def redis_config(region_list,cm_exporter,services_list,exporter): target_label: itype - source_labels: ['__meta_consul_service_metadata_ver'] target_label: ver + - source_labels: ['__meta_consul_service_metadata_exp'] + target_label: exp """ if not services_list: return {'code': 20000,'configs': '请选择需要Prometheus从Conusl自动发现的MySQL组' }