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