Skip navigation links
A B C D E F G H I L M N O R S T U V 

A

add(double) - Method in class io.prometheus.client.DoubleAdder
Adds the given value.

B

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.
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
 
Child() - Constructor for class io.prometheus.client.Summary.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.
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.MetricFamilySamples - Class in io.prometheus.client
A metric, and all of it's 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
 
Counter - Class in io.prometheus.client
Counter metric, to track counts of events or running totals.
Counter.Builder - Class in io.prometheus.client
 
Counter.Child - Class in io.prometheus.client
The value of a single Counter.
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(double) - Method in class io.prometheus.client.Gauge.Child
Decrement the gauge by the given amount.
dec() - Method in class io.prometheus.client.Gauge
Increment the gauge with no labels by 1.
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.
DoubleAdder - Class in io.prometheus.client
One or more variables that together maintain an initially zero double sum.
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 it's string representation in Go.
doubleValue() - Method in class io.prometheus.client.DoubleAdder
Equivalent to DoubleAdder.sum().

E

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

floatValue() - Method in class io.prometheus.client.DoubleAdder
Returns the DoubleAdder.sum() as a float after 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.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.
get() - Method in class io.prometheus.client.Counter.Child
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.Histogram.Child
Get the value of the Histogram.
get() - Method in class io.prometheus.client.Summary.Child
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(String) - Method in class io.prometheus.client.SimpleCollector.Builder
Set the help string of the metric.
help - Variable in class io.prometheus.client.SimpleCollector
 
Histogram - Class in io.prometheus.client
Histogram metric, to track distributions of events.
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(double) - Method in class io.prometheus.client.Counter.Child
Increment the counter by the given amount.
inc() - Method in class io.prometheus.client.Counter
Increment the counter with no labels by 1.
inc(double) - Method in class io.prometheus.client.Counter
Increment the counter with no labels by the given amount.
inc() - Method in class io.prometheus.client.Gauge.Child
Increment the gauge by 1.
inc(double) - Method in class io.prometheus.client.Gauge.Child
Increment the gauge by the given amount.
inc() - Method in class io.prometheus.client.Gauge
Increment the gauge with no labels by 1.
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 an int after a narrowing primitive conversion.
io.prometheus.client - package io.prometheus.client
 

L

labelNames - Variable in class io.prometheus.client.Collector.MetricFamilySamples.Sample
 
labelNames(String...) - Method in class io.prometheus.client.SimpleCollector.Builder
Set the labelNames of the metric.
labelNames - Variable in class io.prometheus.client.SimpleCollector
 
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 a long after a narrowing primitive conversion.

M

METRIC_LABEL_NAME_RE - Static variable in class io.prometheus.client.Collector
 
METRIC_NAME_RE - Static variable in class io.prometheus.client.Collector
 
MetricFamilySamples(String, Collector.Type, String, List<Collector.MetricFamilySamples.Sample>) - Constructor for class io.prometheus.client.Collector.MetricFamilySamples
 
metricFamilySamples() - Method in class io.prometheus.client.CollectorRegistry
Enumeration of metrics of all registered collectors.
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.

R

register() - Method in class io.prometheus.client.Collector
Register the Collector with the default registry.
register(CollectorRegistry) - Method in class io.prometheus.client.Collector
Register the Collector with the given registry.
register(Collector) - Method in class io.prometheus.client.CollectorRegistry
Register a Collector.
register() - Method in class io.prometheus.client.SimpleCollector.Builder
Create and register the Collector with the default 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.
RESERVED_METRIC_LABEL_NAME_RE - Static variable in class io.prometheus.client.Collector
 
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
 
samples - Variable in class io.prometheus.client.Collector.MetricFamilySamples
 
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.
SimpleCollector<Child> - Class in io.prometheus.client
Common functionality for Gauge, Counter, Summary and Histogram.
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.
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() - 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.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.
sumThenReset() - Method in class io.prometheus.client.DoubleAdder
Equivalent in effect to DoubleAdder.sum() followed by DoubleAdder.reset().

T

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.

V

value - Variable in class io.prometheus.client.Collector.MetricFamilySamples.Sample
 
Value() - Constructor for class io.prometheus.client.Histogram.Child.Value
 
Value() - Constructor for class io.prometheus.client.Summary.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.
A B C D E F G H I L M N O R S T U V 
Skip navigation links

Copyright © 2016. All rights reserved.