A {@link Timer} that provides statistics.
The statistics are collected periodically and are published according to the configuration specified by the user using a {@link com.netflix.servo.stats.StatsConfig} object. Pleasemake sure that the sampleSize corresponds to roughly the number of samples expected in a reporting interval. While the statistics collected are accurate for this machine they will not be correct if they are aggregated across groups of machines. If that is an expected use-case a better approach is to use buckets that correspond to different times. For example you might have a counter that tracks how many calls took < 20ms, one for [ 20ms, 500ms ], and one for > 500ms. This bucketing approach can be easily aggregated. See {@link com.netflix.servo.monitor.BucketTimer}