Skip to content

Commit

Permalink
This is an automated cherry-pick of pingcap#51050
Browse files Browse the repository at this point in the history
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
  • Loading branch information
hawkingrei authored and ti-chi-bot committed Feb 7, 2024
1 parent 8f2144a commit fd6ae32
Showing 1 changed file with 10 additions and 2 deletions.
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

0 comments on commit fd6ae32

Please sign in to comment.