diff --git a/metrics/grafana/tidb.json b/metrics/grafana/tidb.json index e03f651459..7b15d3d6bb 100644 --- a/metrics/grafana/tidb.json +++ b/metrics/grafana/tidb.json @@ -6904,7 +6904,7 @@ "dashes": false, "datasource": "${DS_TEST-CLUSTER}", "decimals": null, - "description": "TiDB plan cache hit total", + "description": "TiDB plan cache miss total", "editable": true, "error": false, "fieldConfig": { @@ -6955,7 +6955,7 @@ "steppedLine": false, "targets": [ { - "expr": "sum(rate(tidb_server_plan_cache_total{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (type)", + "expr": "sum(rate(tidb_server_plan_cache_miss_total{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\"}[1m])) by (type)", "format": "time_series", "intervalFactor": 2, "legendFormat": "{{type}}", @@ -6967,7 +6967,7 @@ "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "Queries Using Plan Cache OPS", + "title": "Plan Cache Miss OPS", "tooltip": { "msResolution": false, "shared": true, @@ -16119,4 +16119,4 @@ "title": "Test-Cluster-TiDB", "uid": "000000011", "version": 1 -} \ No newline at end of file +}