Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
starsliao committed Nov 28, 2022
1 parent 7f2f39e commit d4853ab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flask-consul/units/gen_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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组' }
Expand Down

0 comments on commit d4853ab

Please sign in to comment.