Uses of Class
io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
Packages that use ClassicHistogramBuckets
-
Uses of ClassicHistogramBuckets in io.prometheus.metrics.model.snapshots
Fields in io.prometheus.metrics.model.snapshots declared as ClassicHistogramBucketsModifier and TypeFieldDescriptionstatic final ClassicHistogramBucketsClassicHistogramBuckets.EMPTYUsed in native histograms to indicate that no classic histogram buckets are present.Methods in io.prometheus.metrics.model.snapshots that return ClassicHistogramBucketsModifier and TypeMethodDescriptionClassicHistogramBuckets.Builder.build()Will throw anIllegalArgumentExceptionif theDouble.POSITIVE_INFINITYbucket is missing.HistogramSnapshot.HistogramDataPointSnapshot.getClassicBuckets()Will return garbage ifHistogramSnapshot.HistogramDataPointSnapshot.hasClassicHistogramData()isfalse.static ClassicHistogramBucketsClassicHistogramBuckets.of(double[] upperBounds, long[] counts) To create newClassicHistogramBuckets, you can either use one of the staticof(...)methods, or useClassicHistogramBuckets.builder().static ClassicHistogramBucketsTo create newClassicHistogramBuckets, you can either use one of the staticof(...)methods, or useClassicHistogramBuckets.builder().static ClassicHistogramBucketsTo create newClassicHistogramBuckets, you can either use one of the staticof(...)methods, or useClassicHistogramBuckets.builder().Methods in io.prometheus.metrics.model.snapshots with parameters of type ClassicHistogramBucketsModifier and TypeMethodDescriptionHistogramSnapshot.HistogramDataPointSnapshot.Builder.classicHistogramBuckets(ClassicHistogramBuckets classicBuckets) Constructors in io.prometheus.metrics.model.snapshots with parameters of type ClassicHistogramBucketsModifierConstructorDescriptionHistogramDataPointSnapshot(ClassicHistogramBuckets classicBuckets, double sum, Labels labels, Exemplars exemplars, long createdTimestampMillis) Constructor for classic histograms (as opposed to native histograms).HistogramDataPointSnapshot(ClassicHistogramBuckets classicBuckets, int nativeSchema, long nativeZeroCount, double nativeZeroThreshold, NativeHistogramBuckets nativeBucketsForPositiveValues, NativeHistogramBuckets nativeBucketsForNegativeValues, double sum, Labels labels, Exemplars exemplars, long createdTimestampMillis) Constructor for a histogram with both, classic and native data.HistogramDataPointSnapshot(ClassicHistogramBuckets classicBuckets, int nativeSchema, long nativeZeroCount, double nativeZeroThreshold, NativeHistogramBuckets nativeBucketsForPositiveValues, NativeHistogramBuckets nativeBucketsForNegativeValues, double sum, Labels labels, Exemplars exemplars, long createdTimestampMillis, long scrapeTimestampMillis) Constructor with an additional scrape timestamp.