@@ -175,8 +175,12 @@ protected Table getTableWithHeader(final RestRequest request) {
175
175
176
176
table .addCell ("query_cache.memory_size" , "alias:qcm,queryCacheMemory;default:false;text-align:right;desc:used query cache" );
177
177
table .addCell ("query_cache.evictions" , "alias:qce,queryCacheEvictions;default:false;text-align:right;desc:query cache evictions" );
178
+ table .addCell ("query_cache.hit_count" , "alias:qchc,queryCacheHitCount;default:false;text-align:right;desc:query cache hit counts" );
179
+ table .addCell ("query_cache.miss_count" ,
180
+ "alias:qcmc,queryCacheMissCount;default:false;text-align:right;desc:query cache miss counts" );
178
181
179
- table .addCell ("request_cache.memory_size" , "alias:rcm,requestCacheMemory;default:false;text-align:right;desc:used request cache" );
182
+ table .addCell ("request_cache.memory_size" ,
183
+ "alias:rcm,requestCacheMemory;default:false;text-align:right;desc:used request cache" );
180
184
table .addCell ("request_cache.evictions" ,
181
185
"alias:rce,requestCacheEvictions;default:false;text-align:right;desc:request cache evictions" );
182
186
table .addCell ("request_cache.hit_count" ,
@@ -365,6 +369,8 @@ Table buildTable(boolean fullId, RestRequest req, ClusterStateResponse state, No
365
369
QueryCacheStats fcStats = indicesStats == null ? null : indicesStats .getQueryCache ();
366
370
table .addCell (fcStats == null ? null : fcStats .getMemorySize ());
367
371
table .addCell (fcStats == null ? null : fcStats .getEvictions ());
372
+ table .addCell (fcStats == null ? null : fcStats .getHitCount ());
373
+ table .addCell (fcStats == null ? null : fcStats .getMissCount ());
368
374
369
375
RequestCacheStats qcStats = indicesStats == null ? null : indicesStats .getRequestCache ();
370
376
table .addCell (qcStats == null ? null : qcStats .getMemorySize ());
0 commit comments