Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- add(String, String) - Method in class io.prometheus.metrics.model.snapshots.Labels
-
Create a new Labels instance containing the labels of this and the label passed as name and value.
- ALLOW_ALL - Static variable in class io.prometheus.metrics.model.registry.MetricNameFilter
-
For convenience, a filter that allows all names.
- AMPERES - Static variable in class io.prometheus.metrics.model.snapshots.Unit
B
- bucket(double, long) - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets.Builder
-
Must be called at least once for the
Double.POSITIVE_INFINITYbucket. - bucket(int, long) - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets.Builder
-
Add a native histogram bucket.
- build() - Method in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets.Builder
-
Will throw an
IllegalArgumentExceptionif theDouble.POSITIVE_INFINITYbucket is missing. - build() - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.Exemplars.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.InfoSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.InfoSnapshot.InfoDataPointSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.Labels.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshots.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.Quantiles.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot.Builder
- builder() - Static method in class io.prometheus.metrics.model.registry.MetricNameFilter
- builder() - Static method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
-
To create new
ClassicHistogramBuckets, you can either use one of the staticof(...)methods, or usebuilder(). - builder() - Static method in class io.prometheus.metrics.model.snapshots.CounterSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.Exemplar
- builder() - Static method in class io.prometheus.metrics.model.snapshots.Exemplars
- builder() - Static method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.InfoSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.InfoSnapshot.InfoDataPointSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.Labels
- builder() - Static method in class io.prometheus.metrics.model.snapshots.MetricSnapshots
- builder() - Static method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- builder() - Static method in class io.prometheus.metrics.model.snapshots.Quantiles
- builder() - Static method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.SummarySnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.MetricSnapshot.Builder
- buildMetadata() - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot.Builder
- BYTES - Static variable in class io.prometheus.metrics.model.snapshots.Unit
C
- CELSIUS - Static variable in class io.prometheus.metrics.model.snapshots.Unit
- CLASSIC_HISTOGRAM - Static variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot
- ClassicHistogramBucket - Class in io.prometheus.metrics.model.snapshots
-
Helper class for iterating over
ClassicHistogramBuckets. - ClassicHistogramBucket(double, long) - Constructor for class io.prometheus.metrics.model.snapshots.ClassicHistogramBucket
- classicHistogramBuckets(ClassicHistogramBuckets) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- ClassicHistogramBuckets - Class in io.prometheus.metrics.model.snapshots
-
Immutable container for histogram buckets with fixed bucket boundaries.
- ClassicHistogramBuckets.Builder - Class in io.prometheus.metrics.model.snapshots
- clear() - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
- collect() - Method in interface io.prometheus.metrics.model.registry.Collector
-
Called when the Prometheus server scrapes metrics.
- collect() - Method in interface io.prometheus.metrics.model.registry.MultiCollector
-
Called when the Prometheus server scrapes metrics.
- collect(PrometheusScrapeRequest) - Method in interface io.prometheus.metrics.model.registry.Collector
-
Provides Collector with the details of the request issued by Prometheus to allow multi-target pattern implementation Override to implement request dependent logic to provide MetricSnapshot
- collect(PrometheusScrapeRequest) - Method in interface io.prometheus.metrics.model.registry.MultiCollector
-
Provides Collector with the details of the request issued by Prometheus to allow multi-target pattern implementation Override to implement request dependent logic to provide MetricSnapshot
- collect(Predicate<String>) - Method in interface io.prometheus.metrics.model.registry.Collector
- collect(Predicate<String>) - Method in interface io.prometheus.metrics.model.registry.MultiCollector
-
Like
MultiCollector.collect(), but returns only the snapshots whereincludedNames.test(name)istrue. - collect(Predicate<String>, PrometheusScrapeRequest) - Method in interface io.prometheus.metrics.model.registry.Collector
-
Like
Collector.collect(Predicate), but with support for multi-target pattern. - collect(Predicate<String>, PrometheusScrapeRequest) - Method in interface io.prometheus.metrics.model.registry.MultiCollector
-
Like
MultiCollector.collect(Predicate), but with support for multi-target pattern. - Collector - Interface in io.prometheus.metrics.model.registry
-
To be registered with the Prometheus collector registry.
- compareTo(ClassicHistogramBucket) - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBucket
-
For sorting a list of buckets by upper bound.
- compareTo(Label) - Method in class io.prometheus.metrics.model.snapshots.Label
- compareTo(Labels) - Method in class io.prometheus.metrics.model.snapshots.Labels
- contains(String) - Method in class io.prometheus.metrics.model.snapshots.Labels
-
Test if these labels contain a specific label name.
- containsMetricName(String) - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshots.Builder
- count - Variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- count(long) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
-
Count can be explicitly set on summaries (this is a public method for summary metrics), and it is set implicitly on histograms (derived from the bucket counts).
- count(long) - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot.Builder
- CounterDataPointSnapshot(double, Labels, Exemplar, long) - Constructor for class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot
-
To create a new
CounterSnapshot.CounterDataPointSnapshot, you can either call the constructor directly or use the Builder withCounterSnapshot.CounterDataPointSnapshot.builder(). - CounterDataPointSnapshot(double, Labels, Exemplar, long, long) - Constructor for class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot
-
Constructor with an additional scrape timestamp.
- CounterSnapshot - Class in io.prometheus.metrics.model.snapshots
-
Immutable snapshot of a Counter.
- CounterSnapshot(MetricMetadata, Collection<CounterSnapshot.CounterDataPointSnapshot>) - Constructor for class io.prometheus.metrics.model.snapshots.CounterSnapshot
-
To create a new
CounterSnapshot, you can either call the constructor directly or use the builder withCounterSnapshot.builder(). - CounterSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- CounterSnapshot.CounterDataPointSnapshot - Class in io.prometheus.metrics.model.snapshots
- CounterSnapshot.CounterDataPointSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- createdTimestampMillis - Variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- createdTimestampMillis(long) - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot.Builder
- createdTimestampMillis(long) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
D
- dataPoint(CounterSnapshot.CounterDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.Builder
-
Add a data point.
- dataPoint(GaugeSnapshot.GaugeDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.Builder
-
Add a data point.
- dataPoint(HistogramSnapshot.HistogramDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.Builder
-
Add a data point.
- dataPoint(InfoSnapshot.InfoDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.InfoSnapshot.Builder
-
Add a data point.
- dataPoint(StateSetSnapshot.StateSetDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.Builder
-
Add a data point.
- dataPoint(SummarySnapshot.SummaryDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.Builder
-
Add a data point.
- dataPoint(UnknownSnapshot.UnknownDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.Builder
-
Add a data point.
- dataPoints - Variable in class io.prometheus.metrics.model.snapshots.MetricSnapshot
- DataPointSnapshot - Class in io.prometheus.metrics.model.snapshots
- DataPointSnapshot(Labels, long, long) - Constructor for class io.prometheus.metrics.model.snapshots.DataPointSnapshot
- DataPointSnapshot.Builder<T extends DataPointSnapshot.Builder<T>> - Class in io.prometheus.metrics.model.snapshots
- defaultRegistry - Static variable in class io.prometheus.metrics.model.registry.PrometheusRegistry
- DistributionDataPointSnapshot - Class in io.prometheus.metrics.model.snapshots
-
Common base class for histogram and summary data.
- DistributionDataPointSnapshot(long, double, Exemplars, Labels, long, long) - Constructor for class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot
-
See JavaDoc of the child classes.
- DuplicateLabelsException - Exception in io.prometheus.metrics.model.snapshots
-
Thrown when a collector tries to create a
MetricSnapshotwhere multiple data points have the same labels (same label names and label values). - DuplicateLabelsException(MetricMetadata, Labels) - Constructor for exception io.prometheus.metrics.model.snapshots.DuplicateLabelsException
E
- EMPTY - Static variable in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
-
Used in native histograms to indicate that no classic histogram buckets are present.
- EMPTY - Static variable in class io.prometheus.metrics.model.snapshots.Exemplars
-
EMPTY means no Exemplars.
- EMPTY - Static variable in class io.prometheus.metrics.model.snapshots.Labels
- EMPTY - Static variable in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- EMPTY - Static variable in class io.prometheus.metrics.model.snapshots.Quantiles
- equals(Object) - Method in class io.prometheus.metrics.model.snapshots.Label
- equals(Object) - Method in class io.prometheus.metrics.model.snapshots.Labels
- equals(Object) - Method in class io.prometheus.metrics.model.snapshots.Unit
- exemplar(Exemplar) - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot.Builder
- exemplar(Exemplar) - Method in class io.prometheus.metrics.model.snapshots.Exemplars.Builder
-
Add an exemplar.
- exemplar(Exemplar) - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot.Builder
-
Optional
- exemplar(Exemplar) - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot.Builder
-
Optional
- Exemplar - Class in io.prometheus.metrics.model.snapshots
-
Immutable representation of an Exemplar.
- Exemplar(double, Labels, long) - Constructor for class io.prometheus.metrics.model.snapshots.Exemplar
-
To create a new
Exemplar, you can either call the constructor directly or use the Builder withExemplar.builder(). - Exemplar.Builder - Class in io.prometheus.metrics.model.snapshots
- exemplars - Variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- exemplars(Exemplars) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- exemplars(Collection<Exemplar>) - Method in class io.prometheus.metrics.model.snapshots.Exemplars.Builder
-
Add all exemplars form the collection.
- Exemplars - Class in io.prometheus.metrics.model.snapshots
-
Immutable container for Exemplars.
- Exemplars.Builder - Class in io.prometheus.metrics.model.snapshots
G
- GaugeDataPointSnapshot(double, Labels, Exemplar) - Constructor for class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot
-
To create a new
GaugeSnapshot.GaugeDataPointSnapshot, you can either call the constructor directly or use the Builder withGaugeSnapshot.GaugeDataPointSnapshot.builder(). - GaugeDataPointSnapshot(double, Labels, Exemplar, long) - Constructor for class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot
-
Constructor with an additional scrape timestamp.
- gaugeHistogram(boolean) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.Builder
-
trueindicates that this histogram is a gauge histogram. - GaugeSnapshot - Class in io.prometheus.metrics.model.snapshots
-
Immutable snapshot of a Gauge.
- GaugeSnapshot(MetricMetadata, Collection<GaugeSnapshot.GaugeDataPointSnapshot>) - Constructor for class io.prometheus.metrics.model.snapshots.GaugeSnapshot
-
To create a new
GaugeSnapshot, you can either call the constructor directly or use the builder withGaugeSnapshot.builder(). - GaugeSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- GaugeSnapshot.GaugeDataPointSnapshot - Class in io.prometheus.metrics.model.snapshots
- GaugeSnapshot.GaugeDataPointSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- get(double, double) - Method in class io.prometheus.metrics.model.snapshots.Exemplars
-
This is used by classic histograms to find an exemplar with a value between lowerBound and upperBound.
- get(int) - Method in class io.prometheus.metrics.model.snapshots.Exemplars
- get(int) - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshots
- get(int) - Method in class io.prometheus.metrics.model.snapshots.Quantiles
- get(String) - Method in class io.prometheus.metrics.model.snapshots.Labels
-
Get the label value for a given label name.
- getBucketIndex() - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBucket
-
See
NativeHistogramBucketsfor info on native bucket indexes. - getBucketIndex(int) - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- getClassicBuckets() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
Will return garbage if
HistogramSnapshot.HistogramDataPointSnapshot.hasClassicHistogramData()isfalse. - getCount() - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBucket
- getCount() - Method in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot
-
This will return garbage if
DistributionDataPointSnapshot.hasCount()isfalse. - getCount() - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBucket
- getCount(int) - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
-
The count is not cumulative.
- getCount(int) - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- getCreatedTimestampMillis() - Method in class io.prometheus.metrics.model.snapshots.DataPointSnapshot
-
This will only return a reasonable value if
DataPointSnapshot.hasCreatedTimestamp()is true. - getDataPoints() - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot
- getDataPoints() - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot
- getDataPoints() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot
- getDataPoints() - Method in class io.prometheus.metrics.model.snapshots.InfoSnapshot
- getDataPoints() - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot
- getDataPoints() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot
- getDataPoints() - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot
- getDataPoints() - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot
- getExemplar() - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot
-
May be
null. - getExemplar() - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot
-
May be
null. - getExemplar() - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot
-
May return
null. - getExemplars() - Method in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot
-
May be
Exemplars.EMPTY, but will never benull. - getHelp() - Method in class io.prometheus.metrics.model.snapshots.MetricMetadata
- getLabels() - Method in class io.prometheus.metrics.model.snapshots.DataPointSnapshot
- getLabels() - Method in exception io.prometheus.metrics.model.snapshots.DuplicateLabelsException
- getLabels() - Method in class io.prometheus.metrics.model.snapshots.Exemplar
-
In most cases labels will contain
Exemplar.TRACE_IDandExemplar.SPAN_ID, but this is not required. - getLatest() - Method in class io.prometheus.metrics.model.snapshots.Exemplars
-
Find the Exemplar with the newest timestamp.
- getMetadata() - Method in exception io.prometheus.metrics.model.snapshots.DuplicateLabelsException
- getMetadata() - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot
- getName() - Method in class io.prometheus.metrics.model.snapshots.Label
- getName() - Method in class io.prometheus.metrics.model.snapshots.MetricMetadata
-
The name does not include the
_totalsuffix for counter metrics or the_infosuffix for Info metrics. - getName() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.State
- getName(int) - Method in class io.prometheus.metrics.model.snapshots.Labels
- getName(int) - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
- getNativeBucketsForNegativeValues() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
Will return garbage if
HistogramSnapshot.HistogramDataPointSnapshot.hasNativeHistogramData()isfalse. - getNativeBucketsForPositiveValues() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
Will return garbage if
HistogramSnapshot.HistogramDataPointSnapshot.hasNativeHistogramData()isfalse. - getNativeSchema() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
The schema defines the scale of the native histogram, i.g. the granularity of the buckets.
- getNativeZeroCount() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
Number of observed zero values.
- getNativeZeroThreshold() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
All observations in [-nativeZeroThreshold; +nativeZeroThreshold] are treated as zero.
- getParameterValues(String) - Method in interface io.prometheus.metrics.model.registry.PrometheusScrapeRequest
-
See
jakarta.servlet.ServletRequest.getParameterValues(String name) - getPrometheusName() - Method in interface io.prometheus.metrics.model.registry.Collector
-
This is called in two places: During registration to check if a metric with that name already exists.
- getPrometheusName() - Method in class io.prometheus.metrics.model.snapshots.MetricMetadata
-
Same as
MetricMetadata.getName()but with dots replaced by underscores. - getPrometheusName(int) - Method in class io.prometheus.metrics.model.snapshots.Labels
-
Like
Labels.getName(int), but dots are replaced with underscores. - getPrometheusNames() - Method in interface io.prometheus.metrics.model.registry.MultiCollector
-
This is called in two places: During registration to check if a metric with that name already exists.
- getQuantile() - Method in class io.prometheus.metrics.model.snapshots.Quantile
- getQuantiles() - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot
- getRequestPath() - Method in interface io.prometheus.metrics.model.registry.PrometheusScrapeRequest
-
Absolute path of the HTTP request.
- getScrapeTimestampMillis() - Method in class io.prometheus.metrics.model.snapshots.DataPointSnapshot
-
This will only return a reasonable value if
DataPointSnapshot.hasScrapeTimestamp()is true. - getSum() - Method in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot
-
This will return garbage if
DistributionDataPointSnapshot.hasSum()isfalse. - getTimestampMillis() - Method in class io.prometheus.metrics.model.snapshots.Exemplar
-
Will return garbage if
Exemplar.hasTimestamp()isfalse. - getUnit() - Method in class io.prometheus.metrics.model.snapshots.MetricMetadata
- getUpperBound() - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBucket
- getUpperBound(int) - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
- getValue() - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot
- getValue() - Method in class io.prometheus.metrics.model.snapshots.Exemplar
- getValue() - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot
- getValue() - Method in class io.prometheus.metrics.model.snapshots.Label
- getValue() - Method in class io.prometheus.metrics.model.snapshots.Quantile
- getValue() - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot
- getValue(int) - Method in class io.prometheus.metrics.model.snapshots.Labels
- GRAMS - Static variable in class io.prometheus.metrics.model.snapshots.Unit
H
- hasClassicHistogramData() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
- hasCount() - Method in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot
- hasCreatedTimestamp() - Method in class io.prometheus.metrics.model.snapshots.DataPointSnapshot
- hashCode() - Method in class io.prometheus.metrics.model.snapshots.Label
- hashCode() - Method in class io.prometheus.metrics.model.snapshots.Labels
- hashCode() - Method in class io.prometheus.metrics.model.snapshots.Unit
- hasNativeHistogramData() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
- hasSameNames(Labels) - Method in class io.prometheus.metrics.model.snapshots.Labels
- hasSameValues(Labels) - Method in class io.prometheus.metrics.model.snapshots.Labels
- hasScrapeTimestamp() - Method in class io.prometheus.metrics.model.snapshots.DataPointSnapshot
- hasSum() - Method in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot
- hasTimestamp() - Method in class io.prometheus.metrics.model.snapshots.Exemplar
- hasUnit() - Method in class io.prometheus.metrics.model.snapshots.MetricMetadata
- help(String) - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot.Builder
- HistogramDataPointSnapshot(int, long, double, NativeHistogramBuckets, NativeHistogramBuckets, double, Labels, Exemplars, long) - Constructor for class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
Constructor for native histograms (as opposed to classic histograms).
- HistogramDataPointSnapshot(ClassicHistogramBuckets, double, Labels, Exemplars, long) - Constructor for class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
Constructor for classic histograms (as opposed to native histograms).
- HistogramDataPointSnapshot(ClassicHistogramBuckets, int, long, double, NativeHistogramBuckets, NativeHistogramBuckets, double, Labels, Exemplars, long) - Constructor for class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
Constructor for a histogram with both, classic and native data.
- HistogramDataPointSnapshot(ClassicHistogramBuckets, int, long, double, NativeHistogramBuckets, NativeHistogramBuckets, double, Labels, Exemplars, long, long) - Constructor for class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
Constructor with an additional scrape timestamp.
- HistogramSnapshot - Class in io.prometheus.metrics.model.snapshots
-
Immutable snapshot of a Histogram.
- HistogramSnapshot(boolean, MetricMetadata, Collection<HistogramSnapshot.HistogramDataPointSnapshot>) - Constructor for class io.prometheus.metrics.model.snapshots.HistogramSnapshot
-
Use this with the first parameter
trueto create a snapshot of a Gauge Histogram. - HistogramSnapshot(MetricMetadata, Collection<HistogramSnapshot.HistogramDataPointSnapshot>) - Constructor for class io.prometheus.metrics.model.snapshots.HistogramSnapshot
-
To create a new
HistogramSnapshot, you can either call the constructor directly or use the builder withHistogramSnapshot.builder(). - HistogramSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- HistogramSnapshot.HistogramDataPointSnapshot - Class in io.prometheus.metrics.model.snapshots
- HistogramSnapshot.HistogramDataPointSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
I
- InfoDataPointSnapshot(Labels) - Constructor for class io.prometheus.metrics.model.snapshots.InfoSnapshot.InfoDataPointSnapshot
-
To create a new
InfoSnapshot.InfoDataPointSnapshot, you can either call the constructor directly or use the Builder withInfoSnapshot.InfoDataPointSnapshot.builder(). - InfoDataPointSnapshot(Labels, long) - Constructor for class io.prometheus.metrics.model.snapshots.InfoSnapshot.InfoDataPointSnapshot
-
Constructor with an additional scrape timestamp.
- InfoSnapshot - Class in io.prometheus.metrics.model.snapshots
-
Immutable snapshot of an Info metric.
- InfoSnapshot(MetricMetadata, Collection<InfoSnapshot.InfoDataPointSnapshot>) - Constructor for class io.prometheus.metrics.model.snapshots.InfoSnapshot
-
To create a new
InfoSnapshot, you can either call the constructor directly or use the builder withInfoSnapshot.builder(). - InfoSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- InfoSnapshot.InfoDataPointSnapshot - Class in io.prometheus.metrics.model.snapshots
- InfoSnapshot.InfoDataPointSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- io.prometheus.metrics.model - module io.prometheus.metrics.model
- io.prometheus.metrics.model.registry - package io.prometheus.metrics.model.registry
- io.prometheus.metrics.model.snapshots - package io.prometheus.metrics.model.snapshots
- isEmpty() - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
- isEmpty() - Method in class io.prometheus.metrics.model.snapshots.Labels
- isGaugeHistogram() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot
- isTrue() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.State
- isTrue(int) - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
- isValidLabelName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
- isValidMetricName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
Test if a metric name is valid.
- isValidUnitName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
Units may not have illegal characters, and they may not end with a reserved suffix like 'total'.
- iterator() - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
- iterator() - Method in class io.prometheus.metrics.model.snapshots.Exemplars
- iterator() - Method in class io.prometheus.metrics.model.snapshots.Labels
- iterator() - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshots
- iterator() - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- iterator() - Method in class io.prometheus.metrics.model.snapshots.Quantiles
- iterator() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
J
K
- kiloBytesToBytes(double) - Static method in class io.prometheus.metrics.model.snapshots.Unit
L
- label(String, String) - Method in class io.prometheus.metrics.model.snapshots.Labels.Builder
-
Add a label.
- Label - Class in io.prometheus.metrics.model.snapshots
-
Utility for iterating over
Labels. - Label(String, String) - Constructor for class io.prometheus.metrics.model.snapshots.Label
- labels - Variable in class io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder
- labels(Labels) - Method in class io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder
- labels(Labels) - Method in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- Labels - Class in io.prometheus.metrics.model.snapshots
-
Immutable set of name/value pairs, sorted by name.
- Labels.Builder - Class in io.prometheus.metrics.model.snapshots
M
- merge(Labels) - Method in class io.prometheus.metrics.model.snapshots.Labels
-
Create a new Labels instance containing the labels of this and the labels of other.
- merge(String[], String[]) - Method in class io.prometheus.metrics.model.snapshots.Labels
-
Create a new Labels instance containing the labels of this and the labels passed as names and values.
- METERS - Static variable in class io.prometheus.metrics.model.snapshots.Unit
- MetricMetadata - Class in io.prometheus.metrics.model.snapshots
-
Immutable container for metric metadata: name, help, unit.
- MetricMetadata(String) - Constructor for class io.prometheus.metrics.model.snapshots.MetricMetadata
- MetricMetadata(String, String) - Constructor for class io.prometheus.metrics.model.snapshots.MetricMetadata
- MetricMetadata(String, String, Unit) - Constructor for class io.prometheus.metrics.model.snapshots.MetricMetadata
-
Constructor.
- MetricNameFilter - Class in io.prometheus.metrics.model.registry
-
Filter samples (i.e. time series) by name.
- MetricNameFilter.Builder - Class in io.prometheus.metrics.model.registry
- metricSnapshot(MetricSnapshot) - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshots.Builder
-
Add a metric snapshot.
- MetricSnapshot - Class in io.prometheus.metrics.model.snapshots
-
Base class for metric snapshots.
- MetricSnapshot(MetricMetadata, Collection<? extends DataPointSnapshot>) - Constructor for class io.prometheus.metrics.model.snapshots.MetricSnapshot
- MetricSnapshot.Builder<T extends MetricSnapshot.Builder<T>> - Class in io.prometheus.metrics.model.snapshots
- MetricSnapshots - Class in io.prometheus.metrics.model.snapshots
-
Immutable list of metric snapshots.
- MetricSnapshots(MetricSnapshot...) - Constructor for class io.prometheus.metrics.model.snapshots.MetricSnapshots
- MetricSnapshots(Collection<MetricSnapshot>) - Constructor for class io.prometheus.metrics.model.snapshots.MetricSnapshots
-
To create MetricSnapshots, you can either call the constructor directly or use
MetricSnapshots.builder(). - MetricSnapshots.Builder - Class in io.prometheus.metrics.model.snapshots
- millisToSeconds(long) - Static method in class io.prometheus.metrics.model.snapshots.Unit
- MultiCollector - Interface in io.prometheus.metrics.model.registry
-
Like
Collector, but collecting multiple Snapshots at once.
N
- name(String) - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot.Builder
-
The name is required.
- nameMustBeEqualTo(String...) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
- nameMustBeEqualTo(Collection<String>) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
-
Only samples with one of the
nameswill be included. - nameMustNotBeEqualTo(String...) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
- nameMustNotBeEqualTo(Collection<String>) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
-
All samples that are not in
nameswill be excluded. - nameMustNotStartWith(String...) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
- nameMustNotStartWith(Collection<String>) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
-
Samples with names starting with one of the
prefixeswill be excluded. - nameMustStartWith(String...) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
- nameMustStartWith(Collection<String>) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
-
Only samples whose name starts with one of the
prefixeswill be included. - nanosToSeconds(long) - Static method in class io.prometheus.metrics.model.snapshots.Unit
- nativeBucketsForNegativeValues(NativeHistogramBuckets) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- nativeBucketsForPositiveValues(NativeHistogramBuckets) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- NativeHistogramBucket - Class in io.prometheus.metrics.model.snapshots
-
For iterating over
NativeHistogramBuckets. - NativeHistogramBucket(int, long) - Constructor for class io.prometheus.metrics.model.snapshots.NativeHistogramBucket
- NativeHistogramBuckets - Class in io.prometheus.metrics.model.snapshots
-
Immutable representation of native histogram buckets.
- NativeHistogramBuckets.Builder - Class in io.prometheus.metrics.model.snapshots
- nativeSchema(int) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- nativeZeroCount(long) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- nativeZeroThreshold(double) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
O
- of(double[], long[]) - Static method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
-
To create new
ClassicHistogramBuckets, you can either use one of the staticof(...)methods, or useClassicHistogramBuckets.builder(). - of(double[], Number[]) - Static method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
-
To create new
ClassicHistogramBuckets, you can either use one of the staticof(...)methods, or useClassicHistogramBuckets.builder(). - of(int[], long[]) - Static method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
-
To create a new
NativeHistogramBucketsinstance, you can either use one of the staticof(...)methods, or useNativeHistogramBuckets.builder(). - of(Exemplar...) - Static method in class io.prometheus.metrics.model.snapshots.Exemplars
-
Create a new Exemplars instance.
- of(MetricSnapshot...) - Static method in class io.prometheus.metrics.model.snapshots.MetricSnapshots
- of(Quantile...) - Static method in class io.prometheus.metrics.model.snapshots.Quantiles
-
Create a new Quantiles instance.
- of(String...) - Static method in class io.prometheus.metrics.model.snapshots.Labels
-
Create a new Labels instance.
- of(String[], String[]) - Static method in class io.prometheus.metrics.model.snapshots.Labels
-
Create a new Labels instance.
- of(Collection<Exemplar>) - Static method in class io.prometheus.metrics.model.snapshots.Exemplars
-
Create a new Exemplars instance.
- of(List<Quantile>) - Static method in class io.prometheus.metrics.model.snapshots.Quantiles
-
Create a new Quantiles instance.
- of(List<Double>, List<? extends Number>) - Static method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
-
To create new
ClassicHistogramBuckets, you can either use one of the staticof(...)methods, or useClassicHistogramBuckets.builder(). - of(List<Integer>, List<Long>) - Static method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
-
To create a new
NativeHistogramBucketsinstance, you can either use one of the staticof(...)methods, or useNativeHistogramBuckets.builder(). - of(List<String>, List<String>) - Static method in class io.prometheus.metrics.model.snapshots.Labels
-
Create a new Labels instance.
P
- prometheusName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
Get the metric or label name that is used in Prometheus exposition format.
- PrometheusNaming - Class in io.prometheus.metrics.model.snapshots
-
Utility for Prometheus Metric and Label naming.
- PrometheusNaming() - Constructor for class io.prometheus.metrics.model.snapshots.PrometheusNaming
- PrometheusRegistry - Class in io.prometheus.metrics.model.registry
- PrometheusRegistry() - Constructor for class io.prometheus.metrics.model.registry.PrometheusRegistry
- PrometheusScrapeRequest - Interface in io.prometheus.metrics.model.registry
-
Infos extracted from the request received by the endpoint
Q
- quantile(double, double) - Method in class io.prometheus.metrics.model.snapshots.Quantiles.Builder
-
Add a quantile.
- quantile(Quantile) - Method in class io.prometheus.metrics.model.snapshots.Quantiles.Builder
-
Add a quantile.
- Quantile - Class in io.prometheus.metrics.model.snapshots
-
Immutable representation of a Quantile.
- Quantile(double, double) - Constructor for class io.prometheus.metrics.model.snapshots.Quantile
- quantiles(Quantiles) - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot.Builder
- Quantiles - Class in io.prometheus.metrics.model.snapshots
-
Immutable list of quantiles.
- Quantiles.Builder - Class in io.prometheus.metrics.model.snapshots
R
- RATIO - Static variable in class io.prometheus.metrics.model.snapshots.Unit
- register(Collector) - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
- register(MultiCollector) - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
S
- sanitizeLabelName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
Convert an arbitrary string to a name where
isValidLabelName(name)is true. - sanitizeMetricName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
Convert an arbitrary string to a name where
isValidMetricName(name)is true. - sanitizeMetricName(String, Unit) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
Like
PrometheusNaming.sanitizeMetricName(String), but also makes sure that the unit is appended as a suffix if the unit is notnull. - sanitizeUnitName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
Convert an arbitrary string to a name where
isValidUnitName(name)is true. - scrape() - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
- scrape(PrometheusScrapeRequest) - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
- scrape(Predicate<String>) - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
- scrape(Predicate<String>, PrometheusScrapeRequest) - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
- scrapeTimestampMillis - Variable in class io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder
- scrapeTimestampMillis(long) - Method in class io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder
-
In most cases you should not set a scrape timestamp, because the scrape timestamp is set by the Prometheus server during scraping.
- SECONDS - Static variable in class io.prometheus.metrics.model.snapshots.Unit
- secondsToMillis(double) - Static method in class io.prometheus.metrics.model.snapshots.Unit
- self() - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.InfoSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.InfoSnapshot.InfoDataPointSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot.Builder
- size() - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
- size() - Method in class io.prometheus.metrics.model.snapshots.Exemplars
- size() - Method in class io.prometheus.metrics.model.snapshots.Labels
- size() - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshots
- size() - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- size() - Method in class io.prometheus.metrics.model.snapshots.Quantiles
- size() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
- SPAN_ID - Static variable in class io.prometheus.metrics.model.snapshots.Exemplar
-
Label name for span id.
- spanId(String) - Method in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- state(String, boolean) - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot.Builder
-
Add a state.
- StateSetDataPointSnapshot(String[], boolean[], Labels) - Constructor for class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
-
To create a new
StateSetSnapshot.StateSetDataPointSnapshot, you can either call the constructor directly or use the Builder withStateSetSnapshot.StateSetDataPointSnapshot.builder(). - StateSetDataPointSnapshot(String[], boolean[], Labels, long) - Constructor for class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
-
Constructor with an additional scrape timestamp.
- StateSetSnapshot - Class in io.prometheus.metrics.model.snapshots
-
Immutable snapshot of a StateSet metric.
- StateSetSnapshot(MetricMetadata, Collection<StateSetSnapshot.StateSetDataPointSnapshot>) - Constructor for class io.prometheus.metrics.model.snapshots.StateSetSnapshot
-
To create a new
StateSetSnapshot, you can either call the constructor directly or use the builder withStateSetSnapshot.builder(). - StateSetSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- StateSetSnapshot.State - Class in io.prometheus.metrics.model.snapshots
- StateSetSnapshot.StateSetDataPointSnapshot - Class in io.prometheus.metrics.model.snapshots
- StateSetSnapshot.StateSetDataPointSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- stream() - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
- stream() - Method in class io.prometheus.metrics.model.snapshots.Labels
- stream() - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshots
- stream() - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- stream() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
- sum - Variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- sum(double) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- SummaryDataPointSnapshot(long, double, Quantiles, Labels, Exemplars, long) - Constructor for class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot
-
To create a new
SummarySnapshot.SummaryDataPointSnapshot, you can either call the constructor directly or use the Builder withSummarySnapshot.SummaryDataPointSnapshot.builder(). - SummaryDataPointSnapshot(long, double, Quantiles, Labels, Exemplars, long, long) - Constructor for class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot
-
Constructor with an additional scrape timestamp.
- SummarySnapshot - Class in io.prometheus.metrics.model.snapshots
-
Immutable snapshot of a Summary metric.
- SummarySnapshot(MetricMetadata, Collection<SummarySnapshot.SummaryDataPointSnapshot>) - Constructor for class io.prometheus.metrics.model.snapshots.SummarySnapshot
-
To create a new
SummarySnapshot, you can either call the constructor directly or use the builder withSummarySnapshot.builder(). - SummarySnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- SummarySnapshot.SummaryDataPointSnapshot - Class in io.prometheus.metrics.model.snapshots
- SummarySnapshot.SummaryDataPointSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
T
- test(String) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter
- timestampMillis(long) - Method in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- toString() - Method in class io.prometheus.metrics.model.snapshots.Label
- toString() - Method in class io.prometheus.metrics.model.snapshots.Labels
-
This must not be used in Prometheus exposition formats because names may contain dots.
- toString() - Method in class io.prometheus.metrics.model.snapshots.Unit
- TRACE_ID - Static variable in class io.prometheus.metrics.model.snapshots.Exemplar
-
Label name for trace id.
- traceId(String) - Method in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
U
- unit(Unit) - Method in class io.prometheus.metrics.model.snapshots.InfoSnapshot.Builder
- unit(Unit) - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot.Builder
- unit(Unit) - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.Builder
- Unit - Class in io.prometheus.metrics.model.snapshots
-
Some pre-defined units for convenience.
- Unit(String) - Constructor for class io.prometheus.metrics.model.snapshots.Unit
- UnknownDataPointSnapshot(double, Labels, Exemplar) - Constructor for class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot
-
To create a new
UnknownSnapshot.UnknownDataPointSnapshot, you can either call the constructor directly or use the Builder withUnknownSnapshot.UnknownDataPointSnapshot.builder(). - UnknownDataPointSnapshot(double, Labels, Exemplar, long) - Constructor for class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot
-
Constructor with an additional scrape timestamp.
- UnknownSnapshot - Class in io.prometheus.metrics.model.snapshots
-
Immutable snapshot of an Unknown (Untyped) metric.
- UnknownSnapshot(MetricMetadata, Collection<UnknownSnapshot.UnknownDataPointSnapshot>) - Constructor for class io.prometheus.metrics.model.snapshots.UnknownSnapshot
-
To create a new
UnknownSnapshot, you can either call the constructor directly or use the builder withUnknownSnapshot.builder(). - UnknownSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- UnknownSnapshot.UnknownDataPointSnapshot - Class in io.prometheus.metrics.model.snapshots
- UnknownSnapshot.UnknownDataPointSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- unregister(Collector) - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
- unregister(MultiCollector) - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
V
- validate() - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot
- validateMetricName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
Same as
PrometheusNaming.isValidMetricName(String), but produces an error message. - validateUnitName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
Same as
PrometheusNaming.isValidUnitName(String)but returns an error message. - value(double) - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot.Builder
-
Counter value.
- value(double) - Method in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- value(double) - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot.Builder
-
Gauge value.
- value(double) - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot.Builder
-
required.
- VOLTS - Static variable in class io.prometheus.metrics.model.snapshots.Unit
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form