metrics/grafana: bring back the plan cache miss panel (#36081)

close pingcap/tidb#36079
This commit is contained in:
tiancaiamao
2022-07-13 15:37:05 +08:00
committed by GitHub
parent 0e13d5d009
commit 523da29b10

View File

@ -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
}
}