Uses of Class
io.prometheus.metrics.core.metrics.Histogram.Builder
Packages that use Histogram.Builder
-
Uses of Histogram.Builder in io.prometheus.metrics.core.metrics
Methods in io.prometheus.metrics.core.metrics that return Histogram.BuilderModifier and TypeMethodDescriptionstatic Histogram.BuilderHistogram.builder()static Histogram.BuilderHistogram.builder(io.prometheus.metrics.config.PrometheusProperties config) Histogram.Builder.classicExponentialUpperBounds(double start, double factor, int count) Create classic histogram buckets with exponential boundaries.Histogram.Builder.classicLinearUpperBounds(double start, double width, int count) Create classic histogram buckets with linear bucket boundaries.Histogram.Builder.classicOnly()Use the classic histogram representation only, i.e. don't maintain native histogram buckets.Histogram.Builder.classicUpperBounds(double... upperBounds) Set the upper bounds for the classic histogram buckets.Histogram.Builder.nativeInitialSchema(int nativeSchema) The schema is a number in [-4, 8] defining the resolution of the native histogram.Histogram.Builder.nativeMaxNumberOfBuckets(int nativeMaxBuckets) Limit the number of native buckets.Histogram.Builder.nativeMaxZeroThreshold(double nativeMaxZeroThreshold) Native histogram buckets get smaller and smaller the closer they get to zero.Histogram.Builder.nativeMinZeroThreshold(double nativeMinZeroThreshold) Native histogram buckets get smaller and smaller the closer they get to zero.Histogram.Builder.nativeOnly()Use the native histogram representation only, i.e. don't maintain classic histogram buckets.Histogram.Builder.nativeResetDuration(long duration, TimeUnit unit) If the histogram needed to be scaled down becausenativeMaxNumberOfBuckets(int)was exceeded, reset the histogram after a certain time interval to go back to the originalnativeInitialSchema(int).protected Histogram.BuilderHistogram.Builder.self()