Uses of Class
io.prometheus.metrics.model.snapshots.Exemplars
-
Uses of Exemplars in io.prometheus.metrics.core.exemplars
-
Uses of Exemplars in io.prometheus.metrics.model.snapshots
Modifier and TypeFieldDescriptionstatic final Exemplars
Exemplars.EMPTY
EMPTY means no Exemplars.Modifier and TypeMethodDescriptionExemplars.Builder.build()
DistributionDataPointSnapshot.getExemplars()
May beEMPTY
, but will never benull
.static Exemplars
Create a new Exemplars instance.static Exemplars
Exemplars.of
(Collection<Exemplar> exemplars) Create a new Exemplars instance.ModifierConstructorDescriptionHistogramDataPointSnapshot
(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, 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.SummaryDataPointSnapshot
(long count, double sum, Quantiles quantiles, Labels labels, Exemplars exemplars, long createdTimestampMillis) To create a newSummarySnapshot.SummaryDataPointSnapshot
, you can either call the constructor directly or use the Builder withSummarySnapshot.SummaryDataPointSnapshot.builder()
.SummaryDataPointSnapshot
(long count, double sum, Quantiles quantiles, Labels labels, Exemplars exemplars, long createdTimestampMillis, long scrapeTimestampMillis) Constructor with an additional scrape timestamp.