Skip to content

Commit

Permalink
*: support showing forwarded status in Grafana (#23638)
Browse files Browse the repository at this point in the history
  • Loading branch information
rleungx authored Apr 16, 2021
1 parent 4c49754 commit ffe674c
Showing 1 changed file with 92 additions and 2 deletions.
94 changes: 92 additions & 2 deletions metrics/grafana/tidb.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"editable": true,
"gnetId": null,
"graphTooltip": 1,
"id": null,
"id": 28,
"iteration": 1617019008967,
"links": [],
"panels": [
{
Expand Down Expand Up @@ -802,7 +803,6 @@
},
"yaxes": [
{
"$$hashKey": "object:518",
"format": "s",
"label": null,
"logBase": 2,
Expand Down Expand Up @@ -8207,6 +8207,96 @@
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_TEST-CLUSTER}",
"decimals": null,
"fill": 1,
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
"y": 23
},
"id": 222,
"legend": {
"alignAsTable": false,
"avg": false,
"current": false,
"hideEmpty": true,
"hideZero": true,
"max": false,
"min": false,
"rightSide": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "pd_client_request_forwarded_status",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{delegate}}-{{host}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Request forwarded status",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "none",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"repeat": null,
Expand Down

0 comments on commit ffe674c

Please sign in to comment.