Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- accessBufferPoolMXBeans(Class<?>) - Static method in class io.prometheus.client.hotspot.BufferPoolsExports
- activateOptions() - Method in class io.prometheus.client.log4j.InstrumentedAppender
- add(double) - Method in class io.prometheus.client.DoubleAdder
-
Adds the given value.
- add(QueuedThreadPool, String) - Method in class io.prometheus.client.jetty.QueuedThreadPoolStatisticsCollector
- addCache(String, Cache) - Method in class io.prometheus.client.guava.cache.CacheMetricsCollector
-
Add or replace the cache with the given name.
- addClassLoadingMetrics(List<Collector.MetricFamilySamples>) - Method in class io.prometheus.client.hotspot.ClassLoadingExports
- addMemoryAreaMetrics(List<Collector.MetricFamilySamples>) - Method in class io.prometheus.client.hotspot.MemoryPoolsExports
- addMemoryPoolMetrics(List<Collector.MetricFamilySamples>) - Method in class io.prometheus.client.hotspot.MemoryPoolsExports
- 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
- addThreadMetrics(List<Collector.MetricFamilySamples>) - Method in class io.prometheus.client.hotspot.ThreadExports
- ageBuckets - Variable in class io.prometheus.client.Summary
- ageBuckets - Variable in class io.prometheus.client.Summary.Builder
- ageBuckets(int) - Method in class io.prometheus.client.Summary.Builder
- allocatedCounter - Variable in class io.prometheus.client.hotspot.MemoryAllocationExports
- AllocationCountingNotificationListener(Counter) - Constructor for class io.prometheus.client.hotspot.MemoryAllocationExports.AllocationCountingNotificationListener
- allowableError(int) - Method in class io.prometheus.client.CKMSQuantiles
-
Specifies the allowable error for this rank, depending on which quantiles are being targeted.
- append(ILoggingEvent) - Method in class io.prometheus.client.logback.InstrumentedAppender
- append(LoggingEvent) - Method in class io.prometheus.client.log4j.InstrumentedAppender
- append(LogEvent) - Method in class io.prometheus.client.log4j2.InstrumentedAppender
- autoDescribe - Variable in class io.prometheus.client.CollectorRegistry
B
- base - Variable in class io.prometheus.client.Striped64
-
Base value, used mainly when there is no contention, but also as a fallback during table initialization races.
- base64url(String) - Static method in class io.prometheus.client.exporter.PushGateway
- baseOffset - Static variable in class io.prometheus.client.Striped64
- basicAuthHeader - Variable in class io.prometheus.client.exporter.BasicAuthHttpConnectionFactory
- BasicAuthHttpConnectionFactory - Class in io.prometheus.client.exporter
- BasicAuthHttpConnectionFactory(HttpConnectionFactory, String, String) - Constructor for class io.prometheus.client.exporter.BasicAuthHttpConnectionFactory
- BasicAuthHttpConnectionFactory(String, String) - Constructor for class io.prometheus.client.exporter.BasicAuthHttpConnectionFactory
- BUCKET_CONFIG_PARAM - Static variable in class io.prometheus.client.filter.MetricsFilter
- buckets - Variable in class io.prometheus.client.filter.MetricsFilter
- buckets - Variable in class io.prometheus.client.Histogram
- buckets - Variable in class io.prometheus.client.Histogram.Builder
- 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.
- buffer - Variable in class io.prometheus.client.CKMSQuantiles
-
Buffers incoming items to be inserted in batch.
- bufferCount - Variable in class io.prometheus.client.CKMSQuantiles
- bufferPoolMXBeans - Variable in class io.prometheus.client.hotspot.BufferPoolsExports
- BufferPoolsExports - Class in io.prometheus.client.hotspot
-
Exports metrics about JVM buffers.
- BufferPoolsExports() - Constructor for class io.prometheus.client.hotspot.BufferPoolsExports
- 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.
- buildCounter(String, String, double) - Static method in class io.prometheus.client.jetty.JettyStatisticsCollector
- 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
- buildGauge(String, String, double) - Static method in class io.prometheus.client.jetty.JettyStatisticsCollector
- buildGauge(String, String, Function<QueuedThreadPool, Integer>) - Method in class io.prometheus.client.jetty.QueuedThreadPoolStatisticsCollector
- buildStatusCounter() - Method in class io.prometheus.client.jetty.JettyStatisticsCollector
- buildStatusSample(String, String, double) - Static method in class io.prometheus.client.jetty.JettyStatisticsCollector
- busy - Variable in class io.prometheus.client.Striped64
-
Spinlock (locked via CAS) used when resizing and/or creating Cells.
- busyOffset - Static variable in class io.prometheus.client.Striped64
C
- CacheMetricsCollector - Class in io.prometheus.client.guava.cache
-
Collect metrics from Guava's com.google.common.cache.Cache.
- CacheMetricsCollector() - Constructor for class io.prometheus.client.guava.cache.CacheMetricsCollector
- callLongGetter(Method, Object) - Static method in class io.prometheus.client.hotspot.StandardExports
-
Attempts to call a method either directly or via one of the implemented interfaces.
- callLongGetter(String, Object) - Static method in class io.prometheus.client.hotspot.StandardExports
- callLongMethond(Method, Object) - Method in class io.prometheus.client.hotspot.BufferPoolsExports
- cas(long, long) - Method in class io.prometheus.client.Striped64.Cell
- casBase(long, long) - Method in class io.prometheus.client.Striped64
-
CASes the base field.
- casBusy() - Method in class io.prometheus.client.Striped64
-
CASes the busy field from 0 to 1 to acquire lock.
- Cell(long) - Constructor for class io.prometheus.client.Striped64.Cell
- cells - Variable in class io.prometheus.client.Striped64
-
Table of cells.
- 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 - Variable in class io.prometheus.client.Gauge.Timer
- child - Variable in class io.prometheus.client.Histogram.Timer
- child - Variable in class io.prometheus.client.Summary.Timer
- Child() - Constructor for class io.prometheus.client.Counter.Child
- Child() - Constructor for class io.prometheus.client.Gauge.Child
- Child(double[]) - Constructor for class io.prometheus.client.Histogram.Child
- Child(List<CKMSQuantiles.Quantile>, long, int) - Constructor for class io.prometheus.client.Summary.Child
- children - Variable in class io.prometheus.client.guava.cache.CacheMetricsCollector
- children - Variable in class io.prometheus.client.SimpleCollector
- CKMSQuantiles - Class in io.prometheus.client
-
Implementation of the Cormode, Korn, Muthukrishnan, and Srivastava algorithm for streaming calculation of targeted high-percentile epsilon-approximate quantiles.
- CKMSQuantiles(CKMSQuantiles.Quantile[]) - Constructor for class io.prometheus.client.CKMSQuantiles
- CKMSQuantiles.Item - Class in io.prometheus.client
- CKMSQuantiles.Quantile - Class in io.prometheus.client
- ClassLoadingExports - Class in io.prometheus.client.hotspot
-
Exports metrics about JVM classloading.
- ClassLoadingExports() - Constructor for class io.prometheus.client.hotspot.ClassLoadingExports
- ClassLoadingExports(ClassLoadingMXBean) - Constructor for class io.prometheus.client.hotspot.ClassLoadingExports
- clBean - Variable in class io.prometheus.client.hotspot.ClassLoadingExports
- clear() - Method in class io.prometheus.client.CollectorRegistry
-
Unregister all Collectors.
- clear() - Method in class io.prometheus.client.guava.cache.CacheMetricsCollector
-
Remove all caches.
- 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.log4j.InstrumentedAppender
- 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.guava.cache.CacheMetricsCollector
- collect() - Method in class io.prometheus.client.Histogram
- collect() - Method in class io.prometheus.client.hotspot.BufferPoolsExports
- collect() - Method in class io.prometheus.client.hotspot.ClassLoadingExports
- collect() - Method in class io.prometheus.client.hotspot.GarbageCollectorExports
- collect() - Method in class io.prometheus.client.hotspot.MemoryAllocationExports
- collect() - Method in class io.prometheus.client.hotspot.MemoryPoolsExports
- collect() - Method in class io.prometheus.client.hotspot.StandardExports
- collect() - Method in class io.prometheus.client.hotspot.ThreadExports
- collect() - Method in class io.prometheus.client.hotspot.VersionInfoExports
- collect() - Method in class io.prometheus.client.jetty.JettyStatisticsCollector
- collect() - Method in class io.prometheus.client.jetty.QueuedThreadPoolStatisticsCollector
- collect() - Method in class io.prometheus.client.Summary
- collectMemoryMetricsLinux(List<Collector.MetricFamilySamples>) - Method in class io.prometheus.client.hotspot.StandardExports
- 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
- collectorIter - Variable in class io.prometheus.client.CollectorRegistry.MetricFamilySamplesEnumeration
- collectorNames(Collector) - Method in class io.prometheus.client.CollectorRegistry
- 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
- CollectorRegistry.MetricFamilySamplesEnumeration - Class in io.prometheus.client
- collectors() - Method in class io.prometheus.client.CollectorRegistry
-
A snapshot of the current collectors.
- collectorsToNames - Variable in class io.prometheus.client.CollectorRegistry
- compress() - Method in class io.prometheus.client.CKMSQuantiles
-
Try to remove extraneous items from the set of sampled items.
- compressIdx - Variable in class io.prometheus.client.CKMSQuantiles
-
Used for tracking incremental compression.
- connectionFactory - Variable in class io.prometheus.client.exporter.PushGateway
- CONTENT_TYPE_004 - Static variable in class io.prometheus.client.exporter.common.TextFormat
-
Content-type for text version 0.0.4.
- count - Variable in class io.prometheus.client.CKMSQuantiles
-
Total number of items in stream.
- count - Variable in class io.prometheus.client.Summary.Child
- count - Variable in class io.prometheus.client.Summary.Child.Value
- counter - Variable in class io.prometheus.client.hotspot.MemoryAllocationExports.AllocationCountingNotificationListener
- Counter - Class in io.prometheus.client
-
Counter metric, to track counts of events or running totals.
- Counter(Counter.Builder) - Constructor for class io.prometheus.client.Counter
- COUNTER - Enum constant in enum io.prometheus.client.Collector.Type
- COUNTER - Static variable in class io.prometheus.client.log4j.InstrumentedAppender
- COUNTER - Static variable in class io.prometheus.client.log4j2.InstrumentedAppender
- COUNTER - Static variable in class io.prometheus.client.logback.InstrumentedAppender
- COUNTER_NAME - Static variable in class io.prometheus.client.log4j.InstrumentedAppender
- COUNTER_NAME - Static variable in class io.prometheus.client.log4j2.InstrumentedAppender
- COUNTER_NAME - Static variable in class io.prometheus.client.logback.InstrumentedAppender
- 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
- create(String) - Method in class io.prometheus.client.exporter.BasicAuthHttpConnectionFactory
- create(String) - Method in class io.prometheus.client.exporter.DefaultHttpConnectionFactory
- create(String) - Method in interface io.prometheus.client.exporter.HttpConnectionFactory
- createAppender(String) - Static method in class io.prometheus.client.log4j2.InstrumentedAppender
- createURLSneakily(String) - Static method in class io.prometheus.client.exporter.PushGateway
-
Creates a URL instance from a String representation of a URL without throwing a checked exception.
- cumulativeCounts - Variable in class io.prometheus.client.Histogram.Child
- currentBucket - Variable in class io.prometheus.client.TimeWindowQuantiles
- currentTimeMillis() - Method in class io.prometheus.client.Gauge.TimeProvider
D
- daemon - Variable in class io.prometheus.client.exporter.HTTPServer.NamedDaemonThreadFactory
- DEBUG_LABEL - Static variable in class io.prometheus.client.log4j.InstrumentedAppender
- DEBUG_LABEL - Static variable in class io.prometheus.client.log4j2.InstrumentedAppender
- DEBUG_LABEL - Static variable in class io.prometheus.client.logback.InstrumentedAppender
- 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.
- DefaultExports - Class in io.prometheus.client.hotspot
-
Registers the default Hotspot collectors.
- DefaultExports() - Constructor for class io.prometheus.client.hotspot.DefaultExports
- DefaultHttpConnectionFactory - Class in io.prometheus.client.exporter
- DefaultHttpConnectionFactory() - Constructor for class io.prometheus.client.exporter.DefaultHttpConnectionFactory
- defaultRegistry - Static variable in class io.prometheus.client.CollectorRegistry
-
The default registry.
- defaultThreadFactory(boolean) - Static method in class io.prometheus.client.exporter.HTTPServer.NamedDaemonThreadFactory
- defaultTimeProvider - Static variable in class io.prometheus.client.SimpleTimer
- delegate - Variable in class io.prometheus.client.exporter.HTTPServer.NamedDaemonThreadFactory
- delete(String) - Method in class io.prometheus.client.exporter.PushGateway
-
Deletes metrics from the Pushgateway.
- delete(String, String) - Method in class io.prometheus.client.exporter.PushGateway
-
Deprecated.
- delete(String, Map<String, String>) - Method in class io.prometheus.client.exporter.PushGateway
-
Deletes metrics from the Pushgateway.
- delta - Variable in class io.prometheus.client.CKMSQuantiles.Item
- 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
- destroy() - Method in class io.prometheus.client.filter.MetricsFilter
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class io.prometheus.client.filter.MetricsFilter
- doGet(HttpServletRequest, HttpServletResponse) - Method in class io.prometheus.client.exporter.MetricsServlet
- dontInitializeNoLabelsChild - Variable in class io.prometheus.client.SimpleCollector.Builder
- doPost(HttpServletRequest, HttpServletResponse) - Method in class io.prometheus.client.exporter.MetricsServlet
- doRequest(CollectorRegistry, String, Map<String, String>, String) - Method in class io.prometheus.client.exporter.PushGateway
- 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 its string representation in Go.
- doubleValue() - Method in class io.prometheus.client.DoubleAdder
-
Equivalent to
DoubleAdder.sum()
. - durationBetweenRotatesMillis - Variable in class io.prometheus.client.TimeWindowQuantiles
E
- elapsedSeconds() - Method in class io.prometheus.client.SimpleTimer
- elapsedSecondsFromNanos(long, long) - Static method in class io.prometheus.client.SimpleTimer
- EMPTY_LIST - Static variable in class io.prometheus.client.jetty.JettyStatisticsCollector
- encode(String, String) - Method in class io.prometheus.client.exporter.BasicAuthHttpConnectionFactory
- equals(Object) - Method in class io.prometheus.client.Collector.MetricFamilySamples
- equals(Object) - Method in class io.prometheus.client.Collector.MetricFamilySamples.Sample
- error - Variable in class io.prometheus.client.CKMSQuantiles.Quantile
- ERROR_LABEL - Static variable in class io.prometheus.client.log4j.InstrumentedAppender
- ERROR_LABEL - Static variable in class io.prometheus.client.log4j2.InstrumentedAppender
- ERROR_LABEL - Static variable in class io.prometheus.client.logback.InstrumentedAppender
- executorService - Variable in class io.prometheus.client.exporter.HTTPServer
- 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
- FATAL_LABEL - Static variable in class io.prometheus.client.log4j.InstrumentedAppender
- FATAL_LABEL - Static variable in class io.prometheus.client.log4j2.InstrumentedAppender
- filter(Collector.MetricFamilySamples) - Method in class io.prometheus.client.CollectorRegistry.MetricFamilySamplesEnumeration
- filteredMetricFamilySamples(Set<String>) - Method in class io.prometheus.client.CollectorRegistry
-
Enumeration of metrics matching the specified names.
- findNextElement() - Method in class io.prometheus.client.CollectorRegistry.MetricFamilySamplesEnumeration
- floatValue() - Method in class io.prometheus.client.DoubleAdder
-
Returns the
DoubleAdder.sum()
as afloat
after a narrowing primitive conversion. - fn(long, long) - Method in class io.prometheus.client.DoubleAdder
-
Update function.
- fn(long, long) - Method in class io.prometheus.client.Striped64
-
Computes the function of current and new value.
- fullname - Variable in class io.prometheus.client.SimpleCollector.Builder
- fullname - Variable in class io.prometheus.client.SimpleCollector
G
- g - Variable in class io.prometheus.client.CKMSQuantiles.Item
- GarbageCollectorExports - Class in io.prometheus.client.hotspot
-
Exports metrics about JVM garbage collectors.
- GarbageCollectorExports() - Constructor for class io.prometheus.client.hotspot.GarbageCollectorExports
- GarbageCollectorExports(List<GarbageCollectorMXBean>) - Constructor for class io.prometheus.client.hotspot.GarbageCollectorExports
- garbageCollectors - Variable in class io.prometheus.client.hotspot.GarbageCollectorExports
- gatewayBaseURL - Variable in class io.prometheus.client.exporter.PushGateway
- Gauge - Class in io.prometheus.client
-
Gauge metric, to report instantaneous values.
- Gauge(Gauge.Builder) - Constructor for class io.prometheus.client.Gauge
- GAUGE - Enum constant in enum 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.TimeProvider - Class in io.prometheus.client
- 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.
- get(double) - Method in class io.prometheus.client.CKMSQuantiles
-
Get the estimated value at the specified quantile.
- get(double) - Method in class io.prometheus.client.TimeWindowQuantiles
- getAndSet(Map<String, Long>, String, long) - Static method in class io.prometheus.client.hotspot.MemoryAllocationExports.AllocationCountingNotificationListener
- getBuckets() - Method in class io.prometheus.client.Histogram
- getComponents(String) - Method in class io.prometheus.client.filter.MetricsFilter
- getCount - Variable in class io.prometheus.client.hotspot.BufferPoolsExports
- getGarbageCollectorMXBeans() - Method in class io.prometheus.client.hotspot.MemoryAllocationExports
- getMemoryUsed - Variable in class io.prometheus.client.hotspot.BufferPoolsExports
- getName - Variable in class io.prometheus.client.hotspot.BufferPoolsExports
- getName(Object) - Method in class io.prometheus.client.hotspot.BufferPoolsExports
- getPort() - Method in class io.prometheus.client.exporter.HTTPServer
-
Gets the port number.
- 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.
- getThreadStateCountMap() - Method in class io.prometheus.client.hotspot.ThreadExports
- getTotalCapacity - Variable in class io.prometheus.client.hotspot.BufferPoolsExports
- getUnsafe() - Static method in class io.prometheus.client.Striped64
-
Returns a sun.misc.Unsafe.
- Graphite - Class in io.prometheus.client.bridge
-
Export metrics in the Graphite plaintext format.
- Graphite(String, int) - Constructor for class io.prometheus.client.bridge.Graphite
-
Construct a Graphite Bridge with the given host:port.
- Graphite.PushThread - Class in io.prometheus.client.bridge
H
- handle(HttpExchange) - Method in class io.prometheus.client.exporter.HTTPServer.HTTPMetricHandler
- handleMemoryPool(String, long, long) - Method in class io.prometheus.client.hotspot.MemoryAllocationExports.AllocationCountingNotificationListener
- handleNotification(Notification, Object) - Method in class io.prometheus.client.hotspot.MemoryAllocationExports.AllocationCountingNotificationListener
- hashCode() - Method in class io.prometheus.client.Collector.MetricFamilySamples
- hashCode() - Method in class io.prometheus.client.Collector.MetricFamilySamples.Sample
- hasMoreElements() - Method in class io.prometheus.client.CollectorRegistry.MetricFamilySamplesEnumeration
- help - Variable in class io.prometheus.client.Collector.MetricFamilySamples
- help - Variable in class io.prometheus.client.filter.MetricsFilter
- help - Variable in class io.prometheus.client.SimpleCollector.Builder
- 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.
- HELP_PARAM - Static variable in class io.prometheus.client.filter.MetricsFilter
- histogram - Variable in class io.prometheus.client.filter.MetricsFilter
- Histogram - Class in io.prometheus.client
-
Histogram metric, to track distributions of events.
- Histogram(Histogram.Builder) - Constructor for class io.prometheus.client.Histogram
- HISTOGRAM - Enum constant in enum 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.
- host - Variable in class io.prometheus.client.bridge.Graphite
- HttpConnectionFactory - Interface in io.prometheus.client.exporter
- HTTPMetricHandler(CollectorRegistry) - Constructor for class io.prometheus.client.exporter.HTTPServer.HTTPMetricHandler
- HTTPServer - Class in io.prometheus.client.exporter
-
Expose Prometheus metrics using a plain Java HttpServer.
- HTTPServer(int) - Constructor for class io.prometheus.client.exporter.HTTPServer
-
Start a HTTP server serving the default Prometheus registry using non-daemon threads.
- HTTPServer(int, boolean) - Constructor for class io.prometheus.client.exporter.HTTPServer
-
Start a HTTP server serving the default Prometheus registry.
- HTTPServer(HttpServer, CollectorRegistry, boolean) - Constructor for class io.prometheus.client.exporter.HTTPServer
-
Start a HTTP server serving Prometheus metrics from the given registry using the given
HttpServer
. - HTTPServer(String, int) - Constructor for class io.prometheus.client.exporter.HTTPServer
-
Start a HTTP server serving the default Prometheus registry using non-daemon threads.
- HTTPServer(String, int, boolean) - Constructor for class io.prometheus.client.exporter.HTTPServer
-
Start a HTTP server serving the default Prometheus registry.
- HTTPServer(InetSocketAddress, CollectorRegistry) - Constructor for class io.prometheus.client.exporter.HTTPServer
-
Start a HTTP server serving Prometheus metrics from the given registry using non-daemon threads.
- HTTPServer(InetSocketAddress, CollectorRegistry, boolean) - Constructor for class io.prometheus.client.exporter.HTTPServer
-
Start a HTTP server serving Prometheus metrics from the given registry.
- HTTPServer.HTTPMetricHandler - Class in io.prometheus.client.exporter
- HTTPServer.LocalByteArray - Class in io.prometheus.client.exporter
- HTTPServer.NamedDaemonThreadFactory - Class in io.prometheus.client.exporter
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.
- includedCollectorIterator(Set<String>) - Method in class io.prometheus.client.CollectorRegistry.MetricFamilySamplesEnumeration
- includedNames - Variable in class io.prometheus.client.CollectorRegistry.MetricFamilySamplesEnumeration
- INFO_LABEL - Static variable in class io.prometheus.client.log4j.InstrumentedAppender
- INFO_LABEL - Static variable in class io.prometheus.client.log4j2.InstrumentedAppender
- INFO_LABEL - Static variable in class io.prometheus.client.logback.InstrumentedAppender
- init(FilterConfig) - Method in class io.prometheus.client.filter.MetricsFilter
- Initialization - Search tag in class io.prometheus.client.SimpleCollector
- Section
- initialize() - Static method in class io.prometheus.client.hotspot.DefaultExports
-
Register the default Hotspot collectors with the default registry.
- initialized - Static variable in class io.prometheus.client.hotspot.DefaultExports
- initializeNoLabelsChild() - Method in class io.prometheus.client.SimpleCollector
-
Initialize the child with no labels.
- initialValue() - Method in class io.prometheus.client.exporter.HTTPServer.LocalByteArray
- insert(double) - Method in class io.prometheus.client.CKMSQuantiles
-
Add a new value from the stream.
- insert(double) - Method in class io.prometheus.client.TimeWindowQuantiles
- insertBatch() - Method in class io.prometheus.client.CKMSQuantiles
- instanceIPGroupingKey() - Static method in class io.prometheus.client.exporter.PushGateway
-
Returns a grouping key with the instance label set to the machine's IP address.
- InstrumentedAppender - Class in io.prometheus.client.log4j
- InstrumentedAppender - Class in io.prometheus.client.log4j2
-
Log4j2 log statements at various log levels
- InstrumentedAppender - Class in io.prometheus.client.logback
- InstrumentedAppender() - Constructor for class io.prometheus.client.log4j.InstrumentedAppender
-
Create a new instrumented appender using the default registry.
- InstrumentedAppender() - Constructor for class io.prometheus.client.logback.InstrumentedAppender
-
Create a new instrumented appender using the default registry.
- InstrumentedAppender(String) - Constructor for class io.prometheus.client.log4j2.InstrumentedAppender
-
Create a new instrumented appender using the default registry.
- internalReset(long) - Method in class io.prometheus.client.Striped64
-
Sets base and all cells to the given value.
- intervalSeconds - Variable in class io.prometheus.client.bridge.Graphite.PushThread
- intValue() - Method in class io.prometheus.client.DoubleAdder
-
Returns the
DoubleAdder.sum()
as anint
after a narrowing primitive conversion. - INVALID_GRAPHITE_CHARS - Static variable in class io.prometheus.client.bridge.Graphite
- io.prometheus.client - package io.prometheus.client
- io.prometheus.client.bridge - package io.prometheus.client.bridge
- io.prometheus.client.exporter - package io.prometheus.client.exporter
- io.prometheus.client.exporter.common - package io.prometheus.client.exporter.common
- io.prometheus.client.filter - package io.prometheus.client.filter
- io.prometheus.client.guava.cache - package io.prometheus.client.guava.cache
- io.prometheus.client.hotspot - package io.prometheus.client.hotspot
- io.prometheus.client.jetty - package io.prometheus.client.jetty
- io.prometheus.client.log4j - package io.prometheus.client.log4j
- io.prometheus.client.log4j2 - package io.prometheus.client.log4j2
- io.prometheus.client.logback - package io.prometheus.client.logback
- isEmpty(String) - Method in class io.prometheus.client.filter.MetricsFilter
- Item(double, int, int) - Constructor for class io.prometheus.client.CKMSQuantiles.Item
J
- JettyStatisticsCollector - Class in io.prometheus.client.jetty
-
Collect metrics from jetty's org.eclipse.jetty.server.handler.StatisticsHandler.
- JettyStatisticsCollector(StatisticsHandler) - Constructor for class io.prometheus.client.jetty.JettyStatisticsCollector
K
- KB - Static variable in class io.prometheus.client.hotspot.StandardExports
L
- LABEL_NAMES - Static variable in class io.prometheus.client.jetty.QueuedThreadPoolStatisticsCollector
- labelNames - Variable in class io.prometheus.client.Collector.MetricFamilySamples.Sample
- labelNames - Variable in class io.prometheus.client.CounterMetricFamily
- labelNames - Variable in class io.prometheus.client.GaugeMetricFamily
- labelNames - Variable in class io.prometheus.client.SimpleCollector.Builder
- labelNames - Variable in class io.prometheus.client.SimpleCollector
- labelNames - Variable in class io.prometheus.client.SummaryMetricFamily
- 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.
- Labels - Search tag in class io.prometheus.client.SimpleCollector
- Section
- labelValues - Variable in class io.prometheus.client.Collector.MetricFamilySamples.Sample
- lastMemoryUsage - Variable in class io.prometheus.client.hotspot.MemoryAllocationExports.AllocationCountingNotificationListener
- lastRotateTimestampMillis - Variable in class io.prometheus.client.TimeWindowQuantiles
- 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.
- linux - Variable in class io.prometheus.client.hotspot.StandardExports
- LocalByteArray() - Constructor for class io.prometheus.client.exporter.HTTPServer.LocalByteArray
- logger - Static variable in class io.prometheus.client.bridge.Graphite
- LOGGER - Static variable in class io.prometheus.client.hotspot.BufferPoolsExports
- LOGGER - Static variable in class io.prometheus.client.hotspot.StandardExports
- longValue() - Method in class io.prometheus.client.DoubleAdder
-
Returns the
DoubleAdder.sum()
as along
after a narrowing primitive conversion.
M
- maxAgeSeconds - Variable in class io.prometheus.client.Summary.Builder
- maxAgeSeconds - Variable in class io.prometheus.client.Summary
- maxAgeSeconds(long) - Method in class io.prometheus.client.Summary.Builder
- MemoryAllocationExports - Class in io.prometheus.client.hotspot
- MemoryAllocationExports() - Constructor for class io.prometheus.client.hotspot.MemoryAllocationExports
- MemoryAllocationExports.AllocationCountingNotificationListener - Class in io.prometheus.client.hotspot
- memoryBean - Variable in class io.prometheus.client.hotspot.MemoryPoolsExports
- MemoryPoolsExports - Class in io.prometheus.client.hotspot
-
Exports metrics about JVM memory areas.
- MemoryPoolsExports() - Constructor for class io.prometheus.client.hotspot.MemoryPoolsExports
- MemoryPoolsExports(MemoryMXBean, List<MemoryPoolMXBean>) - Constructor for class io.prometheus.client.hotspot.MemoryPoolsExports
- METRIC_LABEL_NAME_RE - Static variable in class io.prometheus.client.Collector
- METRIC_NAME_PARAM - Static variable in class io.prometheus.client.filter.MetricsFilter
- METRIC_NAME_RE - Static variable in class io.prometheus.client.Collector
- metricFamilySamples - Variable in class io.prometheus.client.CollectorRegistry.MetricFamilySamplesEnumeration
- 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
- MetricFamilySamplesEnumeration() - Constructor for class io.prometheus.client.CollectorRegistry.MetricFamilySamplesEnumeration
- MetricFamilySamplesEnumeration(Set<String>) - Constructor for class io.prometheus.client.CollectorRegistry.MetricFamilySamplesEnumeration
- metricName - Variable in class io.prometheus.client.filter.MetricsFilter
- MetricsFilter - Class in io.prometheus.client.filter
-
The MetricsFilter class exists to provide a high-level filter that enables tunable collection of metrics for Servlet performance.
- MetricsFilter() - Constructor for class io.prometheus.client.filter.MetricsFilter
- MetricsFilter(String, String, Integer, double[]) - Constructor for class io.prometheus.client.filter.MetricsFilter
- MetricsServlet - Class in io.prometheus.client.exporter
-
The MetricsServlet class exists to provide a simple way of exposing the metrics values.
- MetricsServlet() - Constructor for class io.prometheus.client.exporter.MetricsServlet
-
Construct a MetricsServlet for the default registry.
- MetricsServlet(CollectorRegistry) - Constructor for class io.prometheus.client.exporter.MetricsServlet
-
Construct a MetricsServlet for the given registry.
- MILLISECONDS_PER_SECOND - Static variable in class io.prometheus.client.Collector
-
Number of milliseconds in a second.
- MILLISECONDS_PER_SECOND - Static variable in class io.prometheus.client.exporter.PushGateway
N
- name - Variable in class io.prometheus.client.Collector.MetricFamilySamples
- name - Variable in class io.prometheus.client.Collector.MetricFamilySamples.Sample
- name - Variable in class io.prometheus.client.SimpleCollector.Builder
- name(String) - Method in class io.prometheus.client.SimpleCollector.Builder
-
Set the name of the metric.
- NamedDaemonThreadFactory(ThreadFactory, boolean) - Constructor for class io.prometheus.client.exporter.HTTPServer.NamedDaemonThreadFactory
- namesCollectorsLock - Variable in class io.prometheus.client.CollectorRegistry
- namespace - Variable in class io.prometheus.client.SimpleCollector.Builder
- namespace(String) - Method in class io.prometheus.client.SimpleCollector.Builder
-
Set the namespace of the metric.
- namesToCollectors - Variable in class io.prometheus.client.CollectorRegistry
- NANOSECONDS_PER_SECOND - Static variable in class io.prometheus.client.Collector
-
Number of nanoseconds in a second.
- nanoTime() - Method in class io.prometheus.client.Gauge.TimeProvider
- nanoTime() - Method in class io.prometheus.client.SimpleTimer.TimeProvider
- NCPU - Static variable in class io.prometheus.client.Striped64
-
Number of CPUS, to place bound on table size
- 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
- newThread(Runnable) - Method in class io.prometheus.client.exporter.HTTPServer.NamedDaemonThreadFactory
- next - Variable in class io.prometheus.client.CollectorRegistry.MetricFamilySamplesEnumeration
- nextElement() - Method in class io.prometheus.client.CollectorRegistry.MetricFamilySamplesEnumeration
- noLabelsChild - Variable in class io.prometheus.client.SimpleCollector
- nullSafeArrayLength(long[]) - Static method in class io.prometheus.client.hotspot.ThreadExports
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. - originConnectionFactory - Variable in class io.prometheus.client.exporter.BasicAuthHttpConnectionFactory
- osBean - Variable in class io.prometheus.client.hotspot.StandardExports
P
- p0 - Variable in class io.prometheus.client.Striped64.Cell
- p1 - Variable in class io.prometheus.client.Striped64.Cell
- p2 - Variable in class io.prometheus.client.Striped64.Cell
- p3 - Variable in class io.prometheus.client.Striped64.Cell
- p4 - Variable in class io.prometheus.client.Striped64.Cell
- p5 - Variable in class io.prometheus.client.Striped64.Cell
- p6 - Variable in class io.prometheus.client.Striped64.Cell
- parse(HttpServletRequest) - Method in class io.prometheus.client.exporter.MetricsServlet
- parseQuery(String) - Static method in class io.prometheus.client.exporter.HTTPServer
- PATH_COMPONENT_PARAM - Static variable in class io.prometheus.client.filter.MetricsFilter
- pathComponents - Variable in class io.prometheus.client.filter.MetricsFilter
- POOL_NUMBER - Static variable in class io.prometheus.client.exporter.HTTPServer.NamedDaemonThreadFactory
- poolBeans - Variable in class io.prometheus.client.hotspot.MemoryPoolsExports
- poolNumber - Variable in class io.prometheus.client.exporter.HTTPServer.NamedDaemonThreadFactory
- port - Variable in class io.prometheus.client.bridge.Graphite
- procSelfStatusReader() - Method in class io.prometheus.client.hotspot.StandardExports.StatusReader
- push(CollectorRegistry) - Method in class io.prometheus.client.bridge.Graphite
-
Push samples from the given registry to Graphite.
- push(CollectorRegistry, String) - Method in class io.prometheus.client.exporter.PushGateway
-
Pushes all metrics in a registry, replacing all those with the same job and no grouping key.
- push(CollectorRegistry, String, String) - Method in class io.prometheus.client.exporter.PushGateway
-
Deprecated.
- push(CollectorRegistry, String, Map<String, String>) - Method in class io.prometheus.client.exporter.PushGateway
-
Pushes all metrics in a registry, replacing all those with the same job and grouping key.
- push(Collector, String) - Method in class io.prometheus.client.exporter.PushGateway
-
Pushes all metrics in a Collector, replacing all those with the same job and no grouping key.
- push(Collector, String, String) - Method in class io.prometheus.client.exporter.PushGateway
-
Deprecated.
- push(Collector, String, Map<String, String>) - Method in class io.prometheus.client.exporter.PushGateway
-
Pushes all metrics in a Collector, replacing all those with the same job and grouping key.
- pushAdd(CollectorRegistry, String) - Method in class io.prometheus.client.exporter.PushGateway
-
Pushes all metrics in a registry, replacing only previously pushed metrics of the same name and job and no grouping key.
- pushAdd(CollectorRegistry, String, String) - Method in class io.prometheus.client.exporter.PushGateway
-
Deprecated.
- pushAdd(CollectorRegistry, String, Map<String, String>) - Method in class io.prometheus.client.exporter.PushGateway
-
Pushes all metrics in a registry, replacing only previously pushed metrics of the same name, job and grouping key.
- pushAdd(Collector, String) - Method in class io.prometheus.client.exporter.PushGateway
-
Pushes all metrics in a Collector, replacing only previously pushed metrics of the same name and job and no grouping key.
- pushAdd(Collector, String, String) - Method in class io.prometheus.client.exporter.PushGateway
-
Deprecated.
- pushAdd(Collector, String, Map<String, String>) - Method in class io.prometheus.client.exporter.PushGateway
-
Pushes all metrics in a Collector, replacing only previously pushed metrics of the same name, job and grouping key.
- PushGateway - Class in io.prometheus.client.exporter
-
Export metrics via the Prometheus Pushgateway.
- PushGateway(String) - Constructor for class io.prometheus.client.exporter.PushGateway
-
Construct a Pushgateway, with the given address.
- PushGateway(URL) - Constructor for class io.prometheus.client.exporter.PushGateway
-
Construct a Pushgateway, with the given URL.
- PushThread(CollectorRegistry, int) - Constructor for class io.prometheus.client.bridge.Graphite.PushThread
Q
- q0 - Variable in class io.prometheus.client.Striped64.Cell
- q1 - Variable in class io.prometheus.client.Striped64.Cell
- q2 - Variable in class io.prometheus.client.Striped64.Cell
- q3 - Variable in class io.prometheus.client.Striped64.Cell
- q4 - Variable in class io.prometheus.client.Striped64.Cell
- q5 - Variable in class io.prometheus.client.Striped64.Cell
- q6 - Variable in class io.prometheus.client.Striped64.Cell
- quantile - Variable in class io.prometheus.client.CKMSQuantiles.Quantile
- quantile(double, double) - Method in class io.prometheus.client.Summary.Builder
- Quantile(double, double) - Constructor for class io.prometheus.client.CKMSQuantiles.Quantile
- quantiles - Variable in class io.prometheus.client.CKMSQuantiles
-
Array of Quantiles that we care about, along with desired error.
- quantiles - Variable in class io.prometheus.client.Summary.Builder
- quantiles - Variable in class io.prometheus.client.Summary.Child
- quantiles - Variable in class io.prometheus.client.Summary.Child.Value
- quantiles - Variable in class io.prometheus.client.Summary
- quantiles - Variable in class io.prometheus.client.SummaryMetricFamily
- quantiles - Variable in class io.prometheus.client.TimeWindowQuantiles
- quantileValues - Variable in class io.prometheus.client.Summary.Child
- queuedThreadPoolMap - Variable in class io.prometheus.client.jetty.QueuedThreadPoolStatisticsCollector
- QueuedThreadPoolStatisticsCollector - Class in io.prometheus.client.jetty
- QueuedThreadPoolStatisticsCollector() - Constructor for class io.prometheus.client.jetty.QueuedThreadPoolStatisticsCollector
- QueuedThreadPoolStatisticsCollector(QueuedThreadPool, String) - Constructor for class io.prometheus.client.jetty.QueuedThreadPoolStatisticsCollector
R
- readFromStream(InputStream) - Static method in class io.prometheus.client.exporter.PushGateway
- readObject(ObjectInputStream) - Method in class io.prometheus.client.DoubleAdder
- 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) - Static method in class io.prometheus.client.hotspot.DefaultExports
-
Register the default Hotspot collectors with the given registry.
- register(CollectorRegistry) - Method in class io.prometheus.client.jetty.QueuedThreadPoolStatisticsCollector
- register(CollectorRegistry) - Method in class io.prometheus.client.SimpleCollector.Builder
-
Create and register the Collector with the given registry.
- registry - Variable in class io.prometheus.client.bridge.Graphite.PushThread
- registry - Variable in class io.prometheus.client.exporter.HTTPServer.HTTPMetricHandler
- registry - Variable in class io.prometheus.client.exporter.MetricsServlet
- remove(String...) - Method in class io.prometheus.client.SimpleCollector
-
Remove the Child with the given labels.
- removeCache(String) - Method in class io.prometheus.client.guava.cache.CacheMetricsCollector
-
Remove the cache with the given name.
- requiresLayout() - Method in class io.prometheus.client.log4j.InstrumentedAppender
- 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.
- response - Variable in class io.prometheus.client.exporter.HTTPServer.HTTPMetricHandler
- retryUpdate(long, int[], boolean) - Method in class io.prometheus.client.Striped64
-
Handles cases of updates involving initialization, resizing, creating new Cells, and/or contention.
- ringBuffer - Variable in class io.prometheus.client.TimeWindowQuantiles
- rng - Static variable in class io.prometheus.client.Striped64
-
Generator of new random hash codes
- rotate() - Method in class io.prometheus.client.TimeWindowQuantiles
- run() - Method in class io.prometheus.client.bridge.Graphite.PushThread
- runtimeBean - Variable in class io.prometheus.client.hotspot.StandardExports
S
- sample - Variable in class io.prometheus.client.CKMSQuantiles
-
Current list of sampled items, maintained in sorted order with error bounds.
- 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
- SANITIZE_BODY_PATTERN - Static variable in class io.prometheus.client.Collector
- SANITIZE_PREFIX_PATTERN - Static variable in class io.prometheus.client.Collector
- sanitizeMetricName(String) - Static method in class io.prometheus.client.Collector
-
Sanitize metric name
- serialVersionUID - Static variable in class io.prometheus.client.DoubleAdder
- server - Variable in class io.prometheus.client.exporter.HTTPServer
- 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.
- setConnectionFactory(HttpConnectionFactory) - Method in class io.prometheus.client.exporter.PushGateway
- 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.
- shouldUseCompression(HttpExchange) - Static method in class io.prometheus.client.exporter.HTTPServer
- SimpleCollector<Child> - Class in io.prometheus.client
- SimpleCollector(SimpleCollector.Builder) - Constructor for class io.prometheus.client.SimpleCollector
- SimpleCollector.Builder<B,
C> - 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
- SimpleTimer(SimpleTimer.TimeProvider) - Constructor for class io.prometheus.client.SimpleTimer
- SimpleTimer.TimeProvider - Class in io.prometheus.client
- snapshot(List<CKMSQuantiles.Quantile>, TimeWindowQuantiles) - Method in class io.prometheus.client.Summary.Child.Value
- StandardExports - Class in io.prometheus.client.hotspot
-
Exports the standard exports common across all prometheus clients.
- StandardExports() - Constructor for class io.prometheus.client.hotspot.StandardExports
- StandardExports(StandardExports.StatusReader, OperatingSystemMXBean, RuntimeMXBean) - Constructor for class io.prometheus.client.hotspot.StandardExports
- StandardExports.StatusReader - Class in io.prometheus.client.hotspot
- start - Variable in class io.prometheus.client.Gauge.Timer
- start - Variable in class io.prometheus.client.Histogram.Timer
- start - Variable in class io.prometheus.client.SimpleTimer
- start - Variable in class io.prometheus.client.Summary.Timer
- start() - Method in class io.prometheus.client.logback.InstrumentedAppender
- start(boolean) - Method in class io.prometheus.client.exporter.HTTPServer
-
Start a HTTP server by making sure that its background thread inherit proper daemon flag.
- start(CollectorRegistry) - Method in class io.prometheus.client.bridge.Graphite
-
Push samples from the given registry to Graphite every minute.
- start(CollectorRegistry, int) - Method in class io.prometheus.client.bridge.Graphite
-
Push samples from the given registry to Graphite at the given interval.
- 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.
- statisticsHandler - Variable in class io.prometheus.client.jetty.JettyStatisticsCollector
- statusReader - Variable in class io.prometheus.client.hotspot.StandardExports
- StatusReader() - Constructor for class io.prometheus.client.hotspot.StandardExports.StatusReader
- stop() - Method in class io.prometheus.client.exporter.HTTPServer
-
Stop the HTTP server.
- Striped64 - Class in io.prometheus.client
-
A package-local class holding common representation and mechanics for classes supporting dynamic striping on 64bit values.
- Striped64() - Constructor for class io.prometheus.client.Striped64
-
Package-private default constructor
- Striped64.Cell - Class in io.prometheus.client
-
Padded variant of AtomicLong supporting only raw accesses plus CAS.
- subsystem - Variable in class io.prometheus.client.SimpleCollector.Builder
- 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
- sum - Variable in class io.prometheus.client.Histogram.Child.Value
- sum - Variable in class io.prometheus.client.Summary.Child
- 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(Summary.Builder) - Constructor for class io.prometheus.client.Summary
- SUMMARY - Enum constant in enum 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
- TextFormat - Class in io.prometheus.client.exporter.common
- TextFormat() - Constructor for class io.prometheus.client.exporter.common.TextFormat
- threadBean - Variable in class io.prometheus.client.hotspot.ThreadExports
- ThreadExports - Class in io.prometheus.client.hotspot
-
Exports metrics about JVM thread areas.
- ThreadExports() - Constructor for class io.prometheus.client.hotspot.ThreadExports
- ThreadExports(ThreadMXBean) - Constructor for class io.prometheus.client.hotspot.ThreadExports
- threadHashCode - Static variable in class io.prometheus.client.Striped64
-
ThreadLocal holding a single-slot int array holding hash code.
- threadNumber - Variable in class io.prometheus.client.exporter.HTTPServer.NamedDaemonThreadFactory
- 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.
- timeProvider - Static variable in class io.prometheus.client.Gauge.Child
- timeProvider - Variable in class io.prometheus.client.SimpleTimer
- TimeProvider() - Constructor for class io.prometheus.client.Gauge.TimeProvider
- TimeProvider() - Constructor for class io.prometheus.client.SimpleTimer.TimeProvider
- Timer(Gauge.Child) - Constructor for class io.prometheus.client.Gauge.Timer
- Timer(Histogram.Child, long) - Constructor for class io.prometheus.client.Histogram.Timer
- Timer(Summary.Child, long) - Constructor for class io.prometheus.client.Summary.Timer
- timestampMs - Variable in class io.prometheus.client.Collector.MetricFamilySamples.Sample
- TimeWindowQuantiles - Class in io.prometheus.client
-
Wrapper around CKMSQuantiles.
- TimeWindowQuantiles(CKMSQuantiles.Quantile[], long, int) - Constructor for class io.prometheus.client.TimeWindowQuantiles
- toString() - Method in class io.prometheus.client.CKMSQuantiles.Item
- toString() - Method in class io.prometheus.client.CKMSQuantiles.Quantile
- 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()
. - TRACE_LABEL - Static variable in class io.prometheus.client.log4j.InstrumentedAppender
- TRACE_LABEL - Static variable in class io.prometheus.client.log4j2.InstrumentedAppender
- TRACE_LABEL - Static variable in class io.prometheus.client.logback.InstrumentedAppender
- type - Variable in class io.prometheus.client.Collector.MetricFamilySamples
- Type() - Constructor for enum io.prometheus.client.Collector.Type
- typeString(Collector.Type) - Static method in class io.prometheus.client.exporter.common.TextFormat
U
- u - Variable in class io.prometheus.client.CKMSQuantiles.Quantile
- unregister(Collector) - Method in class io.prometheus.client.CollectorRegistry
-
Unregister a Collector.
- UNSAFE - Static variable in class io.prometheus.client.Striped64.Cell
- UNSAFE - Static variable in class io.prometheus.client.Striped64
- UNTYPED - Enum constant in enum io.prometheus.client.Collector.Type
- upperBounds - Variable in class io.prometheus.client.Histogram.Child
V
- v - Variable in class io.prometheus.client.CKMSQuantiles.Quantile
- value - Variable in class io.prometheus.client.CKMSQuantiles.Item
- value - Variable in class io.prometheus.client.Collector.MetricFamilySamples.Sample
- value - Variable in class io.prometheus.client.Counter.Child
- value - Variable in class io.prometheus.client.Gauge.Child
- value - Variable in class io.prometheus.client.Striped64.Cell
- Value(double, double[]) - Constructor for class io.prometheus.client.Histogram.Child.Value
- Value(double, double, List<CKMSQuantiles.Quantile>, TimeWindowQuantiles) - 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.
- valueOffset - Static variable in class io.prometheus.client.Striped64.Cell
- 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.
- VersionInfoExports - Class in io.prometheus.client.hotspot
-
Exports JVM version info.
- VersionInfoExports() - Constructor for class io.prometheus.client.hotspot.VersionInfoExports
W
- WARN_LABEL - Static variable in class io.prometheus.client.log4j.InstrumentedAppender
- WARN_LABEL - Static variable in class io.prometheus.client.log4j2.InstrumentedAppender
- WARN_LABEL - Static variable in class io.prometheus.client.logback.InstrumentedAppender
- write004(Writer, Enumeration<Collector.MetricFamilySamples>) - Static method in class io.prometheus.client.exporter.common.TextFormat
-
Write out the text version 0.0.4 of the given MetricFamilySamples.
- writeEscapedHelp(Writer, String) - Static method in class io.prometheus.client.exporter.common.TextFormat
- writeEscapedLabelValue(Writer, String) - Static method in class io.prometheus.client.exporter.common.TextFormat
- writeObject(ObjectOutputStream) - Method in class io.prometheus.client.DoubleAdder
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
PushGateway.delete(String, Map)