Create and register a counter inside the underlying Metrics library
Create and register a counter inside the underlying Metrics library
Create and register a stat (histogram) inside the underlying Metrics library
Create and register a stat (histogram) inside the underlying Metrics library
(Since version 2017-6-16) Use vararg counter() instead
(Since version 2017-6-16) Use vararg stat() instead
The standard implementation of StatsReceiver, optimized to be high precision and low overhead.
Note: Histogram is configured to store events in 60 second snapshots. It means that when you add a value, you need to wait at most 20 seconds before this value will be aggregated in the exported metrics.