public class PercentileHistogramBuckets
extends java.lang.Object
histogram_quantiles
or Atlas' :percentiles
.Constructor and Description |
---|
PercentileHistogramBuckets() |
Modifier and Type | Method and Description |
---|---|
static java.util.NavigableSet<java.lang.Long> |
buckets(HistogramConfig histogramConfig)
Pick values from a static set of percentile buckets that yields a decent error bound on most real world
timers and distribution summaries because monitoring systems like Prometheus require us to report the
same buckets at every interval, regardless of where actual samples have been observed.
|
public static java.util.NavigableSet<java.lang.Long> buckets(HistogramConfig histogramConfig)