Skip to content

Commit

Permalink
metrics: tidb_statistics_auto_analyze_total should be int (#51050) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Feb 8, 2024
1 parent 2395616 commit 1e825d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/metrics/grafana/tidb.json
Original file line number Diff line number Diff line change
Expand Up @@ -14545,7 +14545,7 @@
"dashLength": 10,
"dashes": false,
"datasource": "${DS_TEST-CLUSTER}",
"description": "TiDB auto analyze query per second",
"description": "TiDB auto analyze query per minute",
"fieldConfig": {
"defaults": {},
"overrides": []
Expand Down Expand Up @@ -14587,7 +14587,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 @@ -14599,7 +14599,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 1e825d3

Please sign in to comment.