@@ -223,8 +223,8 @@ private void registerIndicesMetrics() {
223
223
catalog .registerCounter ("indices_querycache_evictions_count" , "Count of evictions in query cache" , "node" );
224
224
catalog .registerCounter ("indices_querycache_hit_count" , "Count of hits in query cache" , "node" );
225
225
catalog .registerGauge ("indices_querycache_memory_size_bytes" , "Memory usage of query cache" , "node" );
226
- catalog .registerCounter ("indices_querycache_miss_count" , "Count of misses in query cache" , "node" );
227
- catalog .registerCounter ("indices_querycache_total_count" , "Count of usages of query cache" , "node" );
226
+ catalog .registerGauge ("indices_querycache_miss_count" , "Count of misses in query cache" , "node" );
227
+ catalog .registerGauge ("indices_querycache_total_count" , "Count of usages of query cache" , "node" );
228
228
229
229
catalog .registerGauge ("indices_fielddata_memory_size_bytes" , "Memory usage of field date cache" , "node" );
230
230
catalog .registerCounter ("indices_fielddata_evictions_count" , "Count of evictions in field data cache" , "node" );
@@ -312,8 +312,8 @@ private void updateIndicesMetrics(NodeIndicesStats idx) {
312
312
catalog .setCounter ("indices_querycache_evictions_count" , idx .getQueryCache ().getEvictions (), node );
313
313
catalog .setCounter ("indices_querycache_hit_count" , idx .getQueryCache ().getHitCount (), node );
314
314
catalog .setGauge ("indices_querycache_memory_size_bytes" , idx .getQueryCache ().getMemorySizeInBytes (), node );
315
- catalog .setCounter ("indices_querycache_miss_count" , idx .getQueryCache ().getMissCount (), node );
316
- catalog .setCounter ("indices_querycache_total_count" , idx .getQueryCache ().getTotalCount (), node );
315
+ catalog .setGauge ("indices_querycache_miss_count" , idx .getQueryCache ().getMissCount (), node );
316
+ catalog .setGauge ("indices_querycache_total_count" , idx .getQueryCache ().getTotalCount (), node );
317
317
318
318
catalog .setGauge ("indices_fielddata_memory_size_bytes" , idx .getFieldData ().getMemorySizeInBytes (), node );
319
319
catalog .setCounter ("indices_fielddata_evictions_count" , idx .getFieldData ().getEvictions (), node );
0 commit comments