Uses of Class
io.prometheus.metrics.model.snapshots.Exemplars
Packages that use Exemplars
-
Uses of Exemplars in io.prometheus.metrics.model.snapshots
Fields in io.prometheus.metrics.model.snapshots declared as ExemplarsModifier and TypeFieldDescriptionstatic final ExemplarsExemplars.EMPTYEMPTY means no Exemplars.protected ExemplarsDistributionDataPointSnapshot.Builder.exemplarsprotected ExemplarsDistributionDataPointSnapshot.Builder.exemplarsMethods in io.prometheus.metrics.model.snapshots that return ExemplarsModifier and TypeMethodDescriptionExemplars.Builder.build()DistributionDataPointSnapshot.getExemplars()May beEMPTY, but will never benull.static ExemplarsCreate a new Exemplars instance.static ExemplarsExemplars.of(Collection<Exemplar> exemplars) Create a new Exemplars instance.Constructors in io.prometheus.metrics.model.snapshots with parameters of type ExemplarsModifierConstructorDescriptionprotectedDistributionDataPointSnapshot(long count, double sum, Exemplars exemplars, Labels labels, long createdTimestampMillis, long scrapeTimestampMillis) See JavaDoc of the child classes.HistogramDataPointSnapshot(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.