mirror of https://github.com/apache/druid.git
emit cache timeouts metric
This commit is contained in:
parent
9b8037b0a0
commit
c11334934e
|
@ -66,5 +66,6 @@ public class CacheMonitor extends AbstractMonitor
|
|||
emitter.emit(builder.build(String.format("%s/evictions", metricPrefix), cacheStats.getNumEvictions()));
|
||||
emitter.emit(builder.build(String.format("%s/hitRate", metricPrefix), cacheStats.hitRate()));
|
||||
emitter.emit(builder.build(String.format("%s/averageBytes", metricPrefix), cacheStats.averageBytes()));
|
||||
emitter.emit(builder.build(String.format("%s/timeouts", metricPrefix), cacheStats.getNumTimeouts()));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue