public static class MatsMicrometerInterceptor.SuggestedTimingHistogramsMeterFilter
extends java.lang.Object
implements io.micrometer.core.instrument.config.MeterFilter
MeterFilter
that applies a hopefully reasonable histogram to all timing meters. The timings are split
up into two sets, "large" and "small" timings, based on what a reasonable span of timings should be for the
different meters: Small is 0.15ms to 5 seconds, large is 1.5 ms to 50 seconds. The buckets are spaced "circa 3x
exponentially", as such: [.. 5, 15, 50, 150, 500 ..]. Both sets have 10 buckets.Constructor and Description |
---|
SuggestedTimingHistogramsMeterFilter() |
Modifier and Type | Method and Description |
---|---|
io.micrometer.core.instrument.distribution.DistributionStatisticConfig |
configure(io.micrometer.core.instrument.Meter.Id id,
io.micrometer.core.instrument.distribution.DistributionStatisticConfig config) |
static double |
ms(double ms) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, accept, accept, acceptNameStartsWith, commonTags, deny, deny, denyNameStartsWith, denyUnless, ignoreTags, map, maxExpected, maxExpected, maxExpected, maximumAllowableMetrics, maximumAllowableTags, minExpected, minExpected, minExpected, renameTag, replaceTagValues
public SuggestedTimingHistogramsMeterFilter()
public static double ms(double ms)
public io.micrometer.core.instrument.distribution.DistributionStatisticConfig configure(io.micrometer.core.instrument.Meter.Id id, io.micrometer.core.instrument.distribution.DistributionStatisticConfig config)
configure
in interface io.micrometer.core.instrument.config.MeterFilter