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
- Adapter - Class in io.prometheus.client.internal
- Adapter - Class in io.prometheus.client.servlet.jakarta
- Adapter() - Constructor for class io.prometheus.client.internal.Adapter
- Adapter() - Constructor for class io.prometheus.client.servlet.jakarta.Adapter
- Adapter.FilterConfigAdapterImpl - Class in io.prometheus.client.internal
- Adapter.FilterConfigAdapterImpl - Class in io.prometheus.client.servlet.jakarta
- Adapter.HttpServletRequestAdapterImpl - Class in io.prometheus.client.internal
- Adapter.HttpServletRequestAdapterImpl - Class in io.prometheus.client.servlet.jakarta
- Adapter.HttpServletResponseAdapterImpl - Class in io.prometheus.client.internal
- Adapter.HttpServletResponseAdapterImpl - Class in io.prometheus.client.servlet.jakarta
- Adapter.ServletConfigAdapterImpl - Class in io.prometheus.client.internal
- Adapter.ServletConfigAdapterImpl - Class in io.prometheus.client.servlet.jakarta
- 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, AsyncCache) - Method in class io.prometheus.client.cache.caffeine.CacheMetricsCollector
-
Add or replace the cache with the given name.
- addCache(String, Cache) - Method in class io.prometheus.client.cache.caffeine.CacheMetricsCollector
-
Add or replace the cache with the given name.
- 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>, Predicate<String>) - Method in class io.prometheus.client.hotspot.ClassLoadingExports
- addMemoryAreaMetrics(List<Collector.MetricFamilySamples>, Predicate<String>) - Method in class io.prometheus.client.hotspot.MemoryPoolsExports
- addMemoryPoolMetrics(List<Collector.MetricFamilySamples>, Predicate<String>) - 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
- addPoolMetrics(GaugeMetricFamily, GaugeMetricFamily, GaugeMetricFamily, GaugeMetricFamily, String, MemoryUsage) - Method in class io.prometheus.client.hotspot.MemoryPoolsExports
- addThreadMetrics(List<Collector.MetricFamilySamples>, Predicate<String>) - 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
-
The class JavaDoc for
Summary
has more information onSummary.Builder.ageBuckets(int)
- allocatedCounter - Variable in class io.prometheus.client.hotspot.MemoryAllocationExports
- AllocationCountingNotificationListener(Counter) - Constructor for class io.prometheus.client.hotspot.MemoryAllocationExports.AllocationCountingNotificationListener
- ALLOW_ALL - Static variable in class io.prometheus.client.SampleNameFilter
-
For convenience, a filter that allows all names.
- AllowAll() - Constructor for class io.prometheus.client.SampleNameFilter.AllowAll
- and(Predicate<? super String>) - Method in class io.prometheus.client.SampleNameFilter
-
Replacement for Java 8's
Predicate.and()
for compatibility with Java versions < 8. - 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
- assertNoDuplicateNames(Collector, List<String>) - Method in class io.prometheus.client.CollectorRegistry
- assertNull(Object, String) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
- assertZero(int, String) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
- authenticator - Variable in class io.prometheus.client.exporter.HTTPServer.Builder
- 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.
- Base64 - Class in io.prometheus.client.exporter
-
This class delegates to either javax.xml.bind.DatatypeConverter (for Java < 8) or java.util.Base64 (Java 8+) to perform Base64 encoding of a String.
- Base64() - Constructor for class io.prometheus.client.exporter.Base64
- base64url(String) - Static method in class io.prometheus.client.exporter.PushGateway
- 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.servlet.common.filter.Filter
- 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 - Variable in class io.prometheus.client.servlet.common.filter.Filter
- 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
-
Note that the buffer size could as well be less than the compressInterval.
- 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
- bufferPos - Variable in class io.prometheus.client.CKMSQuantiles
- 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.Enumeration
-
Return a Builder to allow configuration of a new Enumeration.
- build() - Method in class io.prometheus.client.exporter.HTTPServer.Builder
-
Build the HTTPServer
- 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.Info
-
Return a Builder to allow configuration of a new Info.
- build() - Method in class io.prometheus.client.SampleNameFilter.Builder
- 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.Enumeration
-
Return a Builder to allow configuration of a new Enumeration.
- 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.Info
-
Return a Builder to allow configuration of a new Info.
- 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.Enumeration.Builder
- Builder() - Constructor for class io.prometheus.client.exporter.HTTPServer.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.Info.Builder
- Builder() - Constructor for class io.prometheus.client.SampleNameFilter.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.
C
- CacheMetricsCollector - Class in io.prometheus.client.cache.caffeine
-
Collect metrics from Caffeine's com.github.benmanes.caffeine.cache.Cache.
- 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.cache.caffeine.CacheMetricsCollector
- 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
- callLongMethod(Method, Object) - Method in class io.prometheus.client.hotspot.BufferPoolsExports
- cas(long, long) - Method in class io.prometheus.client.Striped64.Cell
- CAS_BASE - Static variable in class io.prometheus.client.Striped64
- CAS_BUSY - Static variable in class io.prometheus.client.Striped64
- CAS_VALUE - Static variable 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[], Boolean, HistogramExemplarSampler) - Constructor for class io.prometheus.client.Histogram.Child
- Child(Boolean, CounterExemplarSampler) - Constructor for class io.prometheus.client.Counter.Child
- Child(List<CKMSQuantiles.Quantile>, long, int) - Constructor for class io.prometheus.client.Summary.Child
- Child(List<String>) - Constructor for class io.prometheus.client.Info.Child
- Child(Set<String>) - Constructor for class io.prometheus.client.Enumeration.Child
- children - Variable in class io.prometheus.client.cache.caffeine.CacheMetricsCollector
- children - Variable in class io.prometheus.client.guava.cache.CacheMetricsCollector
- children - Variable in class io.prometheus.client.SimpleCollector
- chooseContentType(String) - Static method in class io.prometheus.client.exporter.common.TextFormat
-
Return the content type that should be used for a given Accept HTTP header.
- CKMSQuantiles - Class in io.prometheus.client
-
Algorithm solving the "Targeted Quantile Problem" as described in "Effective Computation of Biased Quantiles over Data Streams" by Cormode, Korn, Muthukrishnan, and Srivastava.
- CKMSQuantiles(CKMSQuantiles.Quantile...) - Constructor for class io.prometheus.client.CKMSQuantiles
- CKMSQuantiles.Quantile - Class in io.prometheus.client
- CKMSQuantiles.Sample - 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.cache.caffeine.CacheMetricsCollector
-
Remove all caches.
- 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.
- clock - Variable in class io.prometheus.client.exemplars.DefaultExemplarSampler
- close() - Method in class io.prometheus.client.exporter.HTTPServer
-
Stop the HTTPServer.
- 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.cache.caffeine.CacheMetricsCollector
- collect() - Method in class io.prometheus.client.Collector
-
Return all metrics of this Collector.
- collect() - Method in class io.prometheus.client.Counter
- collect() - Method in class io.prometheus.client.Enumeration
- 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.Info
- 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
- collect(Predicate<String>) - Method in class io.prometheus.client.Collector
-
Like
Collector.collect()
, but the result should only containMetricFamilySamples
wheresampleNameFilter.test(name)
istrue
for at least one Sample name. - collect(Predicate<String>) - Method in class io.prometheus.client.hotspot.BufferPoolsExports
- collect(Predicate<String>) - Method in class io.prometheus.client.hotspot.ClassLoadingExports
- collect(Predicate<String>) - Method in class io.prometheus.client.hotspot.GarbageCollectorExports
- collect(Predicate<String>) - Method in class io.prometheus.client.hotspot.MemoryPoolsExports
- collect(Predicate<String>) - Method in class io.prometheus.client.hotspot.ThreadExports
- 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 Class 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
- components - Variable in class io.prometheus.client.servlet.common.filter.Filter.MetricData
- compress() - Method in class io.prometheus.client.CKMSQuantiles
-
Merge pairs of consecutive samples if this doesn't violate the error function.
- compressInterval - Variable in class io.prometheus.client.CKMSQuantiles
-
Compress is called every compressInterval inserts.
- 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 Prometheus text version 0.0.4.
- CONTENT_TYPE_OPENMETRICS_100 - Static variable in class io.prometheus.client.exporter.common.TextFormat
-
Content-type for Openmetrics text version 1.0.0.
- 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 class 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_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.
- counterExemplarSampler - Static variable in class io.prometheus.client.exemplars.ExemplarConfig
- CounterExemplarSampler - Interface in io.prometheus.client.exemplars
-
Exemplar sampler for counter metrics.
- 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.Enumeration.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.Info.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
- created - Variable in class io.prometheus.client.Counter.Child
- created - Variable in class io.prometheus.client.Histogram.Child
- created - Variable in class io.prometheus.client.Histogram.Child.Value
- created - Variable in class io.prometheus.client.Summary.Child
- created - Variable in class io.prometheus.client.Summary.Child.Value
- created() - Method in class io.prometheus.client.Counter.Child
-
Get the created time of the counter in milliseconds.
- 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 interface io.prometheus.client.exemplars.DefaultExemplarSampler.Clock
- currentTimeMillis() - Method in class io.prometheus.client.exemplars.DefaultExemplarSampler.SystemClock
- currentTimeMillis() - Method in class io.prometheus.client.Gauge.TimeProvider
D
- daemon - Variable in class io.prometheus.client.exporter.HTTPServer.Builder
- 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
- debugCounter - 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.
- defaultCounter - Static variable in class io.prometheus.client.logback.InstrumentedAppender
- DefaultExemplarSampler - Class in io.prometheus.client.exemplars
-
Default Exemplar sampler.
- DefaultExemplarSampler(SpanContextSupplier) - Constructor for class io.prometheus.client.exemplars.DefaultExemplarSampler
- DefaultExemplarSampler(SpanContextSupplier, DefaultExemplarSampler.Clock) - Constructor for class io.prometheus.client.exemplars.DefaultExemplarSampler
- DefaultExemplarSampler.Clock - Interface in io.prometheus.client.exemplars
- DefaultExemplarSampler.SystemClock - Class in io.prometheus.client.exemplars
- 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
- delegate - Variable in class io.prometheus.client.filter.MetricsFilter
- delegate - Variable in class io.prometheus.client.internal.Adapter.FilterConfigAdapterImpl
- delegate - Variable in class io.prometheus.client.internal.Adapter.HttpServletRequestAdapterImpl
- delegate - Variable in class io.prometheus.client.internal.Adapter.HttpServletResponseAdapterImpl
- delegate - Variable in class io.prometheus.client.internal.Adapter.ServletConfigAdapterImpl
- delegate - Variable in class io.prometheus.client.servlet.jakarta.Adapter.FilterConfigAdapterImpl
- delegate - Variable in class io.prometheus.client.servlet.jakarta.Adapter.HttpServletRequestAdapterImpl
- delegate - Variable in class io.prometheus.client.servlet.jakarta.Adapter.HttpServletResponseAdapterImpl
- delegate - Variable in class io.prometheus.client.servlet.jakarta.Adapter.ServletConfigAdapterImpl
- delegate - Variable in class io.prometheus.client.servlet.jakarta.filter.MetricsFilter
- delete(String) - Method in class io.prometheus.client.exporter.PushGateway
-
Deletes metrics from the Pushgateway.
- 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.Sample
-
Difference between the greatest possible rank of this sample and the lowest possible rank of this sample.
- 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.Enumeration
- describe() - Method in class io.prometheus.client.Gauge
- describe() - Method in class io.prometheus.client.Histogram
- describe() - Method in class io.prometheus.client.Info
- describe() - Method in class io.prometheus.client.Summary
- destroy() - Method in class io.prometheus.client.filter.MetricsFilter
- destroy() - Method in class io.prometheus.client.servlet.jakarta.filter.MetricsFilter
- DISABLE_CREATED_SERIES - Static variable in class io.prometheus.client.Environment
- DISABLE_CREATED_SERIES_TRUE - Static variable in class io.prometheus.client.Environment
- disableExemplars() - Static method in class io.prometheus.client.exemplars.ExemplarConfig
-
Prevent metrics from loading exemplars from an
ExemplarSampler
by default. - doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class io.prometheus.client.servlet.jakarta.filter.MetricsFilter
- doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class io.prometheus.client.filter.MetricsFilter
- doGet(HttpServletRequestAdapter, HttpServletResponseAdapter) - Method in class io.prometheus.client.servlet.common.exporter.Exporter
- doGet(HttpServletRequest, HttpServletResponse) - Method in class io.prometheus.client.servlet.jakarta.exporter.MetricsServlet
- doGet(HttpServletRequest, HttpServletResponse) - Method in class io.prometheus.client.exporter.MetricsServlet
- dontInitializeNoLabelsChild - Variable in class io.prometheus.client.SimpleCollector.Builder
- doPost(HttpServletRequestAdapter, HttpServletResponseAdapter) - Method in class io.prometheus.client.servlet.common.exporter.Exporter
- doPost(HttpServletRequest, HttpServletResponse) - Method in class io.prometheus.client.servlet.jakarta.exporter.MetricsServlet
- 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
- doSample(double, Exemplar) - Method in class io.prometheus.client.exemplars.DefaultExemplarSampler
- 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
- enabled - Static variable in class io.prometheus.client.exemplars.ExemplarConfig
- enableExemplars() - Static method in class io.prometheus.client.exemplars.ExemplarConfig
-
Allow metrics to load exemplars from an
ExemplarSampler
by default. - encode(String, String) - Method in class io.prometheus.client.exporter.BasicAuthHttpConnectionFactory
- encodeToString(byte[]) - Static method in class io.prometheus.client.exporter.Base64
-
Encodes a byte[] to a String using Base64.
- Enumeration - Class in io.prometheus.client
-
Enumeration metric, to track which of a set of states something is in.
- Enumeration(Enumeration.Builder) - Constructor for class io.prometheus.client.Enumeration
- Enumeration.Builder - Class in io.prometheus.client
- Enumeration.Child - Class in io.prometheus.client
-
The value of a single Enumeration.
- Environment - Class in io.prometheus.client
- Environment() - Constructor for class io.prometheus.client.Environment
- epsilon - Variable in class io.prometheus.client.CKMSQuantiles.Quantile
-
Allowed error.
- equals(Object) - Method in class io.prometheus.client.Collector.MetricFamilySamples
- equals(Object) - Method in class io.prometheus.client.Collector.MetricFamilySamples.Sample
- equals(Object) - Method in class io.prometheus.client.exemplars.Exemplar
- ERROR_LABEL - Static variable in class io.prometheus.client.log4j.InstrumentedAppender
- ERROR_LABEL - Static variable in class io.prometheus.client.log4j2.InstrumentedAppender
- errorCounter - Variable in class io.prometheus.client.logback.InstrumentedAppender
- executorService - Variable in class io.prometheus.client.exporter.HTTPServer.Builder
- executorService - Variable in class io.prometheus.client.exporter.HTTPServer
- exemplar - Variable in class io.prometheus.client.Collector.MetricFamilySamples.Sample
- exemplar - Variable in class io.prometheus.client.Counter.Child
- Exemplar - Class in io.prometheus.client.exemplars
-
Immutable data class holding an Exemplar.
- Exemplar(double, Long, String...) - Constructor for class io.prometheus.client.exemplars.Exemplar
-
Create an Exemplar
- Exemplar(double, Long, Map<String, String>) - Constructor for class io.prometheus.client.exemplars.Exemplar
-
Create an Exemplar
- Exemplar(double, String...) - Constructor for class io.prometheus.client.exemplars.Exemplar
-
Create an Exemplar without a timestamp
- Exemplar(double, Map<String, String>) - Constructor for class io.prometheus.client.exemplars.Exemplar
-
Create an Exemplar
- ExemplarConfig - Class in io.prometheus.client.exemplars
-
Static configuration for Exemplar behavior.
- ExemplarConfig() - Constructor for class io.prometheus.client.exemplars.ExemplarConfig
- exemplars - Variable in class io.prometheus.client.Histogram.Child
- exemplars - Variable in class io.prometheus.client.Histogram.Child.Value
- exemplarSampler - Variable in class io.prometheus.client.Counter.Builder
- exemplarSampler - Variable in class io.prometheus.client.Counter.Child
- exemplarSampler - Variable in class io.prometheus.client.Counter
- exemplarSampler - Variable in class io.prometheus.client.Histogram.Builder
- exemplarSampler - Variable in class io.prometheus.client.Histogram.Child
- exemplarSampler - Variable in class io.prometheus.client.Histogram
- ExemplarSampler - Interface in io.prometheus.client.exemplars
-
For convenience, an interface for implementing both, the
CounterExemplarSampler
and theHistogramExemplarSampler
. - exemplarsEnabled - Variable in class io.prometheus.client.Counter.Builder
- exemplarsEnabled - Variable in class io.prometheus.client.Counter.Child
- exemplarsEnabled - Variable in class io.prometheus.client.Counter
- exemplarsEnabled - Variable in class io.prometheus.client.Histogram.Builder
- exemplarsEnabled - Variable in class io.prometheus.client.Histogram.Child
- exemplarsEnabled - Variable in class io.prometheus.client.Histogram
- 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.
- exporter - Variable in class io.prometheus.client.exporter.MetricsServlet
- exporter - Variable in class io.prometheus.client.servlet.jakarta.exporter.MetricsServlet
- Exporter - Class in io.prometheus.client.servlet.common.exporter
-
The MetricsServlet class exists to provide a simple way of exposing the metrics values.
- Exporter(CollectorRegistry, Predicate<String>) - Constructor for class io.prometheus.client.servlet.common.exporter.Exporter
-
Construct a MetricsServlet for the given registry.
F
- f(int) - Method in class io.prometheus.client.CKMSQuantiles
-
Error function, as in definition 5 of the paper.
- 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(Predicate<String>) - Method in class io.prometheus.client.Collector.MetricFamilySamples
- Filter - Class in io.prometheus.client.servlet.common.filter
-
Filter implements the common functionality provided by the two MetricsFilter implementations: javax version:
io.prometheus.client.filter.MetricsFilter
provided bysimpleclient_servlet
jakarta version:io.prometheus.client.servlet.jakarta.filter.MetricsFilter
provided bysimpleclient_servlet_jakarta
- Filter() - Constructor for class io.prometheus.client.servlet.common.filter.Filter
- Filter(String, String, Integer, double[], boolean) - Constructor for class io.prometheus.client.servlet.common.filter.Filter
-
If you want to configure the filter programmatically instead of via
web.xml
, you can pass all configuration parameters to this constructor. - Filter.MetricData - Class in io.prometheus.client.servlet.common.filter
- FilterConfigAdapter - Interface in io.prometheus.client.servlet.common.adapter
- FilterConfigAdapterImpl(FilterConfig) - Constructor for class io.prometheus.client.servlet.jakarta.Adapter.FilterConfigAdapterImpl
- FilterConfigAdapterImpl(FilterConfig) - Constructor for class io.prometheus.client.internal.Adapter.FilterConfigAdapterImpl
- FilterConfigurationException - Exception Class in io.prometheus.client.servlet.common.filter
-
Thrown when there is a misconfiguration in
web.xml
. - FilterConfigurationException(String) - Constructor for exception class io.prometheus.client.servlet.common.filter.FilterConfigurationException
- filteredCollectorIterator() - Method in class io.prometheus.client.CollectorRegistry.MetricFamilySamplesEnumeration
- filteredMetricFamilySamples(Predicate<String>) - Method in class io.prometheus.client.CollectorRegistry
-
Enumeration of metrics where
sampleNameFilter.test(name)
returnstrue
for eachname
inCollector.MetricFamilySamples.getNames()
. - 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
- findSpanContextSupplier() - Method in class io.prometheus.client.exemplars.Tracer
- floatValue() - Method in class io.prometheus.client.DoubleAdder
-
Returns the
DoubleAdder.sum()
as afloat
after a narrowing primitive conversion. - flush() - Method in class io.prometheus.client.CKMSQuantiles
- 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.Sample
-
Difference between the lowest possible rank of this sample and its predecessor.
- 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 class io.prometheus.client.Collector.Type
- GAUGE_HISTOGRAM - Enum constant in enum class 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.Enumeration.Child
-
Get the state.
- get() - Method in class io.prometheus.client.Enumeration
-
Get the value of the Enumeration.
- get() - Method in class io.prometheus.client.exporter.SampleNameFilterSupplier
- 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.Info.Child
-
Get the info.
- get() - Method in class io.prometheus.client.Info
-
Get the the info.
- 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() - Method in interface io.prometheus.client.Supplier
- 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.servlet.common.filter.Filter
- getContextPath() - Method in class io.prometheus.client.internal.Adapter.HttpServletRequestAdapterImpl
- getContextPath() - Method in interface io.prometheus.client.servlet.common.adapter.HttpServletRequestAdapter
- getContextPath() - Method in class io.prometheus.client.servlet.jakarta.Adapter.HttpServletRequestAdapterImpl
- getCount - Variable in class io.prometheus.client.hotspot.BufferPoolsExports
- getCounterExemplarSampler() - Static method in class io.prometheus.client.exemplars.ExemplarConfig
- getExemplar() - Method in class io.prometheus.client.Counter.Child
- getGarbageCollectorMXBeans() - Method in class io.prometheus.client.hotspot.MemoryAllocationExports
- getHeader(String) - Method in class io.prometheus.client.internal.Adapter.HttpServletRequestAdapterImpl
- getHeader(String) - Method in interface io.prometheus.client.servlet.common.adapter.HttpServletRequestAdapter
- getHeader(String) - Method in class io.prometheus.client.servlet.jakarta.Adapter.HttpServletRequestAdapterImpl
- getHistogramExemplarSampler() - Static method in class io.prometheus.client.exemplars.ExemplarConfig
- getInitParameter(String) - Method in class io.prometheus.client.internal.Adapter.FilterConfigAdapterImpl
- getInitParameter(String) - Method in class io.prometheus.client.internal.Adapter.ServletConfigAdapterImpl
- getInitParameter(String) - Method in interface io.prometheus.client.servlet.common.adapter.FilterConfigAdapter
- getInitParameter(String) - Method in interface io.prometheus.client.servlet.common.adapter.ServletConfigAdapter
- getInitParameter(String) - Method in class io.prometheus.client.servlet.jakarta.Adapter.FilterConfigAdapterImpl
- getInitParameter(String) - Method in class io.prometheus.client.servlet.jakarta.Adapter.ServletConfigAdapterImpl
- getLabelName(int) - Method in class io.prometheus.client.exemplars.Exemplar
-
Get the label name at index
i
. - getLabelValue(int) - Method in class io.prometheus.client.exemplars.Exemplar
-
Get the label value at index
i
. - getMemoryUsed - Variable in class io.prometheus.client.hotspot.BufferPoolsExports
- getMethod() - Method in class io.prometheus.client.internal.Adapter.HttpServletRequestAdapterImpl
- getMethod() - Method in interface io.prometheus.client.servlet.common.adapter.HttpServletRequestAdapter
- getMethod() - Method in class io.prometheus.client.servlet.jakarta.Adapter.HttpServletRequestAdapterImpl
- getName - Variable in class io.prometheus.client.hotspot.BufferPoolsExports
- getName(Object) - Method in class io.prometheus.client.hotspot.BufferPoolsExports
- getNames() - Method in class io.prometheus.client.Collector.MetricFamilySamples
-
List of names that are reserved for Samples in these MetricsFamilySamples.
- getNumberOfLabels() - Method in class io.prometheus.client.exemplars.Exemplar
- getParameterValues(String) - Method in class io.prometheus.client.internal.Adapter.HttpServletRequestAdapterImpl
- getParameterValues(String) - Method in interface io.prometheus.client.servlet.common.adapter.HttpServletRequestAdapter
- getParameterValues(String) - Method in class io.prometheus.client.servlet.jakarta.Adapter.HttpServletRequestAdapterImpl
- getPort() - Method in class io.prometheus.client.exporter.HTTPServer
-
Gets the port number.
- getRequestURI() - Method in class io.prometheus.client.internal.Adapter.HttpServletRequestAdapterImpl
- getRequestURI() - Method in interface io.prometheus.client.servlet.common.adapter.HttpServletRequestAdapter
- getRequestURI() - Method in class io.prometheus.client.servlet.jakarta.Adapter.HttpServletRequestAdapterImpl
- 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.
- getSpanId() - Method in interface io.prometheus.client.exemplars.tracer.common.SpanContextSupplier
- getStatus() - Method in class io.prometheus.client.internal.Adapter.HttpServletResponseAdapterImpl
- getStatus() - Method in interface io.prometheus.client.servlet.common.adapter.HttpServletResponseAdapter
- getStatus() - Method in class io.prometheus.client.servlet.jakarta.Adapter.HttpServletResponseAdapterImpl
- getThreadStateCountMap() - Method in class io.prometheus.client.hotspot.ThreadExports
- getTimestampMs() - Method in class io.prometheus.client.exemplars.Exemplar
- getTotalCapacity - Variable in class io.prometheus.client.hotspot.BufferPoolsExports
- getTraceId() - Method in interface io.prometheus.client.exemplars.tracer.common.SpanContextSupplier
- getValue() - Method in class io.prometheus.client.exemplars.Exemplar
- getWriter() - Method in class io.prometheus.client.internal.Adapter.HttpServletResponseAdapterImpl
- getWriter() - Method in interface io.prometheus.client.servlet.common.adapter.HttpServletResponseAdapter
- getWriter() - Method in class io.prometheus.client.servlet.jakarta.Adapter.HttpServletResponseAdapterImpl
- 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
- HAS_JAVA_UTIL_BASE64 - Static variable in class io.prometheus.client.exporter.Base64
- hashCode() - Method in class io.prometheus.client.Collector.MetricFamilySamples
- hashCode() - Method in class io.prometheus.client.Collector.MetricFamilySamples.Sample
- hashCode() - Method in class io.prometheus.client.exemplars.Exemplar
- hasJavaUtilBase64() - Static method in class io.prometheus.client.exporter.Base64
- hasMoreElements() - Method in class io.prometheus.client.CollectorRegistry.MetricFamilySamplesEnumeration
- HEALTHY_RESPONSE - Static variable in class io.prometheus.client.exporter.HTTPServer.HTTPMetricHandler
- help - Variable in class io.prometheus.client.Collector.MetricFamilySamples
- help - Variable in class io.prometheus.client.servlet.common.filter.Filter
- 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.servlet.common.filter.Filter
- histogram - Variable in class io.prometheus.client.servlet.common.filter.Filter
- 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 class 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.
- histogramExemplarSampler - Static variable in class io.prometheus.client.exemplars.ExemplarConfig
- HistogramExemplarSampler - Interface in io.prometheus.client.exemplars
-
Exemplar sampler for histogram metrics.
- host - Variable in class io.prometheus.client.bridge.Graphite
- hostname - Variable in class io.prometheus.client.exporter.HTTPServer.Builder
- HttpConnectionFactory - Interface in io.prometheus.client.exporter
- HTTPMetricHandler(CollectorRegistry) - Constructor for class io.prometheus.client.exporter.HTTPServer.HTTPMetricHandler
- HTTPMetricHandler(CollectorRegistry, Supplier<Predicate<String>>) - Constructor for class io.prometheus.client.exporter.HTTPServer.HTTPMetricHandler
- httpsConfigurator - Variable in class io.prometheus.client.exporter.HTTPServer.Builder
- httpServer - Variable in class io.prometheus.client.exporter.HTTPServer.Builder
- 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 an HTTP server serving the default Prometheus registry using non-daemon threads.
- HTTPServer(int, boolean) - Constructor for class io.prometheus.client.exporter.HTTPServer
-
Start an HTTP server serving the default Prometheus registry.
- HTTPServer(HttpServer, CollectorRegistry, boolean) - Constructor for class io.prometheus.client.exporter.HTTPServer
-
Start an 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 an HTTP server serving the default Prometheus registry using non-daemon threads.
- HTTPServer(String, int, boolean) - Constructor for class io.prometheus.client.exporter.HTTPServer
-
Start an HTTP server serving the default Prometheus registry.
- HTTPServer(InetSocketAddress, CollectorRegistry) - Constructor for class io.prometheus.client.exporter.HTTPServer
-
Start an 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 an HTTP server serving Prometheus metrics from the given registry.
- HTTPServer(ExecutorService, HttpServer, CollectorRegistry, boolean, Supplier<Predicate<String>>, Authenticator) - Constructor for class io.prometheus.client.exporter.HTTPServer
- HTTPServer.Builder - Class in io.prometheus.client.exporter
-
We keep the original constructors of
HTTPServer
for compatibility, but new configuration parameters likesampleNameFilter
must be configured using the Builder. - HTTPServer.HTTPMetricHandler - Class in io.prometheus.client.exporter
-
Handles Metrics collections from the given registry.
- HTTPServer.LocalByteArray - Class in io.prometheus.client.exporter
- HTTPServer.NamedDaemonThreadFactory - Class in io.prometheus.client.exporter
- HttpServletRequestAdapter - Interface in io.prometheus.client.servlet.common.adapter
- HttpServletRequestAdapterImpl(HttpServletRequest) - Constructor for class io.prometheus.client.servlet.jakarta.Adapter.HttpServletRequestAdapterImpl
- HttpServletRequestAdapterImpl(HttpServletRequest) - Constructor for class io.prometheus.client.internal.Adapter.HttpServletRequestAdapterImpl
- HttpServletResponseAdapter - Interface in io.prometheus.client.servlet.common.adapter
- HttpServletResponseAdapterImpl(HttpServletResponse) - Constructor for class io.prometheus.client.servlet.jakarta.Adapter.HttpServletResponseAdapterImpl
- HttpServletResponseAdapterImpl(HttpServletResponse) - Constructor for class io.prometheus.client.internal.Adapter.HttpServletResponseAdapterImpl
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.
- includeCreatedSeries - Static variable in class io.prometheus.client.Environment
- includeCreatedSeries() - Static method in class io.prometheus.client.Environment
- incWithExemplar(double, String...) - Method in class io.prometheus.client.Counter.Child
-
Like
Counter.Child.inc(double)
, but additionally creates an exemplar. - incWithExemplar(double, String...) - Method in class io.prometheus.client.Counter
-
Like
Counter.Child.incWithExemplar(double, String...)
, but for the counter without labels. - incWithExemplar(double, Map<String, String>) - Method in class io.prometheus.client.Counter.Child
-
Same as
Counter.Child.incWithExemplar(double, String...)
, but the exemplar labels are passed as aMap
. - incWithExemplar(double, Map<String, String>) - Method in class io.prometheus.client.Counter
-
Like
Counter.Child.incWithExemplar(double, Map)
, but for the counter without labels. - incWithExemplar(String...) - Method in class io.prometheus.client.Counter.Child
-
Same as
incWithExemplar(1, exemplarLabels)
. - incWithExemplar(String...) - Method in class io.prometheus.client.Counter
-
Like
Counter.Child.incWithExemplar(String...)
, but for the counter without labels. - incWithExemplar(Map<String, String>) - Method in class io.prometheus.client.Counter.Child
-
Same as
incWithExemplar(1, exemplarLabels)
. - incWithExemplar(Map<String, String>) - Method in class io.prometheus.client.Counter
-
Like
Counter.Child.incWithExemplar(Map)
, but for the counter without labels. - inetAddress - Variable in class io.prometheus.client.exporter.HTTPServer.Builder
- inetSocketAddress - Variable in class io.prometheus.client.exporter.HTTPServer.Builder
- info(String...) - Method in class io.prometheus.client.Info.Child
-
Set the info.
- info(String...) - Method in class io.prometheus.client.Info
-
Set the info on the info with no labels.
- info(Map<String, String>) - Method in class io.prometheus.client.Info.Child
-
Set the info.
- info(Map<String, String>) - Method in class io.prometheus.client.Info
-
Set the info on the info with no labels.
- Info - Class in io.prometheus.client
-
Info metric, key-value pairs.
- Info(Info.Builder) - Constructor for class io.prometheus.client.Info
- INFO - Enum constant in enum class io.prometheus.client.Collector.Type
- INFO_LABEL - Static variable in class io.prometheus.client.log4j.InstrumentedAppender
- INFO_LABEL - Static variable in class io.prometheus.client.log4j2.InstrumentedAppender
- Info.Builder - Class in io.prometheus.client
- Info.Child - Class in io.prometheus.client
-
The value of a single Info.
- infoCounter - Variable in class io.prometheus.client.logback.InstrumentedAppender
- init(FilterConfigAdapter) - Method in class io.prometheus.client.servlet.common.filter.Filter
-
Common implementation of
javax.servlet.Filter.init()
andjakarta.servlet.Filter.init()
. - init(ServletConfigAdapter) - Method in class io.prometheus.client.servlet.common.exporter.Exporter
- init(FilterConfig) - Method in class io.prometheus.client.servlet.jakarta.filter.MetricsFilter
- init(ServletConfig) - Method in class io.prometheus.client.servlet.jakarta.exporter.MetricsServlet
- init(FilterConfig) - Method in class io.prometheus.client.filter.MetricsFilter
- init(ServletConfig) - Method in class io.prometheus.client.exporter.MetricsServlet
- initExemplarSampler() - Method in class io.prometheus.client.exemplars.Tracer
- 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 an observed value
- insert(double) - Method in class io.prometheus.client.TimeWindowQuantiles
- insertBatch(double[], int) - Method in class io.prometheus.client.CKMSQuantiles
-
Inserts the elements from index 0 to index toIndex from the sortedBuffer.
- insertBefore(ListIterator<CKMSQuantiles.Sample>, double, int) - Method in class io.prometheus.client.CKMSQuantiles
- insertsSinceLastCompress - Variable 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(CollectorRegistry) - Constructor for class io.prometheus.client.logback.InstrumentedAppender
-
Create a new instrumented appender using the supplied registry.
- InstrumentedAppender(Counter) - Constructor for class io.prometheus.client.logback.InstrumentedAppender
- 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.cache.caffeine - package io.prometheus.client.cache.caffeine
- io.prometheus.client.exemplars - package io.prometheus.client.exemplars
- io.prometheus.client.exemplars.tracer.common - package io.prometheus.client.exemplars.tracer.common
- 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.internal - package io.prometheus.client.internal
- 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
- io.prometheus.client.servlet.common.adapter - package io.prometheus.client.servlet.common.adapter
- io.prometheus.client.servlet.common.exporter - package io.prometheus.client.servlet.common.exporter
- io.prometheus.client.servlet.common.filter - package io.prometheus.client.servlet.common.filter
- io.prometheus.client.servlet.jakarta - package io.prometheus.client.servlet.jakarta
- io.prometheus.client.servlet.jakarta.exporter - package io.prometheus.client.servlet.jakarta.exporter
- io.prometheus.client.servlet.jakarta.filter - package io.prometheus.client.servlet.jakarta.filter
- isEmpty(String) - Method in class io.prometheus.client.servlet.common.filter.Filter
- isExemplarsEnabled() - Static method in class io.prometheus.client.exemplars.ExemplarConfig
- isSampled() - Method in interface io.prometheus.client.exemplars.tracer.common.SpanContextSupplier
- isTrue(String) - Static method in class io.prometheus.client.Environment
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
- JVM_BUFFER_POOL_CAPACITY_BYTES - Static variable in class io.prometheus.client.hotspot.BufferPoolsExports
- JVM_BUFFER_POOL_USED_BUFFERS - Static variable in class io.prometheus.client.hotspot.BufferPoolsExports
- JVM_BUFFER_POOL_USED_BYTES - Static variable in class io.prometheus.client.hotspot.BufferPoolsExports
- JVM_CLASSES_CURRENTLY_LOADED - Static variable in class io.prometheus.client.hotspot.ClassLoadingExports
- JVM_CLASSES_LOADED_TOTAL - Static variable in class io.prometheus.client.hotspot.ClassLoadingExports
- JVM_CLASSES_UNLOADED_TOTAL - Static variable in class io.prometheus.client.hotspot.ClassLoadingExports
- JVM_GC_COLLECTION_SECONDS - Static variable in class io.prometheus.client.hotspot.GarbageCollectorExports
- JVM_MEMORY_BYTES_COMMITTED - Static variable in class io.prometheus.client.hotspot.MemoryPoolsExports
- JVM_MEMORY_BYTES_INIT - Static variable in class io.prometheus.client.hotspot.MemoryPoolsExports
- JVM_MEMORY_BYTES_MAX - Static variable in class io.prometheus.client.hotspot.MemoryPoolsExports
- JVM_MEMORY_BYTES_USED - Static variable in class io.prometheus.client.hotspot.MemoryPoolsExports
- JVM_MEMORY_OBJECTS_PENDING_FINALIZATION - Static variable in class io.prometheus.client.hotspot.MemoryPoolsExports
- JVM_MEMORY_POOL_BYTES_COMMITTED - Static variable in class io.prometheus.client.hotspot.MemoryPoolsExports
- JVM_MEMORY_POOL_BYTES_INIT - Static variable in class io.prometheus.client.hotspot.MemoryPoolsExports
- JVM_MEMORY_POOL_BYTES_MAX - Static variable in class io.prometheus.client.hotspot.MemoryPoolsExports
- JVM_MEMORY_POOL_BYTES_USED - Static variable in class io.prometheus.client.hotspot.MemoryPoolsExports
- JVM_MEMORY_POOL_COLLECTION_COMMITTED_BYTES - Static variable in class io.prometheus.client.hotspot.MemoryPoolsExports
- JVM_MEMORY_POOL_COLLECTION_INIT_BYTES - Static variable in class io.prometheus.client.hotspot.MemoryPoolsExports
- JVM_MEMORY_POOL_COLLECTION_MAX_BYTES - Static variable in class io.prometheus.client.hotspot.MemoryPoolsExports
- JVM_MEMORY_POOL_COLLECTION_USED_BYTES - Static variable in class io.prometheus.client.hotspot.MemoryPoolsExports
- JVM_THREADS_CURRENT - Static variable in class io.prometheus.client.hotspot.ThreadExports
- JVM_THREADS_DAEMON - Static variable in class io.prometheus.client.hotspot.ThreadExports
- JVM_THREADS_DEADLOCKED - Static variable in class io.prometheus.client.hotspot.ThreadExports
- JVM_THREADS_DEADLOCKED_MONITOR - Static variable in class io.prometheus.client.hotspot.ThreadExports
- JVM_THREADS_PEAK - Static variable in class io.prometheus.client.hotspot.ThreadExports
- JVM_THREADS_STARTED_TOTAL - Static variable in class io.prometheus.client.hotspot.ThreadExports
- JVM_THREADS_STATE - Static variable in class io.prometheus.client.hotspot.ThreadExports
K
- KB - Static variable in class io.prometheus.client.hotspot.StandardExports
L
- LABEL_NAMES - Static variable in class io.prometheus.client.jetty.QueuedThreadPoolStatisticsCollector
- labelNameRegex - Static variable in class io.prometheus.client.exemplars.Exemplar
- 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.Info.Child
- 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 - Variable in class io.prometheus.client.exemplars.Exemplar
- 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
- mapToArray(Map<String, String>) - Static method in class io.prometheus.client.exemplars.Exemplar
-
Convert the map to an array
[key1, value1, key2, value2, ...]
. - matchesNameDoesNotStartWith(String) - Method in class io.prometheus.client.SampleNameFilter
- matchesNameEqualTo(String) - Method in class io.prometheus.client.SampleNameFilter
- matchesNameNotEqualTo(String) - Method in class io.prometheus.client.SampleNameFilter
- matchesNameStartsWith(String) - Method in class io.prometheus.client.SampleNameFilter
- 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
-
The class JavaDoc for
Summary
has more information onSummary.Builder.maxAgeSeconds(long)
- 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
- method - Variable in class io.prometheus.client.servlet.common.filter.Filter.MetricData
- METRIC_LABEL_NAME_RE - Static variable in class io.prometheus.client.Collector
- METRIC_NAME_PARAM - Static variable in class io.prometheus.client.servlet.common.filter.Filter
- METRIC_NAME_RE - Static variable in class io.prometheus.client.Collector
- MetricData(String, String, Histogram.Timer) - Constructor for class io.prometheus.client.servlet.common.filter.Filter.MetricData
- 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
- MetricFamilySamples(String, 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(Predicate<String>) - Constructor for class io.prometheus.client.CollectorRegistry.MetricFamilySamplesEnumeration
- metricName - Variable in class io.prometheus.client.servlet.common.filter.Filter
- MetricsFilter - Class in io.prometheus.client.filter
-
The MetricsFilter class provides a high-level filter that enables tunable collection of metrics for Servlet performance.
- MetricsFilter - Class in io.prometheus.client.servlet.jakarta.filter
-
The MetricsFilter class provides a high-level filter that enables tunable collection of metrics for Servlet performance.
- MetricsFilter() - Constructor for class io.prometheus.client.filter.MetricsFilter
- MetricsFilter() - Constructor for class io.prometheus.client.servlet.jakarta.filter.MetricsFilter
- MetricsFilter(String, String, Integer, double[]) - Constructor for class io.prometheus.client.filter.MetricsFilter
- MetricsFilter(String, String, Integer, double[], boolean) - Constructor for class io.prometheus.client.filter.MetricsFilter
- MetricsFilter(String, String, Integer, double[], boolean) - Constructor for class io.prometheus.client.servlet.jakarta.filter.MetricsFilter
- MetricsServlet - Class in io.prometheus.client.exporter
-
The MetricsServlet class provides a simple way of exposing the metrics values.
- MetricsServlet - Class in io.prometheus.client.servlet.jakarta.exporter
-
The MetricsServlet class provides a simple way of exposing the metrics values.
- MetricsServlet() - Constructor for class io.prometheus.client.exporter.MetricsServlet
- MetricsServlet() - Constructor for class io.prometheus.client.servlet.jakarta.exporter.MetricsServlet
- MetricsServlet(CollectorRegistry) - Constructor for class io.prometheus.client.exporter.MetricsServlet
- MetricsServlet(CollectorRegistry) - Constructor for class io.prometheus.client.servlet.jakarta.exporter.MetricsServlet
- MetricsServlet(CollectorRegistry, Predicate<String>) - Constructor for class io.prometheus.client.exporter.MetricsServlet
- MetricsServlet(CollectorRegistry, Predicate<String>) - Constructor for class io.prometheus.client.servlet.jakarta.exporter.MetricsServlet
- MetricsServlet(Predicate<String>) - Constructor for class io.prometheus.client.exporter.MetricsServlet
- MetricsServlet(Predicate<String>) - Constructor for class io.prometheus.client.servlet.jakarta.exporter.MetricsServlet
- 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
- minRetentionIntervalMs - Variable in class io.prometheus.client.exemplars.DefaultExemplarSampler
N
- n - Variable in class io.prometheus.client.CKMSQuantiles
-
Total number of observations (not including those that are still in the buffer).
- 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.
- NAME_MUST_BE_EQUAL_TO - Static variable in class io.prometheus.client.servlet.common.exporter.Exporter
- NAME_MUST_NOT_BE_EQUAL_TO - Static variable in class io.prometheus.client.servlet.common.exporter.Exporter
- NAME_MUST_NOT_START_WITH - Static variable in class io.prometheus.client.servlet.common.exporter.Exporter
- NAME_MUST_START_WITH - Static variable in class io.prometheus.client.servlet.common.exporter.Exporter
- NamedDaemonThreadFactory(ThreadFactory, boolean) - Constructor for class io.prometheus.client.exporter.HTTPServer.NamedDaemonThreadFactory
- nameDoesNotStartWith - Variable in class io.prometheus.client.SampleNameFilter.Builder
- nameDoesNotStartWith - Variable in class io.prometheus.client.SampleNameFilter
- nameEqualTo - Variable in class io.prometheus.client.SampleNameFilter.Builder
- nameIsEqualTo - Variable in class io.prometheus.client.SampleNameFilter
- nameIsNotEqualTo - Variable in class io.prometheus.client.SampleNameFilter
- nameMustBeEqualTo(String...) - Method in class io.prometheus.client.SampleNameFilter.Builder
- nameMustBeEqualTo(Collection<String>) - Method in class io.prometheus.client.SampleNameFilter.Builder
-
Only samples with one of the
names
will be included. - nameMustNotBeEqualTo(String...) - Method in class io.prometheus.client.SampleNameFilter.Builder
- nameMustNotBeEqualTo(Collection<String>) - Method in class io.prometheus.client.SampleNameFilter.Builder
-
All samples that are not in
names
will be excluded. - nameMustNotStartWith(String...) - Method in class io.prometheus.client.SampleNameFilter.Builder
- nameMustNotStartWith(Collection<String>) - Method in class io.prometheus.client.SampleNameFilter.Builder
-
Samples with names starting with one of the
prefixes
will be excluded. - nameMustStartWith(String...) - Method in class io.prometheus.client.SampleNameFilter.Builder
- nameMustStartWith(Collection<String>) - Method in class io.prometheus.client.SampleNameFilter.Builder
-
Only samples whose name starts with one of the
prefixes
will be included. - nameNotEqualTo - Variable in class io.prometheus.client.SampleNameFilter.Builder
- 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.
- nameStartsWith - Variable in class io.prometheus.client.SampleNameFilter.Builder
- nameStartsWith - Variable in class io.prometheus.client.SampleNameFilter
- 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.Enumeration
- newChild() - Method in class io.prometheus.client.Gauge
- newChild() - Method in class io.prometheus.client.Histogram
- newChild() - Method in class io.prometheus.client.Info
- 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. - observeDuration(Filter.MetricData, HttpServletResponseAdapter) - Method in class io.prometheus.client.servlet.common.filter.Filter
-
To be called at the end of
javax.servlet.Filter.doFilter()
orjakarta.servlet.Filter.doFilter()
. - observeDurationWithExemplar(String...) - Method in class io.prometheus.client.Histogram.Timer
- observeDurationWithExemplar(Map<String, String>) - Method in class io.prometheus.client.Histogram.Timer
- observeWithExemplar(double, String...) - Method in class io.prometheus.client.Histogram.Child
-
Like
Histogram.Child.observe(double)
, but additionally creates an exemplar. - observeWithExemplar(double, String...) - Method in class io.prometheus.client.Histogram
-
Like
Histogram.Child.observeWithExemplar(double, String...)
, but for the histogram without labels. - observeWithExemplar(double, Map<String, String>) - Method in class io.prometheus.client.Histogram.Child
-
Like
Histogram.Child.observeWithExemplar(double, String...)
, but the exemplar labels are passed as aMap
. - observeWithExemplar(double, Map<String, String>) - Method in class io.prometheus.client.Histogram
-
Like
Histogram.Child.observeWithExemplar(double, Map)
, but for the histogram without labels. - of(Predicate<String>) - Static method in class io.prometheus.client.exporter.SampleNameFilterSupplier
- omTypeString(Collector.Type) - Static method in class io.prometheus.client.exporter.common.TextFormat
- omWriteTimestamp(Writer, long) - Static method in class io.prometheus.client.exporter.common.TextFormat
- 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(HttpServletRequestAdapter) - Method in class io.prometheus.client.servlet.common.exporter.Exporter
- parseQuery(String) - Static method in class io.prometheus.client.exporter.HTTPServer
- PATH_COMPONENT_PARAM - Static variable in class io.prometheus.client.servlet.common.filter.Filter
- pathComponents - Variable in class io.prometheus.client.servlet.common.filter.Filter
- 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
- port - Variable in class io.prometheus.client.exporter.HTTPServer.Builder
- Predicate<T> - Interface in io.prometheus.client
-
Replacement for Java 8's
java.util.function.Predicate
for compatibility with Java versions < 8. - 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, 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, 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, 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, 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.
- quantile(double, double) - Method in class io.prometheus.client.Summary.Builder
-
The class JavaDoc for
Summary
has more information onSummary.Builder.quantile(double, double)
. - Quantile(double, double) - Constructor for class io.prometheus.client.CKMSQuantiles.Quantile
- quantiles - Variable in class io.prometheus.client.CKMSQuantiles
- 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.Builder
- registry - Variable in class io.prometheus.client.exporter.HTTPServer.HTTPMetricHandler
- registry - Variable in class io.prometheus.client.servlet.common.exporter.Exporter
- remove(String...) - Method in class io.prometheus.client.SimpleCollector
-
Remove the Child with the given labels.
- removeCache(String) - Method in class io.prometheus.client.cache.caffeine.CacheMetricsCollector
-
Remove the cache with the given name.
- 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
- restrictToNamesEqualTo(Predicate<String>, Collection<String>) - Static method in class io.prometheus.client.SampleNameFilter
-
Helper method to compose a filter such that Sample names must match the existing filter and be in the list of allowedNames This should be used to implement the
names[]
query parameter in HTTP exporters. - 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(double, double, double, Exemplar) - Method in class io.prometheus.client.exemplars.DefaultExemplarSampler
- sample(double, double, double, Exemplar) - Method in interface io.prometheus.client.exemplars.HistogramExemplarSampler
- sample(double, Exemplar) - Method in interface io.prometheus.client.exemplars.CounterExemplarSampler
- sample(double, Exemplar) - Method in class io.prometheus.client.exemplars.DefaultExemplarSampler
- Sample(double, int) - Constructor for class io.prometheus.client.CKMSQuantiles.Sample
- Sample(String, List<String>, List<String>, double) - Constructor for class io.prometheus.client.Collector.MetricFamilySamples.Sample
- Sample(String, List<String>, List<String>, double, Exemplar) - Constructor for class io.prometheus.client.Collector.MetricFamilySamples.Sample
- Sample(String, List<String>, List<String>, double, Exemplar, Long) - 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
- sampleNameFilter - Variable in class io.prometheus.client.CollectorRegistry.MetricFamilySamplesEnumeration
- sampleNameFilter - Variable in class io.prometheus.client.exporter.HTTPServer.Builder
- sampleNameFilter - Variable in class io.prometheus.client.exporter.SampleNameFilterSupplier
- sampleNameFilter - Variable in class io.prometheus.client.servlet.common.exporter.Exporter
- SampleNameFilter - Class in io.prometheus.client
-
Filter samples (i.e.
- SampleNameFilter(Collection<String>, Collection<String>, Collection<String>, Collection<String>) - Constructor for class io.prometheus.client.SampleNameFilter
- SampleNameFilter.AllowAll - Class in io.prometheus.client
- SampleNameFilter.Builder - Class in io.prometheus.client
- sampleNameFilterSupplier - Variable in class io.prometheus.client.exporter.HTTPServer.Builder
- sampleNameFilterSupplier - Variable in class io.prometheus.client.exporter.HTTPServer.HTTPMetricHandler
- SampleNameFilterSupplier - Class in io.prometheus.client.exporter
-
For convenience, an implementation of a
Supplier<Predicate<String>>
that always returns the same sampleNameFilter. - SampleNameFilterSupplier(Predicate<String>) - Constructor for class io.prometheus.client.exporter.SampleNameFilterSupplier
- sampleNextExemplar(double, double, double, Exemplar) - Method in class io.prometheus.client.Histogram.Child
- sampleNextExemplar(double, Exemplar) - Method in class io.prometheus.client.Counter.Child
- samples - Variable in class io.prometheus.client.CKMSQuantiles
-
List of sampled observations, ordered by Sample.value.
- samples - Variable in class io.prometheus.client.Collector.MetricFamilySamples
- 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
- ServletConfigAdapter - Interface in io.prometheus.client.servlet.common.adapter
- ServletConfigAdapterImpl(ServletConfig) - Constructor for class io.prometheus.client.servlet.jakarta.Adapter.ServletConfigAdapterImpl
- ServletConfigAdapterImpl(ServletConfig) - Constructor for class io.prometheus.client.internal.Adapter.ServletConfigAdapterImpl
- ServletConfigurationException - Exception Class in io.prometheus.client.servlet.common.exporter
- ServletConfigurationException() - Constructor for exception class io.prometheus.client.servlet.common.exporter.ServletConfigurationException
- 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
- setContentType(String) - Method in class io.prometheus.client.internal.Adapter.HttpServletResponseAdapterImpl
- setContentType(String) - Method in interface io.prometheus.client.servlet.common.adapter.HttpServletResponseAdapter
- setContentType(String) - Method in class io.prometheus.client.servlet.jakarta.Adapter.HttpServletResponseAdapterImpl
- setCounterExemplarSampler(CounterExemplarSampler) - Static method in class io.prometheus.client.exemplars.ExemplarConfig
-
Set the default exemplar sampler for Counters.
- setDuration() - Method in class io.prometheus.client.Gauge.Timer
-
Set the amount of time in seconds since
Gauge.Child.startTimer()
was called. - setHistogramExemplarSampler(HistogramExemplarSampler) - Static method in class io.prometheus.client.exemplars.ExemplarConfig
-
Set the default exemplar sampler for Histograms.
- setStatus(int) - Method in class io.prometheus.client.internal.Adapter.HttpServletResponseAdapterImpl
- setStatus(int) - Method in interface io.prometheus.client.servlet.common.adapter.HttpServletResponseAdapter
- setStatus(int) - Method in class io.prometheus.client.servlet.jakarta.Adapter.HttpServletResponseAdapterImpl
- 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
- sortedCopy(String...) - Method in class io.prometheus.client.exemplars.Exemplar
- SPAN_ID - Static variable in class io.prometheus.client.exemplars.DefaultExemplarSampler
- spanContextSupplier - Variable in class io.prometheus.client.exemplars.DefaultExemplarSampler
- SpanContextSupplier - Interface in io.prometheus.client.exemplars.tracer.common
- 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 an 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.
- startTimer(HttpServletRequestAdapter) - Method in class io.prometheus.client.servlet.common.filter.Filter
-
To be called at the beginning of
javax.servlet.Filter.doFilter()
orjakarta.servlet.Filter.doFilter()
. - state(Enum) - Method in class io.prometheus.client.Enumeration.Child
-
Set the state.
- state(Enum) - Method in class io.prometheus.client.Enumeration
-
Set the state on the enum with no labels.
- state(String) - Method in class io.prometheus.client.Enumeration.Child
-
Set the state.
- state(String) - Method in class io.prometheus.client.Enumeration
-
Set the state on the enum with no labels.
- STATE_SET - Enum constant in enum class io.prometheus.client.Collector.Type
- states - Variable in class io.prometheus.client.Enumeration.Builder
- states - Variable in class io.prometheus.client.Enumeration.Child
- states - Variable in class io.prometheus.client.Enumeration
- states(Class) - Method in class io.prometheus.client.Enumeration.Builder
-
Take states from the names of the values in an Enum class.
- states(String...) - Method in class io.prometheus.client.Enumeration.Builder
- statisticsHandler - Variable in class io.prometheus.client.jetty.JettyStatisticsCollector
- statusCounter - Variable in class io.prometheus.client.servlet.common.filter.Filter
- 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
-
Deprecated.renamed to close(), so that the HTTPServer can be used in try-with-resources.
- stringToList(String) - Static method in class io.prometheus.client.SampleNameFilter
-
Helper method to deserialize a
delimiter
-separated list of Strings into aList<String>
. - STRIP_CONTEXT_PATH_PARAM - Static variable in class io.prometheus.client.servlet.common.filter.Filter
- stripContextPath - Variable in class io.prometheus.client.servlet.common.filter.Filter
- 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(Summary.Builder) - Constructor for class io.prometheus.client.Summary
- SUMMARY - Enum constant in enum class 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()
. - Supplier<T> - Interface in io.prometheus.client
-
Replacement for Java 8's
java.util.function.Supplier
for compatibility with Java versions < 8. - SystemClock() - Constructor for class io.prometheus.client.exemplars.DefaultExemplarSampler.SystemClock
T
- test(String) - Method in class io.prometheus.client.SampleNameFilter.AllowAll
- test(String) - Method in class io.prometheus.client.SampleNameFilter
- test(T) - Method in interface io.prometheus.client.Predicate
- 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 - Variable in class io.prometheus.client.servlet.common.filter.Filter.MetricData
- 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
- timestampMs - Variable in class io.prometheus.client.exemplars.Exemplar
- TimeWindowQuantiles - Class in io.prometheus.client
-
Wrapper around CKMSQuantiles.
- TimeWindowQuantiles(CKMSQuantiles.Quantile[], long, int) - Constructor for class io.prometheus.client.TimeWindowQuantiles
- timeWithExemplar(Runnable, String...) - Method in class io.prometheus.client.Histogram.Child
-
Like
Histogram.Child.time(Runnable)
, but additionally create an exemplar. - timeWithExemplar(Runnable, String...) - Method in class io.prometheus.client.Histogram
-
Like
Histogram.time(Runnable)
, but additionally create an exemplar. - timeWithExemplar(Runnable, Map<String, String>) - Method in class io.prometheus.client.Histogram.Child
-
Like
Histogram.Child.time(Runnable)
, but additionally create an exemplar. - timeWithExemplar(Runnable, Map<String, String>) - Method in class io.prometheus.client.Histogram
-
Like
Histogram.time(Runnable)
, but additionally create an exemplar. - timeWithExemplar(Callable<E>, String...) - Method in class io.prometheus.client.Histogram.Child
-
Like
Histogram.Child.time(Callable)
, but additionally create an exemplar. - timeWithExemplar(Callable<E>, String...) - Method in class io.prometheus.client.Histogram
-
Like
Histogram.time(Callable)
, but additionally create an exemplar. - timeWithExemplar(Callable<E>, Map<String, String>) - Method in class io.prometheus.client.Histogram.Child
-
Like
Histogram.Child.time(Callable)
, but additionally create an exemplar. - timeWithExemplar(Callable<E>, Map<String, String>) - Method in class io.prometheus.client.Histogram
-
Like
Histogram.time(Callable)
, but additionally create an exemplar. - toString() - Method in class io.prometheus.client.CKMSQuantiles.Quantile
- toString() - Method in class io.prometheus.client.CKMSQuantiles.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()
. - TRACE_ID - Static variable in class io.prometheus.client.exemplars.DefaultExemplarSampler
- TRACE_LABEL - Static variable in class io.prometheus.client.log4j.InstrumentedAppender
- TRACE_LABEL - Static variable in class io.prometheus.client.log4j2.InstrumentedAppender
- traceCounter - Variable in class io.prometheus.client.logback.InstrumentedAppender
- Tracer - Class in io.prometheus.client.exemplars
- Tracer() - Constructor for class io.prometheus.client.exemplars.Tracer
- type - Variable in class io.prometheus.client.Collector.MetricFamilySamples
- Type() - Constructor for enum class 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
-
Helper used in the error function f(), see definition 5 in the paper.
- unit - Variable in class io.prometheus.client.Collector.MetricFamilySamples
- unit - Variable in class io.prometheus.client.SimpleCollector.Builder
- unit - Variable in class io.prometheus.client.SimpleCollector
- unit(String) - Method in class io.prometheus.client.SimpleCollector.Builder
-
Set the unit of the metric.
- UNKNOWN - Enum constant in enum class io.prometheus.client.Collector.Type
- UNKNOWN - Static variable in class io.prometheus.client.hotspot.ThreadExports
- unregister(Collector) - Method in class io.prometheus.client.CollectorRegistry
-
Unregister a Collector.
- updateExemplar(double, int, Exemplar) - Method in class io.prometheus.client.Histogram.Child
- updateExemplar(double, Exemplar) - Method in class io.prometheus.client.Counter.Child
- upperBounds - Variable in class io.prometheus.client.Histogram.Child
V
- v - Variable in class io.prometheus.client.CKMSQuantiles.Quantile
-
Helper used in the error function f(), see definition 5 in the paper.
- value - Variable in class io.prometheus.client.CKMSQuantiles.Sample
-
Observed value.
- 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.Enumeration.Child
- value - Variable in class io.prometheus.client.exemplars.Exemplar
- value - Variable in class io.prometheus.client.Gauge.Child
- value - Variable in class io.prometheus.client.Info.Child
- value - Variable in class io.prometheus.client.Striped64.Cell
- Value(double, double[], Exemplar[], long) - Constructor for class io.prometheus.client.Histogram.Child.Value
- Value(double, double, List<CKMSQuantiles.Quantile>, TimeWindowQuantiles, long) - Constructor for class io.prometheus.client.Summary.Child.Value
- valueOf(String) - Static method in enum class io.prometheus.client.Collector.Type
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.prometheus.client.Collector.Type
-
Returns an array containing the constants of this enum class, 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
- warnCounter - Variable in class io.prometheus.client.logback.InstrumentedAppender
- withAuthenticator(Authenticator) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
-
Optional:
Authenticator
to use to support authentication. - withDaemonThreads(boolean) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
-
By default, the
HTTPServer
uses non-daemon threads. - withExecutorService(ExecutorService) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
-
Optional: ExecutorService used by the
httpServer
. - withExemplars() - Method in class io.prometheus.client.Counter.Builder
-
Allow this counter to load exemplars from a
CounterExemplarSampler
. - withExemplars() - Method in class io.prometheus.client.Histogram.Builder
-
Allow this histogram to load exemplars from a
HistogramExemplarSampler
. - withExemplarSampler(CounterExemplarSampler) - Method in class io.prometheus.client.Counter.Builder
-
Enable exemplars and provide a custom
CounterExemplarSampler
. - withExemplarSampler(HistogramExemplarSampler) - Method in class io.prometheus.client.Histogram.Builder
-
Enable exemplars and provide a custom
HistogramExemplarSampler
. - withHostname(String) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
-
Use this hostname to resolve the IP address to bind to.
- withHttpsConfigurator(HttpsConfigurator) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
-
Optional:
HttpsConfigurator
to use to support TLS/SSL - withHttpServer(HttpServer) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
-
Use this httpServer.
- withInetAddress(InetAddress) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
-
Bind to this IP address.
- withInetSocketAddress(InetSocketAddress) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
-
Listen on this address.
- withoutExemplars() - Method in class io.prometheus.client.Counter.Builder
-
Prevent this counter from loading exemplars from a
CounterExemplarSampler
. - withoutExemplars() - Method in class io.prometheus.client.Histogram.Builder
-
Prevent this histogram from loading exemplars from a
HistogramExemplarSampler
. - withPort(int) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
-
Port to bind to.
- withRegistry(CollectorRegistry) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
-
Optional: Default is
CollectorRegistry.defaultRegistry
. - withSampleNameFilter(Predicate<String>) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
-
Optional: Only export time series where
sampleNameFilter.test(name)
returns true. - withSampleNameFilterSupplier(Supplier<Predicate<String>>) - Method in class io.prometheus.client.exporter.HTTPServer.Builder
-
Optional: Only export time series where
sampleNameFilter.test(name)
returns true. - wrap(FilterConfig) - Static method in class io.prometheus.client.servlet.jakarta.Adapter
- wrap(HttpServletRequest) - Static method in class io.prometheus.client.servlet.jakarta.Adapter
- wrap(HttpServletResponse) - Static method in class io.prometheus.client.servlet.jakarta.Adapter
- wrap(ServletConfig) - Static method in class io.prometheus.client.servlet.jakarta.Adapter
- wrap(FilterConfig) - Static method in class io.prometheus.client.internal.Adapter
- wrap(HttpServletRequest) - Static method in class io.prometheus.client.internal.Adapter
- wrap(HttpServletResponse) - Static method in class io.prometheus.client.internal.Adapter
- wrap(ServletConfig) - Static method in class io.prometheus.client.internal.Adapter
- 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
- writeFormat(String, Writer, Enumeration<Collector.MetricFamilySamples>) - Static method in class io.prometheus.client.exporter.common.TextFormat
-
Write out the given MetricFamilySamples in a format per the contentType.
- writeObject(ObjectOutputStream) - Method in class io.prometheus.client.DoubleAdder
- writeOpenMetrics100(Writer, Enumeration<Collector.MetricFamilySamples>) - Static method in class io.prometheus.client.exporter.common.TextFormat
-
Write out the OpenMetrics text version 1.0.0 of the given MetricFamilySamples.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form