Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Currently the stats providers implementation doesn't provide caching ability for counters/stats loggers for different metrics. if the underlying stats library (e.g. code hale, ostrich) doesn't provide that, the client would end up creating different instances for same metric name, which would introduce bad gc behavior.
it would be better that bookkeeper-stats-provider could address this in high level, rather than ask individual stats provider implementing similar caching behavior.