Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions metrics/grafana/tidb.json
Original file line number Diff line number Diff line change
Expand Up @@ -13513,7 +13513,15 @@
"dashLength": 10,
"dashes": false,
"datasource": "${DS_TEST-CLUSTER}",
<<<<<<< HEAD:metrics/grafana/tidb.json
"description": "TiDB auto analyze query per second",
=======
"description": "TiDB auto analyze query per minute",
"fieldConfig": {
"defaults": {},
"overrides": []
},
>>>>>>> 3478bd5ef71 (metrics: tidb_statistics_auto_analyze_total should be int (#51050)):pkg/metrics/grafana/tidb.json
"fill": 1,
"gridPos": {
"h": 7,
Expand Down Expand Up @@ -13545,7 +13553,7 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(tidb_statistics_auto_analyze_total{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (type)",
"expr": "sum(increase(tidb_statistics_auto_analyze_total{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (type)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "{{type}}",
Expand All @@ -13557,7 +13565,7 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Auto Analyze QPS",
"title": "Auto Analyze Queries Per Minute",
"tooltip": {
"shared": true,
"sort": 0,
Expand Down