Skip to content

Commit 4010853

Browse files
committed
fix(backend): 修复mysql数据源渲染问题 TencentBlueKing#10891
# Reviewed, transaction id: 44765
1 parent bbaf039 commit 4010853

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dbm-ui/backend/bk_dataview/grafana/provisioning.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ def get_obj_datasource_type_uid(obj) -> tuple:
122122
uid = "bkmonitor_timeseries"
123123
elif datasource_type == "bk_log_datasource":
124124
uid = "bklog"
125+
elif datasource_type == "mysql":
126+
uid = "bkdbm_statsdb_source"
125127
else:
126128
uid = "unknown"
127129
return datasource_type, uid

0 commit comments

Comments
 (0)