Skip to content

Commit

Permalink
feat(backend): 更新redis仪表盘 #2667
Browse files Browse the repository at this point in the history
  • Loading branch information
gaohongsong committed Dec 18, 2023
1 parent f399f7f commit 891f014
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 37 deletions.
75 changes: 55 additions & 20 deletions dbm-ui/backend/bk_dataview/dashboards/json/tendiscache.json
Original file line number Diff line number Diff line change
@@ -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": [
{
Expand All @@ -22,10 +59,10 @@
]
},
"description": "tendisCache集群",
"editable": true,
"editable": false,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 1,
"id": null,
"links": [],
"liveNow": false,
"panels": [
Expand Down Expand Up @@ -4152,7 +4189,7 @@
"type": "instant"
}
],
"title": "Qps",
"title": "Proxy Qps",
"type": "stat"
},
{
Expand Down Expand Up @@ -4727,7 +4764,7 @@
"type": "instant"
}
],
"title": "Max Redis Cpu",
"title": "Redis Cpu",
"type": "stat"
},
{
Expand Down Expand Up @@ -5658,7 +5695,7 @@
"type": "range"
}
],
"title": "twemproxy cmd Qps",
"title": "proxy cmd Qps",
"type": "timeseries"
},
{
Expand Down Expand Up @@ -5864,7 +5901,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
}
]
},
Expand Down Expand Up @@ -6003,7 +6041,7 @@
"type": "range"
}
],
"title": "twemproxy cmd 平均访问延迟",
"title": "proxy cmd 平均访问延迟",
"type": "timeseries"
},
{
Expand Down Expand Up @@ -6053,7 +6091,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
}
]
},
Expand Down Expand Up @@ -6201,7 +6240,7 @@
"type": "bkmonitor-timeseries-datasource",
"uid": "bkmonitor_timeseries"
},
"description": "twemproxy 访问延迟分布",
"description": "proxy 访问延迟分布",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -6645,7 +6684,7 @@
"type": "range"
}
],
"title": "twemproxy 访问延迟分布. increase[2m]",
"title": "proxy 访问延迟分布. increase[2m]",
"type": "timeseries"
},
{
Expand Down Expand Up @@ -7035,7 +7074,7 @@
"type": "range"
}
],
"title": "twemproxy host 平均访问延迟",
"title": "proxy host 平均访问延迟",
"type": "timeseries"
},
{
Expand Down Expand Up @@ -7371,7 +7410,7 @@
"type": "range"
}
],
"title": "twemproxy 新建连接[2m]",
"title": "proxy新建连接[2m]",
"type": "timeseries"
},
{
Expand Down Expand Up @@ -7532,7 +7571,7 @@
"type": "bkmonitor-timeseries-datasource",
"uid": "bkmonitor_timeseries"
},
"description": "twemproxy 当前连接",
"description": "twemproxy当前连接",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -7665,7 +7704,7 @@
"type": "range"
}
],
"title": "twemproxy 当前连接",
"title": "proxy当前连接",
"type": "timeseries"
},
{
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -9588,6 +9623,6 @@
"timezone": "",
"title": "tendis-cache",
"uid": "6nXM8aF42",
"version": 78,
"version": 89,
"weekStart": ""
}
65 changes: 48 additions & 17 deletions dbm-ui/backend/bk_dataview/dashboards/json/tendisssd.json
Original file line number Diff line number Diff line change
@@ -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": [
{
Expand All @@ -22,10 +59,10 @@
]
},
"description": "tendisSsd集群",
"editable": true,
"editable": false,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 8,
"id": null,
"links": [],
"liveNow": false,
"panels": [
Expand Down Expand Up @@ -86,8 +123,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
},
Expand Down Expand Up @@ -230,8 +266,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
},
Expand Down Expand Up @@ -374,8 +409,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
},
Expand Down Expand Up @@ -518,8 +552,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
},
Expand Down Expand Up @@ -6974,7 +7007,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
}
]
},
Expand Down Expand Up @@ -7163,7 +7197,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": null
}
]
},
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 891f014

Please sign in to comment.