Skip to content

Commit ecb6330

Browse files
authored
chore(monitor-snapshot/master): update files from upstreams (#815)
1 parent eaa5941 commit ecb6330

File tree

2 files changed

+222
-0
lines changed

2 files changed

+222
-0
lines changed
-305 Bytes
Binary file not shown.

monitor-snapshot/master/operator/dashboards/pd.json

Lines changed: 222 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9147,6 +9147,228 @@
91479147
"steppedLine": false,
91489148
"timeFrom": null,
91499149
"timeShift": null
9150+
},
9151+
{
9152+
"aliasColors": {},
9153+
"dashLength": 10,
9154+
"datasource": "tidb-cluster",
9155+
"description": "The region request from different source.",
9156+
"editable": true,
9157+
"fieldConfig": {
9158+
"defaults": {},
9159+
"overrides": []
9160+
},
9161+
"fill": 1,
9162+
"grid": {},
9163+
"gridPos": {
9164+
"h": 8,
9165+
"w": 12,
9166+
"x": 12,
9167+
"y": 135
9168+
},
9169+
"id": 906,
9170+
"legend": {
9171+
"alignAsTable": true,
9172+
"avg": false,
9173+
"current": true,
9174+
"hideEmpty": true,
9175+
"hideZero": true,
9176+
"max": true,
9177+
"min": false,
9178+
"rightSide": true,
9179+
"show": true,
9180+
"sideWidth": 300,
9181+
"total": false,
9182+
"values": true
9183+
},
9184+
"lines": true,
9185+
"linewidth": 1,
9186+
"links": [],
9187+
"nullPointMode": "null as zero",
9188+
"options": {
9189+
"alertThreshold": true
9190+
},
9191+
"paceLength": 10,
9192+
"pluginVersion": "7.5.17",
9193+
"pointradius": 5,
9194+
"renderer": "flot",
9195+
"seriesOverrides": [],
9196+
"spaceLength": 10,
9197+
"targets": [
9198+
{
9199+
"expr": "sum(rate(pd_server_region_request_cnt{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", event=\"success\"}[1m])) by (request, caller_id, caller_component)",
9200+
"legendFormat": "{{request}}-{{caller_id}}-{{caller_component}}",
9201+
"interval": "",
9202+
"exemplar": true,
9203+
"intervalFactor": 2,
9204+
"refId": "A",
9205+
"step": 4
9206+
}
9207+
],
9208+
"thresholds": [],
9209+
"timeRegions": [],
9210+
"title": "Success Region Request(1% sample)",
9211+
"tooltip": {
9212+
"msResolution": false,
9213+
"shared": true,
9214+
"sort": 0,
9215+
"value_type": "cumulative"
9216+
},
9217+
"type": "graph",
9218+
"xaxis": {
9219+
"buckets": null,
9220+
"mode": "time",
9221+
"name": null,
9222+
"show": true,
9223+
"values": []
9224+
},
9225+
"yaxes": [
9226+
{
9227+
"format": "ops",
9228+
"label": null,
9229+
"logBase": 10,
9230+
"max": null,
9231+
"min": null,
9232+
"show": true,
9233+
"$$hashKey": "object:132"
9234+
},
9235+
{
9236+
"format": "short",
9237+
"label": null,
9238+
"logBase": 1,
9239+
"max": null,
9240+
"min": null,
9241+
"show": true,
9242+
"$$hashKey": "object:133"
9243+
}
9244+
],
9245+
"yaxis": {
9246+
"align": false,
9247+
"alignLevel": null
9248+
},
9249+
"bars": false,
9250+
"dashes": false,
9251+
"decimals": null,
9252+
"error": false,
9253+
"fillGradient": 0,
9254+
"hiddenSeries": false,
9255+
"percentage": false,
9256+
"points": false,
9257+
"stack": false,
9258+
"steppedLine": false,
9259+
"timeFrom": null,
9260+
"timeShift": null
9261+
},
9262+
{
9263+
"aliasColors": {},
9264+
"dashLength": 10,
9265+
"datasource": "tidb-cluster",
9266+
"description": "The region request from different source.",
9267+
"editable": true,
9268+
"fieldConfig": {
9269+
"defaults": {},
9270+
"overrides": []
9271+
},
9272+
"fill": 1,
9273+
"grid": {},
9274+
"gridPos": {
9275+
"h": 8,
9276+
"w": 12,
9277+
"x": 0,
9278+
"y": 143
9279+
},
9280+
"id": 907,
9281+
"legend": {
9282+
"alignAsTable": true,
9283+
"avg": false,
9284+
"current": true,
9285+
"hideEmpty": true,
9286+
"hideZero": true,
9287+
"max": true,
9288+
"min": false,
9289+
"rightSide": true,
9290+
"show": true,
9291+
"sideWidth": 300,
9292+
"total": false,
9293+
"values": true
9294+
},
9295+
"lines": true,
9296+
"linewidth": 1,
9297+
"links": [],
9298+
"nullPointMode": "null as zero",
9299+
"options": {
9300+
"alertThreshold": true
9301+
},
9302+
"paceLength": 10,
9303+
"pluginVersion": "7.5.17",
9304+
"pointradius": 5,
9305+
"renderer": "flot",
9306+
"seriesOverrides": [],
9307+
"spaceLength": 10,
9308+
"targets": [
9309+
{
9310+
"expr": "sum(rate(pd_server_region_request_cnt{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", event=\"failed\"}[1m])) by (request, caller_id, caller_component)",
9311+
"legendFormat": "{{request}}-{{caller_id}}-{{caller_component}}",
9312+
"interval": "",
9313+
"exemplar": true,
9314+
"intervalFactor": 2,
9315+
"refId": "A",
9316+
"step": 4
9317+
}
9318+
],
9319+
"thresholds": [],
9320+
"timeRegions": [],
9321+
"title": "Failed Region Request",
9322+
"tooltip": {
9323+
"msResolution": false,
9324+
"shared": true,
9325+
"sort": 0,
9326+
"value_type": "cumulative"
9327+
},
9328+
"type": "graph",
9329+
"xaxis": {
9330+
"buckets": null,
9331+
"mode": "time",
9332+
"name": null,
9333+
"show": true,
9334+
"values": []
9335+
},
9336+
"yaxes": [
9337+
{
9338+
"format": "ops",
9339+
"label": null,
9340+
"logBase": 10,
9341+
"max": null,
9342+
"min": null,
9343+
"show": true,
9344+
"$$hashKey": "object:132"
9345+
},
9346+
{
9347+
"format": "short",
9348+
"label": null,
9349+
"logBase": 1,
9350+
"max": null,
9351+
"min": null,
9352+
"show": true,
9353+
"$$hashKey": "object:133"
9354+
}
9355+
],
9356+
"yaxis": {
9357+
"align": false,
9358+
"alignLevel": null
9359+
},
9360+
"bars": false,
9361+
"dashes": false,
9362+
"decimals": null,
9363+
"error": false,
9364+
"fillGradient": 0,
9365+
"hiddenSeries": false,
9366+
"percentage": false,
9367+
"points": false,
9368+
"stack": false,
9369+
"steppedLine": false,
9370+
"timeFrom": null,
9371+
"timeShift": null
91509372
}
91519373
],
91529374
"repeat": null,

0 commit comments

Comments
 (0)