diff --git a/metrics/grafana/tidb.json b/metrics/grafana/tidb.json index 9e2f362c74c84..1f05c7c5dacfe 100644 --- a/metrics/grafana/tidb.json +++ b/metrics/grafana/tidb.json @@ -13416,7 +13416,11 @@ "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": [] + }, "fill": 1, "gridPos": { "h": 7, @@ -13448,7 +13452,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}}", @@ -13460,7 +13464,7 @@ "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "Auto Analyze QPS", + "title": "Auto Analyze Queries Per Minute", "tooltip": { "shared": true, "sort": 0,