From 891f014aa3e402d2673321a62cbb1de00ac5f5dc Mon Sep 17 00:00:00 2001 From: gaohongsong Date: Mon, 18 Dec 2023 18:35:17 +0800 Subject: [PATCH] =?UTF-8?q?feat(backend):=20=E6=9B=B4=E6=96=B0redis?= =?UTF-8?q?=E4=BB=AA=E8=A1=A8=E7=9B=98=20#2667?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dashboards/json/tendiscache.json | 75 ++++++++++++++----- .../dashboards/json/tendisssd.json | 65 +++++++++++----- 2 files changed, 103 insertions(+), 37 deletions(-) diff --git a/dbm-ui/backend/bk_dataview/dashboards/json/tendiscache.json b/dbm-ui/backend/bk_dataview/dashboards/json/tendiscache.json index cf6c4da767..dd73df1669 100644 --- a/dbm-ui/backend/bk_dataview/dashboards/json/tendiscache.json +++ b/dbm-ui/backend/bk_dataview/dashboards/json/tendiscache.json @@ -1,4 +1,41 @@ { + "__inputs": [ + { + "name": "DS_蓝鲸监控_- 指标数据", + "label": "蓝鲸监控 - 指标数据", + "description": "", + "type": "datasource", + "pluginId": "bkmonitor-timeseries-datasource", + "pluginName": "蓝鲸监控-时序数据" + } + ], + "__elements": {}, + "__requires": [ + { + "type": "datasource", + "id": "bkmonitor-timeseries-datasource", + "name": "蓝鲸监控-时序数据", + "version": "3.6.0" + }, + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "9.1.0" + }, + { + "type": "panel", + "id": "stat", + "name": "Stat", + "version": "" + }, + { + "type": "panel", + "id": "timeseries", + "name": "Time series", + "version": "" + } + ], "annotations": { "list": [ { @@ -22,10 +59,10 @@ ] }, "description": "tendisCache集群", - "editable": true, + "editable": false, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 1, + "id": null, "links": [], "liveNow": false, "panels": [ @@ -4152,7 +4189,7 @@ "type": "instant" } ], - "title": "Qps", + "title": "Proxy Qps", "type": "stat" }, { @@ -4727,7 +4764,7 @@ "type": "instant" } ], - "title": "Max Redis Cpu", + "title": "Redis Cpu", "type": "stat" }, { @@ -5658,7 +5695,7 @@ "type": "range" } ], - "title": "twemproxy cmd Qps", + "title": "proxy cmd Qps", "type": "timeseries" }, { @@ -5864,7 +5901,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -6003,7 +6041,7 @@ "type": "range" } ], - "title": "twemproxy cmd 平均访问延迟", + "title": "proxy cmd 平均访问延迟", "type": "timeseries" }, { @@ -6053,7 +6091,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -6201,7 +6240,7 @@ "type": "bkmonitor-timeseries-datasource", "uid": "bkmonitor_timeseries" }, - "description": "twemproxy 访问延迟分布", + "description": "proxy 访问延迟分布", "fieldConfig": { "defaults": { "color": { @@ -6645,7 +6684,7 @@ "type": "range" } ], - "title": "twemproxy 访问延迟分布. increase[2m]", + "title": "proxy 访问延迟分布. increase[2m]", "type": "timeseries" }, { @@ -7035,7 +7074,7 @@ "type": "range" } ], - "title": "twemproxy host 平均访问延迟", + "title": "proxy host 平均访问延迟", "type": "timeseries" }, { @@ -7371,7 +7410,7 @@ "type": "range" } ], - "title": "twemproxy 新建连接[2m]", + "title": "proxy新建连接[2m]", "type": "timeseries" }, { @@ -7532,7 +7571,7 @@ "type": "bkmonitor-timeseries-datasource", "uid": "bkmonitor_timeseries" }, - "description": "twemproxy 当前连接", + "description": "twemproxy当前连接", "fieldConfig": { "defaults": { "color": { @@ -7665,7 +7704,7 @@ "type": "range" } ], - "title": "twemproxy 当前连接", + "title": "proxy当前连接", "type": "timeseries" }, { @@ -9522,11 +9561,7 @@ "templating": { "list": [ { - "current": { - "selected": false, - "text": "cache.mytianjin.dba.db", - "value": "cache.mytianjin.dba.db" - }, + "current": {}, "datasource": { "type": "bkmonitor-timeseries-datasource", "uid": "bkmonitor_timeseries" @@ -9588,6 +9623,6 @@ "timezone": "", "title": "tendis-cache", "uid": "6nXM8aF42", - "version": 78, + "version": 89, "weekStart": "" } \ No newline at end of file diff --git a/dbm-ui/backend/bk_dataview/dashboards/json/tendisssd.json b/dbm-ui/backend/bk_dataview/dashboards/json/tendisssd.json index fb3a081ecc..43c9e99e8b 100644 --- a/dbm-ui/backend/bk_dataview/dashboards/json/tendisssd.json +++ b/dbm-ui/backend/bk_dataview/dashboards/json/tendisssd.json @@ -1,4 +1,41 @@ { + "__inputs": [ + { + "name": "DS_蓝鲸监控_- 指标数据", + "label": "蓝鲸监控 - 指标数据", + "description": "", + "type": "datasource", + "pluginId": "bkmonitor-timeseries-datasource", + "pluginName": "蓝鲸监控-时序数据" + } + ], + "__elements": {}, + "__requires": [ + { + "type": "datasource", + "id": "bkmonitor-timeseries-datasource", + "name": "蓝鲸监控-时序数据", + "version": "3.6.0" + }, + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "9.1.0" + }, + { + "type": "panel", + "id": "stat", + "name": "Stat", + "version": "" + }, + { + "type": "panel", + "id": "timeseries", + "name": "Time series", + "version": "" + } + ], "annotations": { "list": [ { @@ -22,10 +59,10 @@ ] }, "description": "tendisSsd集群", - "editable": true, + "editable": false, "fiscalYearStartMonth": 0, "graphTooltip": 0, - "id": 8, + "id": null, "links": [], "liveNow": false, "panels": [ @@ -86,8 +123,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -230,8 +266,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -374,8 +409,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -518,8 +552,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -6974,7 +7007,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -7163,7 +7197,8 @@ "mode": "absolute", "steps": [ { - "color": "green" + "color": "green", + "value": null } ] }, @@ -10415,11 +10450,7 @@ "templating": { "list": [ { - "current": { - "selected": false, - "text": "ssd.yunnan.dba.db", - "value": "ssd.yunnan.dba.db" - }, + "current": {}, "datasource": { "type": "bkmonitor-timeseries-datasource", "uid": "bkmonitor_timeseries"