Uses of Class
io.prometheus.metrics.model.snapshots.Exemplars
Packages that use Exemplars
-
Uses of Exemplars in io.prometheus.metrics.core.exemplars
Methods in io.prometheus.metrics.core.exemplars that return Exemplars -
Uses of Exemplars in io.prometheus.metrics.model.snapshots
Fields in io.prometheus.metrics.model.snapshots declared as ExemplarsModifier and TypeFieldDescriptionstatic final Exemplars
Exemplars.EMPTY
EMPTY means no Exemplars.Methods in io.prometheus.metrics.model.snapshots that return ExemplarsModifier 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.Constructors in io.prometheus.metrics.model.snapshots with parameters of type ExemplarsModifierConstructorDescriptionHistogramDataPointSnapshot
(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.