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 ClassicHistogramBuckets
ClassicHistogramBuckets.EMPTY
Used 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 anIllegalArgumentException
if theDouble.POSITIVE_INFINITY
bucket is missing.HistogramSnapshot.HistogramDataPointSnapshot.getClassicBuckets()
Will return garbage ifHistogramSnapshot.HistogramDataPointSnapshot.hasClassicHistogramData()
isfalse
.static ClassicHistogramBuckets
ClassicHistogramBuckets.of
(double[] upperBounds, long[] counts) To create newClassicHistogramBuckets
, you can either use one of the staticof(...)
methods, or usebuilder()
.static ClassicHistogramBuckets
To create newClassicHistogramBuckets
, you can either use one of the staticof(...)
methods, or usebuilder()
.static ClassicHistogramBuckets
To create newClassicHistogramBuckets
, you can either use one of the staticof(...)
methods, or usebuilder()
.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.