Index
All Classes and Interfaces|All Packages|Constant Field Values
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.
- addBucket(double, long) - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets.Builder
-
Must be called at least once for the
Double.POSITIVE_INFINITY
bucket. - addBucket(int, long) - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets.Builder
- addDataPoint(CounterSnapshot.CounterDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.Builder
- addDataPoint(GaugeSnapshot.GaugeDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.Builder
- addDataPoint(HistogramSnapshot.HistogramDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.Builder
- addDataPoint(InfoSnapshot.InfoDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.InfoSnapshot.Builder
- addDataPoint(StateSetSnapshot.StateSetDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.Builder
- addDataPoint(SummarySnapshot.SummaryDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.Builder
- addDataPoint(UnknownSnapshot.UnknownDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.Builder
- addExemplar(Exemplar) - Method in class io.prometheus.metrics.model.snapshots.Exemplars.Builder
- addExemplars(List<Exemplar>) - Method in class io.prometheus.metrics.model.snapshots.Exemplars.Builder
- addLabel(String, String) - Method in class io.prometheus.metrics.model.snapshots.Labels.Builder
- addMetricSnapshot(MetricSnapshot) - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshots.Builder
- addQuantile(double, double) - Method in class io.prometheus.metrics.model.snapshots.Quantiles.Builder
- addQuantile(Quantile) - Method in class io.prometheus.metrics.model.snapshots.Quantiles.Builder
- addState(String, boolean) - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot.Builder
- 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
- asGaugeHistogram() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.Builder
-
Create a Gauge Histogram.
B
- 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
IllegalArgumentException
if theDouble.POSITIVE_INFINITY
bucket 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.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() - Constructor for class io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.InfoSnapshot.InfoDataPointSnapshot.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 - 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
- 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(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
. - 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
- 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.newBuilder()
. - 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.newBuilder()
. - 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
D
- data - 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.
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.Labels
- 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.newBuilder()
. - Exemplar.Builder - Class in io.prometheus.metrics.model.snapshots
- exemplars - Variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- 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.newBuilder()
. - GaugeDataPointSnapshot(double, Labels, Exemplar, long) - Constructor for class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot
-
Constructor with an additional scrape timestamp.
- 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.newBuilder()
. - 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
- getBucketIndex() - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBucket
-
See
NativeHistogramBuckets
for 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. - getData() - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot
- getData() - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot
- getData() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot
- getData() - Method in class io.prometheus.metrics.model.snapshots.InfoSnapshot
- getData() - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot
- getData() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot
- getData() - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot
- getData() - 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 class io.prometheus.metrics.model.snapshots.Exemplar
-
In most cases labels will contain
Exemplar.TRACE_ID
andExemplar.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 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
_total
suffix for counter metrics or the_info
suffix 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.
- 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.
- getPrometheusName() - Method in interface io.prometheus.metrics.model.registry.Collector
-
Override this and return
null
if a collector does not have a constant name, or if you don't want this library to callCollector.collect()
during registration of this collector. - 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
-
Override this and return an empty list if the MultiCollector does not return a constant list of names (names may be added / removed between scrapes).
- getQuantile() - Method in class io.prometheus.metrics.model.snapshots.Quantile
- getQuantiles() - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot
- 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.Labels
- 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
- 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
true
to 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.newBuilder()
. - 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.newBuilder()
. - 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.newBuilder()
. - 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.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.
- 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
L
- 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 - 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.
- MetricNameFilter.Builder - Class in io.prometheus.metrics.model.registry
- MetricSnapshot - Class in io.prometheus.metrics.model.snapshots
-
Base class for metric snapshots.
- MetricSnapshot(MetricMetadata, DataPointSnapshot...) - Constructor for class io.prometheus.metrics.model.snapshots.MetricSnapshot
- 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.newBuilder()
. - 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
- 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
names
will 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
names
will 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
prefixes
will 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
prefixes
will be included. - nanosToSeconds(long) - Static method in class io.prometheus.metrics.model.snapshots.Unit
- 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
- newBuilder() - Static method in class io.prometheus.metrics.model.registry.MetricNameFilter
- newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
-
To create new
ClassicHistogramBuckets
, you can either use one of the staticof(...)
methods, or usenewBuilder()
. - newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot
- newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.CounterSnapshot
- newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.Exemplar
- newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.Exemplars
- newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot
- newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot
- newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
- newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot
- newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.InfoSnapshot.InfoDataPointSnapshot
- newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.InfoSnapshot
- newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.Labels
- newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.MetricSnapshots
- newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.Quantiles
- newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot
- newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
- newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.SummarySnapshot
- newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot
- newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot
- newBuilder() - Static method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot
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.newBuilder()
. - 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.newBuilder()
. - of(int[], long[]) - Static method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
-
To create a new
NativeHistogramBuckets
instance, you can either use one of the staticof(...)
methods, or useNativeHistogramBuckets.newBuilder()
. - 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.newBuilder()
. - of(List<Integer>, List<Long>) - Static method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
-
To create a new
NativeHistogramBuckets
instance, you can either use one of the staticof(...)
methods, or useNativeHistogramBuckets.newBuilder()
. - 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
Q
- 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 - 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. - scrape() - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
- scrape(Predicate<String>) - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
- scrapeTimestampMillis - Variable in class io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder
- SECONDS - Static variable 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.
- 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.newBuilder()
. - 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.newBuilder()
. - 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
- 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.newBuilder()
. - 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.newBuilder()
. - 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
- 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.
U
- 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.newBuilder()
. - 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.newBuilder()
. - 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
- validateLabels() - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot
- VOLTS - Static variable in class io.prometheus.metrics.model.snapshots.Unit
W
- withClassicHistogramBuckets(ClassicHistogramBuckets) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- withCount(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).
- withCount(long) - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot.Builder
- withCreatedTimestampMillis(long) - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot.Builder
- withCreatedTimestampMillis(long) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- withExemplar(Exemplar) - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot.Builder
- withExemplar(Exemplar) - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot.Builder
-
Optional
- withExemplar(Exemplar) - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot.Builder
-
Optional
- withExemplars(Exemplars) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- withHelp(String) - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot.Builder
- withLabels(Labels) - Method in class io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder
- withLabels(Labels) - Method in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- withName(String) - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot.Builder
-
The name is required.
- withNativeBucketsForNegativeValues(NativeHistogramBuckets) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- withNativeBucketsForPositiveValues(NativeHistogramBuckets) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- withNativeSchema(int) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- withNativeZeroCount(long) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- withNativeZeroThreshold(double) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- withQuantiles(Quantiles) - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot.Builder
- withScrapeTimestampMillis(long) - Method in class io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder
-
In most cases you should not need to set a timestamp, because the timestamp of a Prometheus metric should usually be set by the Prometheus server during scraping.
- withSpanId(String) - Method in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- withSum(double) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- withTimestampMillis(long) - Method in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- withTraceId(String) - Method in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- withUnit(Unit) - Method in class io.prometheus.metrics.model.snapshots.InfoSnapshot.Builder
- withUnit(Unit) - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot.Builder
- withUnit(Unit) - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.Builder
- withValue(double) - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot.Builder
-
Counter value.
- withValue(double) - Method in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- withValue(double) - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot.Builder
-
Gauge value.
- withValue(double) - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot.Builder
-
required.
All Classes and Interfaces|All Packages|Constant Field Values