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