Class PercentileHistogramBuckets
- java.lang.Object
-
- org.forgerock.monitoring.api.instrument.histogram.PercentileHistogramBuckets
-
public class PercentileHistogramBuckets extends Object
Generator for a set of histogram buckets intended for use by a monitoring system that supports aggregable percentile approximations such as Prometheus'histogram_quantiles
or Atlas':percentiles
.
-
-
Constructor Summary
Constructors Constructor Description PercentileHistogramBuckets()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NavigableSet<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.
-
-
-
Method Detail
-
buckets
public static NavigableSet<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.
-
-