82148214 },
82158215 {
82168216 "exemplar": true,
8217- "expr": "sum(rate(tiflash_storage_read_thread_counter{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", type=~\"get_cache_hit|get_cache_copy\"}[1m]))",
8218- "hide": false,
8219- "interval": "",
8220- "legendFormat": "get_cache_hit",
8221- "refId": "C"
8222- },
8223- {
8224- "exemplar": true,
8225- "expr": "sum(rate(tiflash_storage_read_thread_counter{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", type=~\"get_cache_miss|get_cache_hit|get_cache_part|get_cache_copy\"}[1m]))",
8217+ "expr": "sum(rate(tiflash_storage_column_cache_packs{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", type=~\"data_sharing_hit\"}[1m]))/sum(rate(tiflash_storage_read_thread_counter{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", type=~\"data_sharing_hit|data_sharing_miss\"}[1m]))",
82268218 "hide": false,
8219+ "instant": false,
82278220 "interval": "",
8228- "legendFormat": "get_cache_total ",
8221+ "legendFormat": "data_sharing_cache_hit_ratio ",
82298222 "refId": "B"
82308223 },
82318224 {
82328225 "exemplar": true,
8233- "expr": "sum(rate(tiflash_storage_read_thread_counter {k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", type=~\"get_cache_hit|get_cache_copy \"}[1m]))/sum(rate(tiflash_storage_read_thread_counter{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", type=~\"get_cache_miss|get_cache_hit|get_cache_part|get_cache_copy \"}[1m]))",
8234- "hide": false ,
8226+ "expr": "sum(rate(tiflash_storage_column_cache_packs {k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", type=~\"extra_column_hit \"}[1m]))/sum(rate(tiflash_storage_read_thread_counter{k8s_cluster=\"$k8s_cluster\", tidb_cluster=\"$tidb_cluster\", instance=~\"$instance\", type=~\"extra_column_hit|extra_column_miss \"}[1m]))",
8227+ "hide": true ,
82358228 "instant": false,
82368229 "interval": "",
8237- "legendFormat": "cache_hit_ratio ",
8238- "refId": "D "
8230+ "legendFormat": "extra_column_cache_hit_ratio ",
8231+ "refId": "C "
82398232 }
82408233 ],
82418234 "thresholds": [],
85448537 "id": "filterFieldsByName",
85458538 "options": {
85468539 "include": {
8547- "names": ["Time", "mark cache effectiveness"]
8540+ "names": [
8541+ "Time",
8542+ "mark cache effectiveness"
8543+ ]
85488544 }
85498545 }
85508546 }
@@ -20012,10 +20008,20 @@
2001220008 "2h",
2001320009 "1d"
2001420010 ],
20015- "time_options": ["5m", "15m", "1h", "6h", "12h", "24h", "2d", "7d", "30d"]
20011+ "time_options": [
20012+ "5m",
20013+ "15m",
20014+ "1h",
20015+ "6h",
20016+ "12h",
20017+ "24h",
20018+ "2d",
20019+ "7d",
20020+ "30d"
20021+ ]
2001620022 },
2001720023 "timezone": "",
2001820024 "title": "Test-Cluster-TiFlash-Summary",
2001920025 "uid": "SVbh2xUWk",
2002020026 "version": 1
20021- }
20027+ }
0 commit comments