metrics: tidb_statistics_auto_analyze_total should be int (#51050)

close pingcap/tidb#51051
This commit is contained in:
Weizhen Wang
2024-02-07 18:52:15 +08:00
committed by GitHub
parent 4c749f052b
commit 3478bd5ef7

View File

@ -15307,7 +15307,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": []
@ -15349,7 +15349,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}}",
@ -15361,7 +15361,7 @@
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Auto Analyze QPS",
"title": "Auto Analyze Queries Per Minute",
"tooltip": {
"shared": true,
"sort": 0,