Skip to content

Commit 87edc29

Browse files
authored
chore(monitor-snapshot/master): update files from upstreams (#719)
1 parent 620dede commit 87edc29

2 files changed

Lines changed: 220 additions & 0 deletions

File tree

466 Bytes
Binary file not shown.

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

Lines changed: 220 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8927,6 +8927,226 @@
89278927
"align": false,
89288928
"alignLevel": null
89298929
}
8930+
},
8931+
{
8932+
"aliasColors": {},
8933+
"dashLength": 10,
8934+
"datasource": "tidb-cluster",
8935+
"description": "The rate of received each kind of gRPC commands",
8936+
"editable": true,
8937+
"fill": 1,
8938+
"grid": {},
8939+
"gridPos": {
8940+
"h": 8,
8941+
"w": 12,
8942+
"x": 12,
8943+
"y": 127
8944+
},
8945+
"id": 904,
8946+
"legend": {
8947+
"alignAsTable": true,
8948+
"avg": false,
8949+
"current": true,
8950+
"hideEmpty": true,
8951+
"hideZero": true,
8952+
"max": true,
8953+
"min": false,
8954+
"rightSide": true,
8955+
"show": true,
8956+
"sideWidth": 300,
8957+
"total": false,
8958+
"values": true
8959+
},
8960+
"lines": true,
8961+
"linewidth": 1,
8962+
"links": [],
8963+
"nullPointMode": "null as zero",
8964+
"paceLength": 10,
8965+
"pointradius": 5,
8966+
"renderer": "flot",
8967+
"seriesOverrides": [],
8968+
"spaceLength": 10,
8969+
"targets": [
8970+
{
8971+
"expr": "sum(rate(grpc_server_msg_received_total{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (instance, grpc_method)",
8972+
"legendFormat": "{{instance}}-{{grpc_method}}",
8973+
"interval": "",
8974+
"exemplar": true,
8975+
"intervalFactor": 2,
8976+
"refId": "A",
8977+
"step": 4
8978+
}
8979+
],
8980+
"thresholds": [],
8981+
"timeRegions": [],
8982+
"title": "gRPC Received commands rate",
8983+
"tooltip": {
8984+
"msResolution": false,
8985+
"shared": true,
8986+
"sort": 0,
8987+
"value_type": "cumulative"
8988+
},
8989+
"type": "graph",
8990+
"xaxis": {
8991+
"buckets": null,
8992+
"mode": "time",
8993+
"name": null,
8994+
"show": true,
8995+
"values": []
8996+
},
8997+
"yaxes": [
8998+
{
8999+
"format": "ops",
9000+
"label": null,
9001+
"logBase": 10,
9002+
"max": null,
9003+
"min": null,
9004+
"show": true
9005+
},
9006+
{
9007+
"format": "short",
9008+
"label": null,
9009+
"logBase": 1,
9010+
"max": null,
9011+
"min": null,
9012+
"show": true
9013+
}
9014+
],
9015+
"yaxis": {
9016+
"align": false,
9017+
"alignLevel": null
9018+
},
9019+
"options": {
9020+
"alertThreshold": true
9021+
},
9022+
"fieldConfig": {
9023+
"defaults": {},
9024+
"overrides": []
9025+
},
9026+
"pluginVersion": "7.5.17",
9027+
"bars": false,
9028+
"dashes": false,
9029+
"decimals": null,
9030+
"error": false,
9031+
"percentage": false,
9032+
"points": false,
9033+
"stack": false,
9034+
"steppedLine": false,
9035+
"timeFrom": null,
9036+
"timeShift": null,
9037+
"fillGradient": 0,
9038+
"hiddenSeries": false
9039+
},
9040+
{
9041+
"aliasColors": {},
9042+
"dashLength": 10,
9043+
"datasource": "tidb-cluster",
9044+
"description": "The error rate of handled gRPC commands.Note: It can't catch the error hide in the header, like this https://github.com/tikv/pd/blob/2d970a619a8917c35d306f401326141481c133e0/server/grpc_service.go#L2071",
9045+
"editable": true,
9046+
"fieldConfig": {
9047+
"defaults": {},
9048+
"overrides": []
9049+
},
9050+
"fill": 1,
9051+
"grid": {},
9052+
"gridPos": {
9053+
"h": 8,
9054+
"w": 12,
9055+
"x": 0,
9056+
"y": 135
9057+
},
9058+
"id": 905,
9059+
"legend": {
9060+
"alignAsTable": true,
9061+
"avg": false,
9062+
"current": true,
9063+
"hideEmpty": true,
9064+
"hideZero": true,
9065+
"max": true,
9066+
"min": false,
9067+
"rightSide": true,
9068+
"show": true,
9069+
"sideWidth": 300,
9070+
"total": false,
9071+
"values": true
9072+
},
9073+
"lines": true,
9074+
"linewidth": 1,
9075+
"links": [],
9076+
"nullPointMode": "null as zero",
9077+
"options": {
9078+
"alertThreshold": true
9079+
},
9080+
"paceLength": 10,
9081+
"pluginVersion": "7.5.17",
9082+
"pointradius": 5,
9083+
"renderer": "flot",
9084+
"seriesOverrides": [],
9085+
"spaceLength": 10,
9086+
"targets": [
9087+
{
9088+
"expr": "sum(rate(grpc_server_handled_total{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", grpc_type=\"unary\", grpc_code!=\"OK\"}[1m])) by (grpc_method)",
9089+
"legendFormat": "{{grpc_method}}",
9090+
"interval": "",
9091+
"exemplar": true,
9092+
"intervalFactor": 2,
9093+
"refId": "A",
9094+
"step": 4
9095+
}
9096+
],
9097+
"thresholds": [],
9098+
"timeRegions": [],
9099+
"title": "gRPC Error rate",
9100+
"tooltip": {
9101+
"msResolution": false,
9102+
"shared": true,
9103+
"sort": 0,
9104+
"value_type": "cumulative"
9105+
},
9106+
"type": "graph",
9107+
"xaxis": {
9108+
"buckets": null,
9109+
"mode": "time",
9110+
"name": null,
9111+
"show": true,
9112+
"values": []
9113+
},
9114+
"yaxes": [
9115+
{
9116+
"format": "ops",
9117+
"label": null,
9118+
"logBase": 10,
9119+
"max": null,
9120+
"min": null,
9121+
"show": true,
9122+
"$$hashKey": "object:132"
9123+
},
9124+
{
9125+
"format": "short",
9126+
"label": null,
9127+
"logBase": 1,
9128+
"max": null,
9129+
"min": null,
9130+
"show": true,
9131+
"$$hashKey": "object:133"
9132+
}
9133+
],
9134+
"yaxis": {
9135+
"align": false,
9136+
"alignLevel": null
9137+
},
9138+
"bars": false,
9139+
"dashes": false,
9140+
"decimals": null,
9141+
"error": false,
9142+
"fillGradient": 0,
9143+
"hiddenSeries": false,
9144+
"percentage": false,
9145+
"points": false,
9146+
"stack": false,
9147+
"steppedLine": false,
9148+
"timeFrom": null,
9149+
"timeShift": null
89309150
}
89319151
],
89329152
"repeat": null,

0 commit comments

Comments
 (0)