emit cache timeouts metric

This commit is contained in:
xvrl 2012-12-06 11:41:35 -08:00
parent 9b8037b0a0
commit c11334934e
1 changed files with 1 additions and 0 deletions

View File

@ -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()));
}
}