Skip to content

Commit

Permalink
update grafana
Browse files Browse the repository at this point in the history
Signed-off-by: disksing <[email protected]>
  • Loading branch information
disksing authored and ti-chi-bot committed Sep 26, 2023
1 parent a04320f commit 7e717e2
Showing 1 changed file with 204 additions and 6 deletions.
210 changes: 204 additions & 6 deletions metrics/grafana/pd.json
Original file line number Diff line number Diff line change
Expand Up @@ -12113,7 +12113,7 @@
"h": 6,
"w": 12,
"x": 0,
"y": 16
"y": 34
},
"id": 1473,
"options": {
Expand Down Expand Up @@ -12166,7 +12166,107 @@
"h": 6,
"w": 12,
"x": 12,
"y": 16
"y": 34
},
"hiddenSeries": false,
"id": 1478,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.10",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"exemplar": true,
"expr": "pd_replication_dr_state{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\"}",
"instant": false,
"interval": "",
"legendFormat": "{{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "State of all instances",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transformations": [],
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_TEST-CLUSTER}",
"fieldConfig": {
"defaults": {
"unit": "short"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 40
},
"hiddenSeries": false,
"id": 1474,
Expand Down Expand Up @@ -12266,7 +12366,7 @@
"h": 6,
"w": 12,
"x": 0,
"y": 22
"y": 46
},
"hiddenSeries": false,
"id": 1475,
Expand Down Expand Up @@ -12366,7 +12466,7 @@
"h": 6,
"w": 12,
"x": 12,
"y": 22
"y": 46
},
"hiddenSeries": false,
"id": 1476,
Expand Down Expand Up @@ -12396,6 +12496,106 @@
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"exemplar": true,
"expr": "rate(pd_replication_dr_tick_total{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=\"$instance\"}[5m])",
"instant": false,
"interval": "",
"legendFormat": "{{instance}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Tick",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transformations": [],
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_TEST-CLUSTER}",
"fieldConfig": {
"defaults": {
"unit": "short"
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 40
},
"hiddenSeries": false,
"id": 1477,
"legend": {
"alignAsTable": true,
"avg": false,
"current": false,
"max": false,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.10",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"exemplar": true,
Expand Down Expand Up @@ -12427,7 +12627,6 @@
},
"yaxes": [
{
"$$hashKey": "object:793",
"format": "percentunit",
"label": null,
"logBase": 1,
Expand All @@ -12436,7 +12635,6 @@
"show": true
},
{
"$$hashKey": "object:794",
"format": "short",
"label": null,
"logBase": 1,
Expand Down

0 comments on commit 7e717e2

Please sign in to comment.