A B C D E F G H I L M N O Q R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- add(double) - Method in class io.prometheus.client.DoubleAdder
-
Adds the given value.
- addMetric(List<String>, double) - Method in class io.prometheus.client.CounterMetricFamily
- addMetric(List<String>, double) - Method in class io.prometheus.client.GaugeMetricFamily
- addMetric(List<String>, double, double) - Method in class io.prometheus.client.SummaryMetricFamily
- addMetric(List<String>, double, double, List<Double>) - Method in class io.prometheus.client.SummaryMetricFamily
- ageBuckets(int) - Method in class io.prometheus.client.Summary.Builder
B
- buckets - Variable in class io.prometheus.client.Histogram.Child.Value
- buckets(double...) - Method in class io.prometheus.client.Histogram.Builder
-
Set the upper bounds of buckets for the histogram.
- build() - Static method in class io.prometheus.client.Counter
-
Return a Builder to allow configuration of a new Counter.
- build() - Static method in class io.prometheus.client.Gauge
-
Return a Builder to allow configuration of a new Gauge.
- build() - Static method in class io.prometheus.client.Histogram
-
Return a Builder to allow configuration of a new Histogram.
- build() - Static method in class io.prometheus.client.Summary
-
Return a Builder to allow configuration of a new Summary.
- build(String, String) - Static method in class io.prometheus.client.Counter
-
Return a Builder to allow configuration of a new Counter.
- build(String, String) - Static method in class io.prometheus.client.Gauge
-
Return a Builder to allow configuration of a new Gauge.
- build(String, String) - Static method in class io.prometheus.client.Histogram
-
Return a Builder to allow configuration of a new Histogram.
- build(String, String) - Static method in class io.prometheus.client.Summary
-
Return a Builder to allow configuration of a new Summary.
- Builder() - Constructor for class io.prometheus.client.Counter.Builder
- Builder() - Constructor for class io.prometheus.client.Gauge.Builder
- Builder() - Constructor for class io.prometheus.client.Histogram.Builder
- Builder() - Constructor for class io.prometheus.client.SimpleCollector.Builder
- Builder() - Constructor for class io.prometheus.client.Summary.Builder
C
- checkMetricLabelName(String) - Static method in class io.prometheus.client.Collector
-
Throw an exception if the metric label name is invalid.
- checkMetricName(String) - Static method in class io.prometheus.client.Collector
-
Throw an exception if the metric name is invalid.
- Child() - Constructor for class io.prometheus.client.Counter.Child
- Child() - Constructor for class io.prometheus.client.Gauge.Child
- children - Variable in class io.prometheus.client.SimpleCollector
- clear() - Method in class io.prometheus.client.CollectorRegistry
-
Unregister all Collectors.
- clear() - Method in class io.prometheus.client.SimpleCollector
-
Remove all children.
- close() - Method in class io.prometheus.client.Gauge.Timer
-
Equivalent to calling
Gauge.Timer.setDuration(). - close() - Method in class io.prometheus.client.Histogram.Timer
-
Equivalent to calling
Histogram.Timer.observeDuration(). - close() - Method in class io.prometheus.client.Summary.Timer
-
Equivalent to calling
Summary.Timer.observeDuration(). - collect() - Method in class io.prometheus.client.Collector
-
Return all of the metrics of this Collector.
- collect() - Method in class io.prometheus.client.Counter
- collect() - Method in class io.prometheus.client.Gauge
- collect() - Method in class io.prometheus.client.Histogram
- collect() - Method in class io.prometheus.client.Summary
- Collector - Class in io.prometheus.client
-
A collector for a set of metrics.
- Collector() - Constructor for class io.prometheus.client.Collector
- Collector.Describable - Interface in io.prometheus.client
- Collector.MetricFamilySamples - Class in io.prometheus.client
-
A metric, and all of its samples.
- Collector.MetricFamilySamples.Sample - Class in io.prometheus.client
-
A single Sample, with a unique name and set of labels.
- Collector.Type - Enum in io.prometheus.client
- CollectorRegistry - Class in io.prometheus.client
-
A registry of Collectors.
- CollectorRegistry() - Constructor for class io.prometheus.client.CollectorRegistry
- CollectorRegistry(boolean) - Constructor for class io.prometheus.client.CollectorRegistry
- count - Variable in class io.prometheus.client.Summary.Child.Value
- Counter - Class in io.prometheus.client
-
Counter metric, to track counts of events or running totals.
- COUNTER - io.prometheus.client.Collector.Type
- Counter.Builder - Class in io.prometheus.client
- Counter.Child - Class in io.prometheus.client
-
The value of a single Counter.
- CounterMetricFamily - Class in io.prometheus.client
-
Counter metric family, for custom collectors and exporters.
- CounterMetricFamily(String, String, double) - Constructor for class io.prometheus.client.CounterMetricFamily
- CounterMetricFamily(String, String, List<String>) - Constructor for class io.prometheus.client.CounterMetricFamily
- create() - Method in class io.prometheus.client.Counter.Builder
- create() - Method in class io.prometheus.client.Gauge.Builder
- create() - Method in class io.prometheus.client.Histogram.Builder
- create() - Method in class io.prometheus.client.SimpleCollector.Builder
-
Return the constructed collector.
- create() - Method in class io.prometheus.client.Summary.Builder
D
- dec() - Method in class io.prometheus.client.Gauge.Child
-
Decrement the gauge by 1.
- dec() - Method in class io.prometheus.client.Gauge
-
Decrement the gauge with no labels by 1.
- dec(double) - Method in class io.prometheus.client.Gauge.Child
-
Decrement the gauge by the given amount.
- dec(double) - Method in class io.prometheus.client.Gauge
-
Decrement the gauge with no labels by the given amount.
- defaultRegistry - Static variable in class io.prometheus.client.CollectorRegistry
-
The default registry.
- describe() - Method in interface io.prometheus.client.Collector.Describable
-
Provide a list of metric families this Collector is expected to return.
- describe() - Method in class io.prometheus.client.Counter
- describe() - Method in class io.prometheus.client.Gauge
- describe() - Method in class io.prometheus.client.Histogram
- describe() - Method in class io.prometheus.client.Summary
- DoubleAdder - Class in io.prometheus.client
-
One or more variables that together maintain an initially zero
doublesum. - DoubleAdder() - Constructor for class io.prometheus.client.DoubleAdder
-
Creates a new adder with initial sum of zero.
- doubleToGoString(double) - Static method in class io.prometheus.client.Collector
-
Convert a double to its string representation in Go.
- doubleValue() - Method in class io.prometheus.client.DoubleAdder
-
Equivalent to
DoubleAdder.sum().
E
- elapsedSeconds() - Method in class io.prometheus.client.SimpleTimer
- elapsedSecondsFromNanos(long, long) - Static method in class io.prometheus.client.SimpleTimer
- equals(Object) - Method in class io.prometheus.client.Collector.MetricFamilySamples
- equals(Object) - Method in class io.prometheus.client.Collector.MetricFamilySamples.Sample
- exponentialBuckets(double, double, int) - Method in class io.prometheus.client.Histogram.Builder
-
Set the upper bounds of buckets for the histogram with an exponential sequence.
F
- familySamplesList(Collector.Type, List<Collector.MetricFamilySamples.Sample>) - Method in class io.prometheus.client.SimpleCollector
- filteredMetricFamilySamples(Set<String>) - Method in class io.prometheus.client.CollectorRegistry
-
Enumeration of metrics matching the specified names.
- floatValue() - Method in class io.prometheus.client.DoubleAdder
-
Returns the
DoubleAdder.sum()as afloatafter a narrowing primitive conversion. - fullname - Variable in class io.prometheus.client.SimpleCollector
G
- Gauge - Class in io.prometheus.client
-
Gauge metric, to report instantaneous values.
- GAUGE - io.prometheus.client.Collector.Type
- Gauge.Builder - Class in io.prometheus.client
- Gauge.Child - Class in io.prometheus.client
-
The value of a single Gauge.
- Gauge.Timer - Class in io.prometheus.client
-
Represents an event being timed.
- GaugeMetricFamily - Class in io.prometheus.client
-
Gauge metric family, for custom collectors and exporters.
- GaugeMetricFamily(String, String, double) - Constructor for class io.prometheus.client.GaugeMetricFamily
- GaugeMetricFamily(String, String, List<String>) - Constructor for class io.prometheus.client.GaugeMetricFamily
- get() - Method in class io.prometheus.client.Counter.Child
-
Get the value of the counter.
- get() - Method in class io.prometheus.client.Counter
-
Get the value of the counter.
- get() - Method in class io.prometheus.client.Gauge.Child
-
Get the value of the gauge.
- get() - Method in class io.prometheus.client.Gauge
-
Get the value of the gauge.
- get() - Method in class io.prometheus.client.Histogram.Child
-
Get the value of the Histogram.
- get() - Method in class io.prometheus.client.Summary.Child
-
Get the value of the Summary.
- get() - Method in class io.prometheus.client.Summary
-
Get the value of the Summary.
- getSampleValue(String) - Method in class io.prometheus.client.CollectorRegistry
-
Returns the given value, or null if it doesn't exist.
- getSampleValue(String, String[], String[]) - Method in class io.prometheus.client.CollectorRegistry
-
Returns the given value, or null if it doesn't exist.
H
- hashCode() - Method in class io.prometheus.client.Collector.MetricFamilySamples
- hashCode() - Method in class io.prometheus.client.Collector.MetricFamilySamples.Sample
- help - Variable in class io.prometheus.client.Collector.MetricFamilySamples
- help - Variable in class io.prometheus.client.SimpleCollector
- help(String) - Method in class io.prometheus.client.SimpleCollector.Builder
-
Set the help string of the metric.
- Histogram - Class in io.prometheus.client
-
Histogram metric, to track distributions of events.
- HISTOGRAM - io.prometheus.client.Collector.Type
- Histogram.Builder - Class in io.prometheus.client
- Histogram.Child - Class in io.prometheus.client
-
The value of a single Histogram.
- Histogram.Child.Value - Class in io.prometheus.client
- Histogram.Timer - Class in io.prometheus.client
-
Represents an event being timed.
I
- inc() - Method in class io.prometheus.client.Counter.Child
-
Increment the counter by 1.
- inc() - Method in class io.prometheus.client.Counter
-
Increment the counter with no labels by 1.
- inc() - Method in class io.prometheus.client.Gauge.Child
-
Increment the gauge by 1.
- inc() - Method in class io.prometheus.client.Gauge
-
Increment the gauge with no labels by 1.
- inc(double) - Method in class io.prometheus.client.Counter.Child
-
Increment the counter by the given amount.
- inc(double) - Method in class io.prometheus.client.Counter
-
Increment the counter with no labels by the given amount.
- inc(double) - Method in class io.prometheus.client.Gauge.Child
-
Increment the gauge by the given amount.
- inc(double) - Method in class io.prometheus.client.Gauge
-
Increment the gauge with no labels by the given amount.
- initializeNoLabelsChild() - Method in class io.prometheus.client.SimpleCollector
-
Initialize the child with no labels.
- intValue() - Method in class io.prometheus.client.DoubleAdder
-
Returns the
DoubleAdder.sum()as anintafter a narrowing primitive conversion. - io.prometheus.client - package io.prometheus.client
L
- labelNames - Variable in class io.prometheus.client.Collector.MetricFamilySamples.Sample
- labelNames - Variable in class io.prometheus.client.SimpleCollector
- labelNames(String...) - Method in class io.prometheus.client.SimpleCollector.Builder
-
Set the labelNames of the metric.
- labels(String...) - Method in class io.prometheus.client.SimpleCollector
-
Return the Child with the given labels, creating it if needed.
- labelValues - Variable in class io.prometheus.client.Collector.MetricFamilySamples.Sample
- linearBuckets(double, double, int) - Method in class io.prometheus.client.Histogram.Builder
-
Set the upper bounds of buckets for the histogram with a linear sequence.
- longValue() - Method in class io.prometheus.client.DoubleAdder
-
Returns the
DoubleAdder.sum()as alongafter a narrowing primitive conversion.
M
- maxAgeSeconds(long) - Method in class io.prometheus.client.Summary.Builder
- metricFamilySamples() - Method in class io.prometheus.client.CollectorRegistry
-
Enumeration of metrics of all registered collectors.
- MetricFamilySamples(String, Collector.Type, String, List<Collector.MetricFamilySamples.Sample>) - Constructor for class io.prometheus.client.Collector.MetricFamilySamples
- MILLISECONDS_PER_SECOND - Static variable in class io.prometheus.client.Collector
-
Number of milliseconds in a second.
N
- name - Variable in class io.prometheus.client.Collector.MetricFamilySamples
- name - Variable in class io.prometheus.client.Collector.MetricFamilySamples.Sample
- name(String) - Method in class io.prometheus.client.SimpleCollector.Builder
-
Set the name of the metric.
- namespace(String) - Method in class io.prometheus.client.SimpleCollector.Builder
-
Set the namespace of the metric.
- NANOSECONDS_PER_SECOND - Static variable in class io.prometheus.client.Collector
-
Number of nanoseconds in a second.
- newChild() - Method in class io.prometheus.client.Counter
- newChild() - Method in class io.prometheus.client.Gauge
- newChild() - Method in class io.prometheus.client.Histogram
- newChild() - Method in class io.prometheus.client.SimpleCollector
-
Return a new child, workaround for Java generics limitations.
- newChild() - Method in class io.prometheus.client.Summary
- noLabelsChild - Variable in class io.prometheus.client.SimpleCollector
O
- observe(double) - Method in class io.prometheus.client.Histogram.Child
-
Observe the given amount.
- observe(double) - Method in class io.prometheus.client.Histogram
-
Observe the given amount on the histogram with no labels.
- observe(double) - Method in class io.prometheus.client.Summary.Child
-
Observe the given amount.
- observe(double) - Method in class io.prometheus.client.Summary
-
Observe the given amount on the summary with no labels.
- observeDuration() - Method in class io.prometheus.client.Histogram.Timer
-
Observe the amount of time in seconds since
Histogram.Child.startTimer()was called. - observeDuration() - Method in class io.prometheus.client.Summary.Timer
-
Observe the amount of time in seconds since
Summary.Child.startTimer()was called.
Q
- quantile(double, double) - Method in class io.prometheus.client.Summary.Builder
- quantiles - Variable in class io.prometheus.client.Summary.Child.Value
R
- register() - Method in class io.prometheus.client.Collector
-
Register the Collector with the default registry.
- register() - Method in class io.prometheus.client.SimpleCollector.Builder
-
Create and register the Collector with the default registry.
- register(Collector) - Method in class io.prometheus.client.CollectorRegistry
-
Register a Collector.
- register(CollectorRegistry) - Method in class io.prometheus.client.Collector
-
Register the Collector with the given registry.
- register(CollectorRegistry) - Method in class io.prometheus.client.SimpleCollector.Builder
-
Create and register the Collector with the given registry.
- remove(String...) - Method in class io.prometheus.client.SimpleCollector
-
Remove the Child with the given labels.
- reset() - Method in class io.prometheus.client.DoubleAdder
-
Resets variables maintaining the sum to zero.
S
- Sample(String, List<String>, List<String>, double) - Constructor for class io.prometheus.client.Collector.MetricFamilySamples.Sample
- Sample(String, List<String>, List<String>, double, Long) - Constructor for class io.prometheus.client.Collector.MetricFamilySamples.Sample
- samples - Variable in class io.prometheus.client.Collector.MetricFamilySamples
- sanitizeMetricName(String) - Static method in class io.prometheus.client.Collector
-
Sanitize metric name
- set(double) - Method in class io.prometheus.client.DoubleAdder
- set(double) - Method in class io.prometheus.client.Gauge.Child
-
Set the gauge to the given value.
- set(double) - Method in class io.prometheus.client.Gauge
-
Set the gauge with no labels to the given value.
- setChild(Child, String...) - Method in class io.prometheus.client.SimpleCollector
-
Replace the Child with the given labels.
- setDuration() - Method in class io.prometheus.client.Gauge.Timer
-
Set the amount of time in seconds since
Gauge.Child.startTimer()was called. - setToCurrentTime() - Method in class io.prometheus.client.Gauge.Child
-
Set the gauge to the current unixtime.
- setToCurrentTime() - Method in class io.prometheus.client.Gauge
-
Set the gauge with no labels to the current unixtime.
- setToTime(Runnable) - Method in class io.prometheus.client.Gauge.Child
-
Executes runnable code (e.g.
- setToTime(Runnable) - Method in class io.prometheus.client.Gauge
-
Executes runnable code (e.g.
- setToTime(Callable<E>) - Method in class io.prometheus.client.Gauge.Child
-
Executes callable code (e.g.
- setToTime(Callable<E>) - Method in class io.prometheus.client.Gauge
-
Executes callable code (e.g.
- SimpleCollector<Child> - Class in io.prometheus.client
- SimpleCollector(SimpleCollector.Builder) - Constructor for class io.prometheus.client.SimpleCollector
- SimpleCollector.Builder<B extends SimpleCollector.Builder<B,C>,C extends SimpleCollector> - Class in io.prometheus.client
-
Builders let you configure and then create collectors.
- SimpleTimer - Class in io.prometheus.client
-
SimpleTimer, to measure elapsed duration in seconds as a double.
- SimpleTimer() - Constructor for class io.prometheus.client.SimpleTimer
- startTimer() - Method in class io.prometheus.client.Gauge.Child
-
Start a timer to track a duration.
- startTimer() - Method in class io.prometheus.client.Gauge
-
Start a timer to track a duration, for the gauge with no labels.
- startTimer() - Method in class io.prometheus.client.Histogram.Child
-
Start a timer to track a duration.
- startTimer() - Method in class io.prometheus.client.Histogram
-
Start a timer to track a duration on the histogram with no labels.
- startTimer() - Method in class io.prometheus.client.Summary.Child
-
Start a timer to track a duration.
- startTimer() - Method in class io.prometheus.client.Summary
-
Start a timer to track a duration on the summary with no labels.
- subsystem(String) - Method in class io.prometheus.client.SimpleCollector.Builder
-
Set the subsystem of the metric.
- sum - Variable in class io.prometheus.client.Histogram.Child.Value
- sum - Variable in class io.prometheus.client.Summary.Child.Value
- sum() - Method in class io.prometheus.client.DoubleAdder
-
Returns the current sum.
- Summary - Class in io.prometheus.client
-
Summary metric, to track the size of events.
- SUMMARY - io.prometheus.client.Collector.Type
- Summary.Builder - Class in io.prometheus.client
- Summary.Child - Class in io.prometheus.client
-
The value of a single Summary.
- Summary.Child.Value - Class in io.prometheus.client
- Summary.Timer - Class in io.prometheus.client
-
Represents an event being timed.
- SummaryMetricFamily - Class in io.prometheus.client
-
Summary metric family, for custom collectors and exporters.
- SummaryMetricFamily(String, String, double, double) - Constructor for class io.prometheus.client.SummaryMetricFamily
- SummaryMetricFamily(String, String, List<String>) - Constructor for class io.prometheus.client.SummaryMetricFamily
- SummaryMetricFamily(String, String, List<String>, List<Double>) - Constructor for class io.prometheus.client.SummaryMetricFamily
- sumThenReset() - Method in class io.prometheus.client.DoubleAdder
-
Equivalent in effect to
DoubleAdder.sum()followed byDoubleAdder.reset().
T
- time(Runnable) - Method in class io.prometheus.client.Histogram.Child
-
Executes runnable code (e.g.
- time(Runnable) - Method in class io.prometheus.client.Histogram
-
Executes runnable code (e.g.
- time(Runnable) - Method in class io.prometheus.client.Summary.Child
-
Executes runnable code (e.g.
- time(Runnable) - Method in class io.prometheus.client.Summary
-
Executes runnable code (e.g.
- time(Callable<E>) - Method in class io.prometheus.client.Histogram.Child
-
Executes callable code (e.g.
- time(Callable<E>) - Method in class io.prometheus.client.Histogram
-
Executes callable code (e.g.
- time(Callable<E>) - Method in class io.prometheus.client.Summary.Child
-
Executes callable code (e.g.
- time(Callable<E>) - Method in class io.prometheus.client.Summary
-
Executes callable code (e.g.
- timestampMs - Variable in class io.prometheus.client.Collector.MetricFamilySamples.Sample
- toString() - Method in class io.prometheus.client.Collector.MetricFamilySamples.Sample
- toString() - Method in class io.prometheus.client.Collector.MetricFamilySamples
- toString() - Method in class io.prometheus.client.DoubleAdder
-
Returns the String representation of the
DoubleAdder.sum(). - type - Variable in class io.prometheus.client.Collector.MetricFamilySamples
U
- unregister(Collector) - Method in class io.prometheus.client.CollectorRegistry
-
Unregister a Collector.
- UNTYPED - io.prometheus.client.Collector.Type
V
- value - Variable in class io.prometheus.client.Collector.MetricFamilySamples.Sample
- Value(double, double[]) - Constructor for class io.prometheus.client.Histogram.Child.Value
- valueOf(String) - Static method in enum io.prometheus.client.Collector.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.prometheus.client.Collector.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages