8214
8214
},
8215
8215
{
8216
8216
"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]))",
8226
8218
"hide": false,
8219
+ "instant": false,
8227
8220
"interval": "",
8228
- "legendFormat": "get_cache_total ",
8221
+ "legendFormat": "data_sharing_cache_hit_ratio ",
8229
8222
"refId": "B"
8230
8223
},
8231
8224
{
8232
8225
"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 ,
8235
8228
"instant": false,
8236
8229
"interval": "",
8237
- "legendFormat": "cache_hit_ratio ",
8238
- "refId": "D "
8230
+ "legendFormat": "extra_column_cache_hit_ratio ",
8231
+ "refId": "C "
8239
8232
}
8240
8233
],
8241
8234
"thresholds": [],
8544
8537
"id": "filterFieldsByName",
8545
8538
"options": {
8546
8539
"include": {
8547
- "names": ["Time", "mark cache effectiveness"]
8540
+ "names": [
8541
+ "Time",
8542
+ "mark cache effectiveness"
8543
+ ]
8548
8544
}
8549
8545
}
8550
8546
}
@@ -20012,10 +20008,20 @@
20012
20008
"2h",
20013
20009
"1d"
20014
20010
],
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
+ ]
20016
20022
},
20017
20023
"timezone": "",
20018
20024
"title": "Test-Cluster-TiFlash-Summary",
20019
20025
"uid": "SVbh2xUWk",
20020
20026
"version": 1
20021
- }
20027
+ }
0 commit comments