Uses of Class
io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
Packages that use NativeHistogramBuckets
-
Uses of NativeHistogramBuckets in io.prometheus.metrics.model.snapshots
Fields in io.prometheus.metrics.model.snapshots declared as NativeHistogramBucketsModifier and TypeFieldDescriptionstatic final NativeHistogramBuckets
NativeHistogramBuckets.EMPTY
Methods in io.prometheus.metrics.model.snapshots that return NativeHistogramBucketsModifier and TypeMethodDescriptionNativeHistogramBuckets.Builder.build()
HistogramSnapshot.HistogramDataPointSnapshot.getNativeBucketsForNegativeValues()
Will return garbage ifHistogramSnapshot.HistogramDataPointSnapshot.hasNativeHistogramData()
isfalse
.HistogramSnapshot.HistogramDataPointSnapshot.getNativeBucketsForPositiveValues()
Will return garbage ifHistogramSnapshot.HistogramDataPointSnapshot.hasNativeHistogramData()
isfalse
.static NativeHistogramBuckets
NativeHistogramBuckets.of
(int[] bucketIndexes, long[] counts) To create a newNativeHistogramBuckets
instance, you can either use one of the staticof(...)
methods, or usebuilder()
.static NativeHistogramBuckets
To create a newNativeHistogramBuckets
instance, you can either use one of the staticof(...)
methods, or usebuilder()
.Methods in io.prometheus.metrics.model.snapshots with parameters of type NativeHistogramBucketsModifier and TypeMethodDescriptionHistogramSnapshot.HistogramDataPointSnapshot.Builder.nativeBucketsForNegativeValues
(NativeHistogramBuckets bucketsForNegativeValues) HistogramSnapshot.HistogramDataPointSnapshot.Builder.nativeBucketsForPositiveValues
(NativeHistogramBuckets bucketsForPositiveValues) Constructors in io.prometheus.metrics.model.snapshots with parameters of type NativeHistogramBucketsModifierConstructorDescriptionHistogramDataPointSnapshot
(int nativeSchema, long nativeZeroCount, double nativeZeroThreshold, NativeHistogramBuckets nativeBucketsForPositiveValues, NativeHistogramBuckets nativeBucketsForNegativeValues, double sum, Labels labels, Exemplars exemplars, long createdTimestampMillis) Constructor for native histograms (as opposed to classic 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.