Uses of Class
io.prometheus.metrics.model.snapshots.Exemplar
Packages that use Exemplar
Package
Description
-
Uses of Exemplar in io.prometheus.metrics.core.exemplars
Fields in io.prometheus.metrics.core.exemplars declared as ExemplarModifier and TypeFieldDescriptionprivate final Exemplar[]ExemplarSampler.customExemplarsprivate final Exemplar[]ExemplarSampler.exemplars -
Uses of Exemplar in io.prometheus.metrics.expositionformats
Methods in io.prometheus.metrics.expositionformats with parameters of type ExemplarModifier and TypeMethodDescriptionprivate voidOpenMetrics2TextFormatWriter.writeScrapeTimestampAndExemplar(Writer writer, DataPointSnapshot data, Exemplar exemplar, EscapingScheme scheme) private voidOpenMetricsTextFormatWriter.writeScrapeTimestampAndExemplar(Writer writer, DataPointSnapshot data, Exemplar exemplar, EscapingScheme scheme) -
Uses of Exemplar in io.prometheus.metrics.model.snapshots
Classes in io.prometheus.metrics.model.snapshots that implement interfaces with type arguments of type ExemplarFields in io.prometheus.metrics.model.snapshots declared as ExemplarModifier and TypeFieldDescriptionprivate ExemplarCounterSnapshot.CounterDataPointSnapshot.Builder.exemplarprivate final ExemplarCounterSnapshot.CounterDataPointSnapshot.exemplarprivate ExemplarGaugeSnapshot.GaugeDataPointSnapshot.Builder.exemplarprivate final ExemplarGaugeSnapshot.GaugeDataPointSnapshot.exemplarprivate ExemplarUnknownSnapshot.UnknownDataPointSnapshot.Builder.exemplarprivate final ExemplarUnknownSnapshot.UnknownDataPointSnapshot.exemplarFields in io.prometheus.metrics.model.snapshots with type parameters of type ExemplarMethods in io.prometheus.metrics.model.snapshots that return ExemplarModifier and TypeMethodDescriptionExemplar.Builder.build()static ExemplarSnapshotEscaper.escapeExemplar(Exemplar exemplar, EscapingScheme scheme) Exemplars.get(double lowerBound, double upperBound) This is used by classic histograms to find an exemplar with a value between lowerBound and upperBound.Exemplars.get(int index) CounterSnapshot.CounterDataPointSnapshot.getExemplar()GaugeSnapshot.GaugeDataPointSnapshot.getExemplar()UnknownSnapshot.UnknownDataPointSnapshot.getExemplar()Exemplars.getLatest()Find the Exemplar with the newest timestamp.Methods in io.prometheus.metrics.model.snapshots that return types with arguments of type ExemplarMethods in io.prometheus.metrics.model.snapshots with parameters of type ExemplarModifier and TypeMethodDescriptionstatic ExemplarSnapshotEscaper.escapeExemplar(Exemplar exemplar, EscapingScheme scheme) Add an exemplar.OptionalOptionalprivate static booleanSnapshotEscaper.exemplarNeedsEscaping(Exemplar exemplar, EscapingScheme scheme) static ExemplarsCreate a new Exemplars instance.Method parameters in io.prometheus.metrics.model.snapshots with type arguments of type ExemplarModifier and TypeMethodDescriptionExemplars.Builder.exemplars(Collection<Exemplar> exemplars) Add all exemplars form the collection.static ExemplarsExemplars.of(Collection<Exemplar> exemplars) Create a new Exemplars instance.Constructors in io.prometheus.metrics.model.snapshots with parameters of type ExemplarModifierConstructorDescriptionCounterDataPointSnapshot(double value, Labels labels, Exemplar exemplar, long createdTimestampMillis) To create a newCounterSnapshot.CounterDataPointSnapshot, you can either call the constructor directly or use the Builder withCounterSnapshot.CounterDataPointSnapshot.builder().CounterDataPointSnapshot(double value, Labels labels, Exemplar exemplar, long createdTimestampMillis, long scrapeTimestampMillis) Constructor with an additional scrape timestamp.CounterDataPointSnapshot(double value, Labels labels, Exemplar exemplar, long createdTimestampMillis, long scrapeTimestampMillis, boolean internal) GaugeDataPointSnapshot(double value, Labels labels, Exemplar exemplar) To create a newGaugeSnapshot.GaugeDataPointSnapshot, you can either call the constructor directly or use the Builder withGaugeSnapshot.GaugeDataPointSnapshot.builder().GaugeDataPointSnapshot(double value, Labels labels, Exemplar exemplar, long scrapeTimestampMillis) Constructor with an additional scrape timestamp.privateGaugeDataPointSnapshot(double value, Labels labels, Exemplar exemplar, long scrapeTimestampMillis, boolean internal) UnknownDataPointSnapshot(double value, Labels labels, Exemplar exemplar) To create a newUnknownSnapshot.UnknownDataPointSnapshot, you can either call the constructor directly or use the Builder withUnknownSnapshot.UnknownDataPointSnapshot.builder().UnknownDataPointSnapshot(double value, Labels labels, Exemplar exemplar, long scrapeTimestampMillis) Constructor with an additional scrape timestamp.privateUnknownDataPointSnapshot(double value, Labels labels, Exemplar exemplar, long scrapeTimestampMillis, boolean internal) Constructor parameters in io.prometheus.metrics.model.snapshots with type arguments of type Exemplar