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 ExemplarsExemplars.EMPTYEMPTY means no Exemplars.Methods in io.prometheus.metrics.model.snapshots that return ExemplarsModifier and TypeMethodDescriptionExemplars.Builder.build()static ExemplarsSnapshotEscaper.escapeExemplars(Exemplars exemplars, EscapingScheme scheme) DistributionDataPointSnapshot.getExemplars()May beExemplars.EMPTY, but will never benull.static ExemplarsCreate a new Exemplars instance.static ExemplarsExemplars.of(Collection<Exemplar> exemplars) Create a new Exemplars instance.Methods in io.prometheus.metrics.model.snapshots with parameters of type ExemplarsModifier and TypeMethodDescriptionstatic ExemplarsSnapshotEscaper.escapeExemplars(Exemplars exemplars, EscapingScheme scheme) 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.