Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- acceptingNewCustomExemplars - Variable in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- acceptingNewExemplars - Variable in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- accepts(String) - Method in interface io.prometheus.metrics.expositionformats.ExpositionFormatWriter
- accepts(String) - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- accepts(String) - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- accepts(String) - Method in class io.prometheus.metrics.expositionformats.PrometheusProtobufWriter
- accepts(String) - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- adapter - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics
- adapter - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics.Builder
- add(String, String) - Method in class io.prometheus.metrics.model.snapshots.Labels
-
Create a new Labels instance containing the labels of this and the label passed as name and value.
- addCache(String, Cache<?, ?>) - Method in class io.prometheus.metrics.instrumentation.guava.CacheMetricsCollector
-
Add or replace the cache with the given name.
- addLabelSet(Set<String>) - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry.RegistrationInfo
-
Adds a label schema to this registration.
- addLabelValues(String...) - Method in class io.prometheus.metrics.core.metrics.Info
-
Create an info data point with the given label values.
- address - Variable in class io.prometheus.metrics.config.ExporterPushgatewayProperties
- address - Variable in class io.prometheus.metrics.config.ExporterPushgatewayProperties.Builder
- address - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- address(String) - Method in class io.prometheus.metrics.config.ExporterPushgatewayProperties.Builder
- address(String) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
-
Address of the Pushgateway in format
host:port. - ADDRESS - Static variable in class io.prometheus.metrics.config.ExporterPushgatewayProperties
- addToNativeBucket(double, ConcurrentHashMap<Integer, LongAdder>) - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- ageBuckets - Variable in class io.prometheus.metrics.core.metrics.Summary
- ageBuckets - Variable in class io.prometheus.metrics.core.metrics.Summary.Builder
- ALL_METRIC_NAMES - Static variable in class io.prometheus.metrics.instrumentation.guava.CacheMetricsCollector
- AllocationCountingNotificationListener(Counter) - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics.AllocationCountingNotificationListener
- ALLOW_ALL - Static variable in class io.prometheus.metrics.model.registry.MetricNameFilter
-
For convenience, a filter that allows all names.
- ALLOW_UTF8 - Enum constant in enum class io.prometheus.metrics.config.EscapingScheme
-
NO_ESCAPING indicates that a name will not be escaped.
- allowedNames - Variable in class io.prometheus.metrics.config.ExporterFilterProperties
- allowedNames - Variable in class io.prometheus.metrics.config.ExporterFilterProperties.Builder
- allowedNames(String...) - Method in class io.prometheus.metrics.config.ExporterFilterProperties.Builder
-
Only allowed metric names will be exposed.
- allowedPrefixes - Variable in class io.prometheus.metrics.config.ExporterFilterProperties
- allowedPrefixes - Variable in class io.prometheus.metrics.config.ExporterFilterProperties.Builder
- allowedPrefixes(String...) - Method in class io.prometheus.metrics.config.ExporterFilterProperties.Builder
-
Only metrics with a name starting with an allowed prefix will be exposed.
- AMPERES - Static variable in class io.prometheus.metrics.model.snapshots.Unit
- append(double) - Method in class io.prometheus.metrics.core.metrics.Buffer
- appendEscapedLabelValue(StringBuilder, String) - Method in class io.prometheus.metrics.model.snapshots.Labels
- appendLock - Variable in class io.prometheus.metrics.core.metrics.Buffer
- asList() - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
- asList() - Method in class io.prometheus.metrics.model.snapshots.Labels
- asList() - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- asList() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
- assertNull(Object, String) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
- assertValue(T, Predicate<T>, String, String, String) - Static method in class io.prometheus.metrics.config.Util
- authenticatedSubjectAttributeName - Variable in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
- authenticatedSubjectAttributeName(String) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Optional: the attribute name of a Subject from a custom authenticator.
- authenticator - Variable in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
- authenticator(Authenticator) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Optional:
Authenticatorfor authentication. - awaitInitialization() - Static method in class io.prometheus.metrics.core.util.Scheduler
-
For unit test.
B
- base64url(String) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- basicAuth(String, String) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
-
Username and password for HTTP basic auth when pushing to the Pushgateway.
- bearerToken(String) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
-
Bearer token authorization when pushing to the Pushgateway.
- BlockingRejectedExecutionHandler - Class in io.prometheus.metrics.exporter.httpserver
- BlockingRejectedExecutionHandler() - Constructor for class io.prometheus.metrics.exporter.httpserver.BlockingRejectedExecutionHandler
- bucket(double, long) - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets.Builder
-
Must be called at least once for the
Double.POSITIVE_INFINITYbucket. - bucket(int, long) - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets.Builder
-
Add a native histogram bucket.
- bucketIndex - Variable in class io.prometheus.metrics.model.snapshots.NativeHistogramBucket
- bucketIndexes - Variable in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- bucketIndexes - Variable in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets.Builder
- buffer - Variable in class io.prometheus.metrics.core.metrics.CKMSQuantiles
-
Note that the buffer size could as well be less than the compressInterval.
- buffer - Variable in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- buffer - Variable in class io.prometheus.metrics.core.metrics.Summary.DataPoint
- Buffer - Class in io.prometheus.metrics.core.metrics
-
Metrics support concurrent write and scrape operations.
- Buffer() - Constructor for class io.prometheus.metrics.core.metrics.Buffer
- bufferActiveBit - Static variable in class io.prometheus.metrics.core.metrics.Buffer
- bufferFilled - Variable in class io.prometheus.metrics.core.metrics.Buffer
- bufferPoolBeans - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmBufferPoolMetrics
- bufferPoolBeans - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmBufferPoolMetrics.Builder
- bufferPoolBeans(List<BufferPoolMXBean>) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmBufferPoolMetrics.Builder
-
Package private.
- bufferPos - Variable in class io.prometheus.metrics.core.metrics.Buffer
- bufferPos - Variable in class io.prometheus.metrics.core.metrics.CKMSQuantiles
- build() - Method in class io.prometheus.metrics.config.ExemplarsProperties.Builder
- build() - Method in class io.prometheus.metrics.config.ExporterFilterProperties.Builder
- build() - Method in class io.prometheus.metrics.config.ExporterHttpServerProperties.Builder
- build() - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
- build() - Method in class io.prometheus.metrics.config.ExporterProperties.Builder
- build() - Method in class io.prometheus.metrics.config.ExporterPushgatewayProperties.Builder
- build() - Method in class io.prometheus.metrics.config.MetricsProperties.Builder
- build() - Method in class io.prometheus.metrics.config.OpenMetrics2Properties.Builder
- build() - Method in class io.prometheus.metrics.config.PrometheusProperties.Builder
- build() - Method in class io.prometheus.metrics.core.metrics.Counter.Builder
- build() - Method in class io.prometheus.metrics.core.metrics.CounterWithCallback.Builder
- build() - Method in class io.prometheus.metrics.core.metrics.Gauge.Builder
- build() - Method in class io.prometheus.metrics.core.metrics.GaugeWithCallback.Builder
- build() - Method in class io.prometheus.metrics.core.metrics.Histogram.Builder
- build() - Method in class io.prometheus.metrics.core.metrics.Info.Builder
- build() - Method in class io.prometheus.metrics.core.metrics.Metric.Builder
- build() - Method in class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata.Builder
- build() - Method in class io.prometheus.metrics.core.metrics.StateSet.Builder
- build() - Method in class io.prometheus.metrics.core.metrics.Summary.Builder
- build() - Method in class io.prometheus.metrics.core.metrics.SummaryWithCallback.Builder
- build() - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- build() - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter.Builder
- build() - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter.Builder
- build() - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter.Builder
- build() - Method in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets.Builder
-
Will throw an
IllegalArgumentExceptionif theDouble.POSITIVE_INFINITYbucket is missing. - build() - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.Exemplars.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.InfoSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.InfoSnapshot.InfoDataPointSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.Labels.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshots.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.Quantiles.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.Builder
- build() - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot.Builder
- buildAndStart() - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Build and start the HTTPServer.
- builder() - Static method in class io.prometheus.metrics.config.ExemplarsProperties
- builder() - Static method in class io.prometheus.metrics.config.ExporterFilterProperties
- builder() - Static method in class io.prometheus.metrics.config.ExporterHttpServerProperties
- builder() - Static method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- builder() - Static method in class io.prometheus.metrics.config.ExporterProperties
- builder() - Static method in class io.prometheus.metrics.config.ExporterPushgatewayProperties
- builder() - Static method in class io.prometheus.metrics.config.MetricsProperties
- builder() - Static method in class io.prometheus.metrics.config.OpenMetrics2Properties
- builder() - Static method in class io.prometheus.metrics.config.PrometheusProperties
- builder() - Static method in class io.prometheus.metrics.core.metrics.Counter
- builder() - Static method in class io.prometheus.metrics.core.metrics.CounterWithCallback
- builder() - Static method in class io.prometheus.metrics.core.metrics.Gauge
- builder() - Static method in class io.prometheus.metrics.core.metrics.GaugeWithCallback
- builder() - Static method in class io.prometheus.metrics.core.metrics.Histogram
- builder() - Static method in class io.prometheus.metrics.core.metrics.Info
- builder() - Static method in class io.prometheus.metrics.core.metrics.StateSet
- builder() - Static method in class io.prometheus.metrics.core.metrics.Summary
- builder() - Static method in class io.prometheus.metrics.core.metrics.SummaryWithCallback
- builder() - Static method in class io.prometheus.metrics.exporter.httpserver.HTTPServer
- builder() - Static method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
- builder() - Static method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- builder() - Static method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- builder() - Static method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- builder() - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmBufferPoolMetrics
- builder() - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmClassLoadingMetrics
- builder() - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmCompilationMetrics
- builder() - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmGarbageCollectorMetrics
- builder() - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- builder() - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics
- builder() - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmMetrics
- builder() - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics
- builder() - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric
- builder() - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics
- builder() - Static method in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics
- builder() - Static method in class io.prometheus.metrics.model.registry.MetricNameFilter
- builder() - Static method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
-
To create new
ClassicHistogramBuckets, you can either use one of the staticof(...)methods, or usebuilder(). - builder() - Static method in class io.prometheus.metrics.model.snapshots.CounterSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.Exemplar
- builder() - Static method in class io.prometheus.metrics.model.snapshots.Exemplars
- builder() - Static method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.InfoSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.InfoSnapshot.InfoDataPointSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.Labels
- builder() - Static method in class io.prometheus.metrics.model.snapshots.MetricSnapshots
- builder() - Static method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- builder() - Static method in class io.prometheus.metrics.model.snapshots.Quantiles
- builder() - Static method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.SummarySnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot
- builder() - Static method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.core.metrics.Counter
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.core.metrics.CounterWithCallback
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.core.metrics.Gauge
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.core.metrics.GaugeWithCallback
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.core.metrics.Histogram
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.core.metrics.Info
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.core.metrics.StateSet
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.core.metrics.Summary
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.core.metrics.SummaryWithCallback
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.exporter.httpserver.HTTPServer
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
-
The
PrometheusPropertieswill be used to override what is set in thePushGateway.Builder. - builder(PrometheusProperties) - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmBufferPoolMetrics
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmClassLoadingMetrics
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmCompilationMetrics
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmGarbageCollectorMetrics
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmMetrics
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics
- builder(PrometheusProperties) - Static method in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics
- Builder() - Constructor for class io.prometheus.metrics.config.ExemplarsProperties.Builder
- Builder() - Constructor for class io.prometheus.metrics.config.ExporterFilterProperties.Builder
- Builder() - Constructor for class io.prometheus.metrics.config.ExporterHttpServerProperties.Builder
- Builder() - Constructor for class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
- Builder() - Constructor for class io.prometheus.metrics.config.ExporterProperties.Builder
- Builder() - Constructor for class io.prometheus.metrics.config.ExporterPushgatewayProperties.Builder
- Builder() - Constructor for class io.prometheus.metrics.config.MetricsProperties.Builder
- Builder() - Constructor for class io.prometheus.metrics.config.OpenMetrics2Properties.Builder
- Builder() - Constructor for class io.prometheus.metrics.config.PrometheusProperties.Builder
- Builder() - Constructor for class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter.Builder
- Builder() - Constructor for class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter.Builder
- Builder() - Constructor for class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter.Builder
- Builder() - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.CounterSnapshot.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.Exemplars.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.GaugeSnapshot.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.HistogramSnapshot.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.InfoSnapshot.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.InfoSnapshot.InfoDataPointSnapshot.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.Labels.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.MetricSnapshot.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.MetricSnapshots.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.Quantiles.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.StateSetSnapshot.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.SummarySnapshot.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.UnknownSnapshot.Builder
- Builder() - Constructor for class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.core.metrics.Counter.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.core.metrics.CounterWithCallback.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.core.metrics.Gauge.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.core.metrics.GaugeWithCallback.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.core.metrics.Histogram.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.core.metrics.Info.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.core.metrics.StateSet.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.core.metrics.Summary.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.core.metrics.SummaryWithCallback.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmBufferPoolMetrics.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmClassLoadingMetrics.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmCompilationMetrics.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmGarbageCollectorMetrics.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmMetrics.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics.Builder
- Builder(PrometheusProperties) - Constructor for class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics.Builder
- Builder(PrometheusProperties, JvmNativeMemoryMetrics.PlatformMBeanServerAdapter) - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics.Builder
-
Package private.
- Builder(List<String>, PrometheusProperties) - Constructor for class io.prometheus.metrics.core.metrics.CallbackMetric.Builder
- Builder(List<String>, PrometheusProperties) - Constructor for class io.prometheus.metrics.core.metrics.Metric.Builder
- Builder(List<String>, PrometheusProperties) - Constructor for class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata.Builder
- Builder(List<String>, PrometheusProperties) - Constructor for class io.prometheus.metrics.core.metrics.StatefulMetric.Builder
- buildMetadata() - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot.Builder
- BYTES - Static variable in class io.prometheus.metrics.model.snapshots.Unit
C
- CacheMetricsCollector - Class in io.prometheus.metrics.instrumentation.guava
-
Collect metrics from Guava's com.google.common.cache.Cache.
- CacheMetricsCollector() - Constructor for class io.prometheus.metrics.instrumentation.guava.CacheMetricsCollector
- calculateClassicCount(ClassicHistogramBuckets) - Static method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
- calculateCount(ClassicHistogramBuckets, int, long, NativeHistogramBuckets, NativeHistogramBuckets) - Static method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
- calculateNativeCount(long, NativeHistogramBuckets, NativeHistogramBuckets) - Static method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
- calcUpperBound(int, int) - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- call(double, String...) - Method in interface io.prometheus.metrics.core.metrics.CounterWithCallback.Callback
- call(double, String...) - Method in interface io.prometheus.metrics.core.metrics.GaugeWithCallback.Callback
- call(long, double, Quantiles, String...) - Method in interface io.prometheus.metrics.core.metrics.SummaryWithCallback.Callback
- callback - Variable in class io.prometheus.metrics.core.metrics.CounterWithCallback.Builder
- callback - Variable in class io.prometheus.metrics.core.metrics.CounterWithCallback
- callback - Variable in class io.prometheus.metrics.core.metrics.GaugeWithCallback.Builder
- callback - Variable in class io.prometheus.metrics.core.metrics.GaugeWithCallback
- callback - Variable in class io.prometheus.metrics.core.metrics.SummaryWithCallback.Builder
- callback - Variable in class io.prometheus.metrics.core.metrics.SummaryWithCallback
- callback(Consumer<CounterWithCallback.Callback>) - Method in class io.prometheus.metrics.core.metrics.CounterWithCallback.Builder
- callback(Consumer<GaugeWithCallback.Callback>) - Method in class io.prometheus.metrics.core.metrics.GaugeWithCallback.Builder
- callback(Consumer<SummaryWithCallback.Callback>) - Method in class io.prometheus.metrics.core.metrics.SummaryWithCallback.Builder
- CallbackMetric - Class in io.prometheus.metrics.core.metrics
-
There are two kinds of metrics:
StatefulMetricandCallbackMetric. - CallbackMetric(CallbackMetric.Builder<?, ?>) - Constructor for class io.prometheus.metrics.core.metrics.CallbackMetric
- CallbackMetric.Builder<B,
M> - Class in io.prometheus.metrics.core.metrics - callLongGetter(Method, Object) - Method in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics
-
Attempts to call a method either directly or via one of the implemented interfaces.
- callLongGetter(String, Object) - Method in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics
- CELSIUS - Static variable in class io.prometheus.metrics.model.snapshots.Unit
- children - Variable in class io.prometheus.metrics.instrumentation.guava.CacheMetricsCollector
- CKMSQuantiles - Class in io.prometheus.metrics.core.metrics
-
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.metrics.core.metrics.CKMSQuantiles
- CKMSQuantiles.Quantile - Class in io.prometheus.metrics.core.metrics
- CKMSQuantiles.Sample - Class in io.prometheus.metrics.core.metrics
- CLASSIC_HISTOGRAM - Static variable in class io.prometheus.metrics.core.metrics.Histogram
- CLASSIC_HISTOGRAM - Static variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot
- classicBuckets - Variable in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- classicBuckets - Variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
- classicExponentialUpperBounds(double, double, int) - Method in class io.prometheus.metrics.core.metrics.Histogram.Builder
-
Create classic histogram buckets with exponential boundaries.
- ClassicHistogramBucket - Class in io.prometheus.metrics.model.snapshots
-
Helper class for iterating over
ClassicHistogramBuckets. - ClassicHistogramBucket(double, long) - Constructor for class io.prometheus.metrics.model.snapshots.ClassicHistogramBucket
- classicHistogramBuckets - Variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- classicHistogramBuckets(ClassicHistogramBuckets) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- ClassicHistogramBuckets - Class in io.prometheus.metrics.model.snapshots
-
Immutable container for histogram buckets with fixed bucket boundaries.
- ClassicHistogramBuckets(double[], long[]) - Constructor for class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
- ClassicHistogramBuckets.Builder - Class in io.prometheus.metrics.model.snapshots
- classicLinearUpperBounds(double, double, int) - Method in class io.prometheus.metrics.core.metrics.Histogram.Builder
-
Create classic histogram buckets with linear bucket boundaries.
- classicOnly - Variable in class io.prometheus.metrics.core.metrics.Histogram.Builder
- classicOnly() - Method in class io.prometheus.metrics.core.metrics.Histogram.Builder
-
Use the classic histogram representation only, i.e.
- classicUpperBounds - Variable in class io.prometheus.metrics.core.metrics.Histogram.Builder
- classicUpperBounds - Variable in class io.prometheus.metrics.core.metrics.Histogram
- classicUpperBounds(double...) - Method in class io.prometheus.metrics.core.metrics.Histogram.Builder
-
Set the upper bounds for the classic histogram buckets.
- classLoadingBean - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmClassLoadingMetrics.Builder
- classLoadingBean - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmClassLoadingMetrics
- classLoadingBean(ClassLoadingMXBean) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmClassLoadingMetrics.Builder
-
Package private.
- clear() - Method in class io.prometheus.metrics.core.metrics.StatefulMetric
-
Reset the metric (remove all data points).
- clear() - Method in class io.prometheus.metrics.instrumentation.guava.CacheMetricsCollector
-
Remove all caches.
- clear() - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
- close() - Method in class io.prometheus.metrics.core.datapoints.Timer
-
Same as
Timer.observeDuration(). - close() - Method in interface io.prometheus.metrics.exporter.common.PrometheusHttpExchange
- close() - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- close() - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer
-
Stop the HTTPServer.
- close() - Method in class io.prometheus.metrics.exporter.servlet.jakarta.HttpExchangeAdapter
- collect() - Method in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- collect() - Method in class io.prometheus.metrics.core.metrics.Counter
- collect() - Method in class io.prometheus.metrics.core.metrics.CounterWithCallback
- collect() - Method in class io.prometheus.metrics.core.metrics.Gauge
- collect() - Method in class io.prometheus.metrics.core.metrics.GaugeWithCallback
- collect() - Method in class io.prometheus.metrics.core.metrics.Histogram
- collect() - Method in class io.prometheus.metrics.core.metrics.Info
- collect() - Method in class io.prometheus.metrics.core.metrics.Metric
- collect() - Method in class io.prometheus.metrics.core.metrics.StatefulMetric
- collect() - Method in class io.prometheus.metrics.core.metrics.StateSet
- collect() - Method in class io.prometheus.metrics.core.metrics.Summary
- collect() - Method in class io.prometheus.metrics.core.metrics.SummaryWithCallback
- collect() - Method in class io.prometheus.metrics.instrumentation.guava.CacheMetricsCollector
- collect() - Method in interface io.prometheus.metrics.model.registry.Collector
-
Called when the Prometheus server scrapes metrics.
- collect() - Method in interface io.prometheus.metrics.model.registry.MultiCollector
-
Called when the Prometheus server scrapes metrics.
- collect(PrometheusScrapeRequest) - Method in interface io.prometheus.metrics.model.registry.Collector
-
Provides Collector with the details of the request issued by Prometheus to allow multi-target pattern implementation Override to implement request dependent logic to provide MetricSnapshot
- collect(PrometheusScrapeRequest) - Method in interface io.prometheus.metrics.model.registry.MultiCollector
-
Provides Collector with the details of the request issued by Prometheus to allow multi-target pattern implementation Override to implement request dependent logic to provide MetricSnapshot
- collect(Labels) - Method in class io.prometheus.metrics.core.metrics.Counter.DataPoint
- collect(Labels) - Method in class io.prometheus.metrics.core.metrics.Gauge.DataPoint
- collect(Labels) - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- collect(Labels) - Method in class io.prometheus.metrics.core.metrics.Summary.DataPoint
- collect(Predicate<String>) - Method in interface io.prometheus.metrics.model.registry.Collector
- collect(Predicate<String>) - Method in interface io.prometheus.metrics.model.registry.MultiCollector
-
Like
MultiCollector.collect(), but returns only the snapshots whereincludedNames.test(name)istrue. - collect(Predicate<String>, PrometheusScrapeRequest) - Method in interface io.prometheus.metrics.model.registry.Collector
-
Like
Collector.collect(Predicate), but with support for multi-target pattern. - collect(Predicate<String>, PrometheusScrapeRequest) - Method in interface io.prometheus.metrics.model.registry.MultiCollector
-
Like
MultiCollector.collect(Predicate), but with support for multi-target pattern. - collect(List<Labels>, List<Counter.DataPoint>) - Method in class io.prometheus.metrics.core.metrics.Counter
- collect(List<Labels>, List<Gauge.DataPoint>) - Method in class io.prometheus.metrics.core.metrics.Gauge
- collect(List<Labels>, List<Histogram.DataPoint>) - Method in class io.prometheus.metrics.core.metrics.Histogram
- collect(List<Labels>, List<StateSet.DataPoint>) - Method in class io.prometheus.metrics.core.metrics.StateSet
- collect(List<Labels>, List<Summary.DataPoint>) - Method in class io.prometheus.metrics.core.metrics.Summary
- collect(List<Labels>, List<T>) - Method in class io.prometheus.metrics.core.metrics.StatefulMetric
-
labels and metricData have the same size.
- Collector - Interface in io.prometheus.metrics.model.registry
-
To be registered with the Prometheus collector registry.
- collectorMetadata - Variable in class io.prometheus.metrics.model.registry.PrometheusRegistry
- CollectorRegistration(String, Set<String>) - Constructor for class io.prometheus.metrics.model.registry.PrometheusRegistry.CollectorRegistration
- collectors - Variable in class io.prometheus.metrics.model.registry.PrometheusRegistry
- compare(String[], String[]) - Method in class io.prometheus.metrics.model.snapshots.Labels
- compareTo(ClassicHistogramBucket) - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBucket
-
For sorting a list of buckets by upper bound.
- compareTo(Label) - Method in class io.prometheus.metrics.model.snapshots.Label
- compareTo(Labels) - Method in class io.prometheus.metrics.model.snapshots.Labels
- compilationBean - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmCompilationMetrics.Builder
- compilationBean - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmCompilationMetrics
- compilationBean(CompilationMXBean) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmCompilationMetrics.Builder
-
Package private.
- COMPOSITE_VALUES - Static variable in class io.prometheus.metrics.config.OpenMetrics2Properties
- compositeValues - Variable in class io.prometheus.metrics.config.OpenMetrics2Properties.Builder
- compositeValues - Variable in class io.prometheus.metrics.config.OpenMetrics2Properties
- compositeValues(boolean) - Method in class io.prometheus.metrics.config.OpenMetrics2Properties.Builder
- compress() - Method in class io.prometheus.metrics.core.metrics.CKMSQuantiles
-
Merge pairs of consecutive samples if this doesn't violate the error function.
- compressInterval - Variable in class io.prometheus.metrics.core.metrics.CKMSQuantiles
-
Compress is called every compressInterval inserts.
- config - Variable in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- config - Variable in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
- config - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- config - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmBufferPoolMetrics.Builder
- config - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmBufferPoolMetrics
- config - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmClassLoadingMetrics.Builder
- config - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmClassLoadingMetrics
- config - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmCompilationMetrics.Builder
- config - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmCompilationMetrics
- config - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmGarbageCollectorMetrics.Builder
- config - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmGarbageCollectorMetrics
- config - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics.Builder
- config - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- config - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmMetrics.Builder
- config - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics.Builder
- config - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics
- config - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric.Builder
- config - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric
- config - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics.Builder
- config - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics
- config - Variable in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics.Builder
- config - Variable in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics
- CONNECT_TIMEOUT - Static variable in class io.prometheus.metrics.config.ExporterPushgatewayProperties
- connectionFactory - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- connectionFactory - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway
- connectionFactory(HttpConnectionFactory) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
-
Custom connection factory.
- connectionTimeout - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- connectionTimeout - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway
- connectionTimeout(Duration) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
-
Specify the connection timeout for HTTP connections to the PushGateway.
- connectTimeout - Variable in class io.prometheus.metrics.config.ExporterPushgatewayProperties.Builder
- connectTimeout - Variable in class io.prometheus.metrics.config.ExporterPushgatewayProperties
- connectTimeout(Duration) - Method in class io.prometheus.metrics.config.ExporterPushgatewayProperties.Builder
- constLabels - Variable in class io.prometheus.metrics.core.metrics.Metric.Builder
- constLabels - Variable in class io.prometheus.metrics.core.metrics.Metric
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmBufferPoolMetrics.Builder
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmBufferPoolMetrics
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmClassLoadingMetrics.Builder
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmClassLoadingMetrics
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmCompilationMetrics.Builder
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmCompilationMetrics
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmGarbageCollectorMetrics.Builder
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmGarbageCollectorMetrics
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics.Builder
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics.Builder
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmMetrics.Builder
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics.Builder
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric.Builder
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics.Builder
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics.Builder
- constLabels - Variable in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics
- constLabels(Labels) - Method in class io.prometheus.metrics.core.metrics.Metric.Builder
- constLabels(Labels) - Method in class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata.Builder
- constLabels(Labels) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmBufferPoolMetrics.Builder
- constLabels(Labels) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmClassLoadingMetrics.Builder
- constLabels(Labels) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmCompilationMetrics.Builder
- constLabels(Labels) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmGarbageCollectorMetrics.Builder
- constLabels(Labels) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics.Builder
- constLabels(Labels) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics.Builder
- constLabels(Labels) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmMetrics.Builder
-
Set constant labels that will be applied to all JVM metrics registered by this builder.
- constLabels(Labels) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics.Builder
- constLabels(Labels) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric.Builder
- constLabels(Labels) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics.Builder
- constLabels(Labels) - Method in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics.Builder
- constructor - Variable in class io.prometheus.metrics.core.metrics.SlidingWindow
- contains(String) - Method in class io.prometheus.metrics.model.snapshots.Labels
-
Test if these labels contain a specific label name.
- containsMetricName(String) - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshots.Builder
- CONTENT_NEGOTIATION - Static variable in class io.prometheus.metrics.config.OpenMetrics2Properties
- CONTENT_TYPE - Static variable in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- CONTENT_TYPE - Static variable in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- CONTENT_TYPE - Static variable in class io.prometheus.metrics.expositionformats.PrometheusProtobufWriter
- CONTENT_TYPE - Static variable in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- contentNegotiation - Variable in class io.prometheus.metrics.config.OpenMetrics2Properties.Builder
- contentNegotiation - Variable in class io.prometheus.metrics.config.OpenMetrics2Properties
- contentNegotiation(boolean) - Method in class io.prometheus.metrics.config.OpenMetrics2Properties.Builder
- contentType - Variable in class io.prometheus.metrics.exporter.httpserver.DefaultHandler
- contentType - Variable in class io.prometheus.metrics.exporter.httpserver.HealthyHandler
- count - Variable in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- count - Variable in class io.prometheus.metrics.core.metrics.Summary.DataPoint
- count - Variable in class io.prometheus.metrics.model.snapshots.ClassicHistogramBucket
- count - Variable in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot.Builder
- count - Variable in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot
- count - Variable in class io.prometheus.metrics.model.snapshots.NativeHistogramBucket
- count(long) - Method in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot.Builder
-
Count can be explicitly set on summaries (this is a public method for summary metrics), and it is set implicitly on histograms (derived from the bucket counts).
- count(long) - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot.Builder
- counter - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics.AllocationCountingNotificationListener
- Counter - Class in io.prometheus.metrics.core.metrics
-
Counter metric.
- Counter(Counter.Builder, PrometheusProperties) - Constructor for class io.prometheus.metrics.core.metrics.Counter
- COUNTER - Enum constant in enum class io.prometheus.metrics.model.registry.MetricType
- Counter.Builder - Class in io.prometheus.metrics.core.metrics
- Counter.DataPoint - Class in io.prometheus.metrics.core.metrics
- CounterDataPoint - Interface in io.prometheus.metrics.core.datapoints
-
Represents a single counter data point, i.e.
- CounterDataPointSnapshot(double, Labels, Exemplar, long) - Constructor for class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot
-
To create a new
CounterSnapshot.CounterDataPointSnapshot, you can either call the constructor directly or use the Builder withCounterSnapshot.CounterDataPointSnapshot.builder(). - CounterDataPointSnapshot(double, Labels, Exemplar, long, long) - Constructor for class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot
-
Constructor with an additional scrape timestamp.
- CounterDataPointSnapshot(double, Labels, Exemplar, long, long, boolean) - Constructor for class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot
- CounterSnapshot - Class in io.prometheus.metrics.model.snapshots
-
Immutable snapshot of a Counter.
- CounterSnapshot(MetricMetadata, Collection<CounterSnapshot.CounterDataPointSnapshot>) - Constructor for class io.prometheus.metrics.model.snapshots.CounterSnapshot
-
To create a new
CounterSnapshot, you can either call the constructor directly or use the builder withCounterSnapshot.builder(). - CounterSnapshot(MetricMetadata, Collection<CounterSnapshot.CounterDataPointSnapshot>, boolean) - Constructor for class io.prometheus.metrics.model.snapshots.CounterSnapshot
- CounterSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- CounterSnapshot.CounterDataPointSnapshot - Class in io.prometheus.metrics.model.snapshots
- CounterSnapshot.CounterDataPointSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- CounterWithCallback - Class in io.prometheus.metrics.core.metrics
-
Example:
- CounterWithCallback(CounterWithCallback.Builder) - Constructor for class io.prometheus.metrics.core.metrics.CounterWithCallback
- CounterWithCallback.Builder - Class in io.prometheus.metrics.core.metrics
- CounterWithCallback.Callback - Interface in io.prometheus.metrics.core.metrics
- counts - Variable in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets.Builder
- counts - Variable in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
- counts - Variable in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets.Builder
- counts - Variable in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- create() - Static method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- create() - Static method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- create() - Static method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- create(URL) - Method in class io.prometheus.metrics.exporter.pushgateway.DefaultHttpConnectionFactory
- create(URL) - Method in interface io.prometheus.metrics.exporter.pushgateway.HttpConnectionFactory
- createdTimeMillis - Variable in class io.prometheus.metrics.core.metrics.Counter.DataPoint
- createdTimeMillis - Variable in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- createdTimeMillis - Variable in class io.prometheus.metrics.core.metrics.Summary.DataPoint
- createdTimestampMillis - Variable in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot.Builder
- createdTimestampMillis - Variable in class io.prometheus.metrics.model.snapshots.DataPointSnapshot
- createdTimestampMillis - Variable in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot.Builder
- createdTimestampMillis(long) - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot.Builder
- createdTimestampMillis(long) - Method in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot.Builder
- createdTimestampsEnabled - Variable in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter.Builder
- createdTimestampsEnabled - Variable in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- createdTimestampsEnabled - Variable in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter.Builder
- createdTimestampsEnabled - Variable in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- createProtobufWriter() - Static method in class io.prometheus.metrics.expositionformats.PrometheusProtobufWriter
- current() - Method in class io.prometheus.metrics.core.metrics.SlidingWindow
-
Get the currently active instance of
T. - currentBucket - Variable in class io.prometheus.metrics.core.metrics.SlidingWindow
- currentTimeMillis - Variable in class io.prometheus.metrics.core.metrics.SlidingWindow
- customExemplars - Variable in class io.prometheus.metrics.core.exemplars.ExemplarSampler
D
- daemon - Variable in class io.prometheus.metrics.exporter.httpserver.NamedDaemonThreadFactory
- DaemonThreadFactory() - Constructor for class io.prometheus.metrics.core.util.Scheduler.DaemonThreadFactory
- data - Variable in class io.prometheus.metrics.core.metrics.StatefulMetric
-
Map label values to data points.
- dataPoint(CounterSnapshot.CounterDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.Builder
-
Add a data point.
- dataPoint(GaugeSnapshot.GaugeDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.Builder
-
Add a data point.
- dataPoint(HistogramSnapshot.HistogramDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.Builder
-
Add a data point.
- dataPoint(InfoSnapshot.InfoDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.InfoSnapshot.Builder
-
Add a data point.
- dataPoint(StateSetSnapshot.StateSetDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.Builder
-
Add a data point.
- dataPoint(SummarySnapshot.SummaryDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.Builder
-
Add a data point.
- dataPoint(UnknownSnapshot.UnknownDataPointSnapshot) - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.Builder
-
Add a data point.
- DataPoint - Interface in io.prometheus.metrics.core.datapoints
- DataPoint() - Constructor for class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- DataPoint() - Constructor for class io.prometheus.metrics.core.metrics.StateSet.DataPoint
- DataPoint() - Constructor for class io.prometheus.metrics.core.metrics.Summary.DataPoint
- DataPoint(ExemplarSampler) - Constructor for class io.prometheus.metrics.core.metrics.Counter.DataPoint
- DataPoint(ExemplarSampler) - Constructor for class io.prometheus.metrics.core.metrics.Gauge.DataPoint
- dataPoints - Variable in class io.prometheus.metrics.model.snapshots.CounterSnapshot.Builder
- dataPoints - Variable in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.Builder
- dataPoints - Variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.Builder
- dataPoints - Variable in class io.prometheus.metrics.model.snapshots.InfoSnapshot.Builder
- dataPoints - Variable in class io.prometheus.metrics.model.snapshots.MetricSnapshot
- dataPoints - Variable in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.Builder
- dataPoints - Variable in class io.prometheus.metrics.model.snapshots.SummarySnapshot.Builder
- dataPoints - Variable in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.Builder
- DataPointSnapshot - Class in io.prometheus.metrics.model.snapshots
- DataPointSnapshot(Labels, long, long, boolean) - Constructor for class io.prometheus.metrics.model.snapshots.DataPointSnapshot
- DataPointSnapshot.Builder<T> - Class in io.prometheus.metrics.model.snapshots
- dec() - Method in interface io.prometheus.metrics.core.datapoints.GaugeDataPoint
-
Subtract one.
- dec(double) - Method in interface io.prometheus.metrics.core.datapoints.GaugeDataPoint
-
Subtract
amount. - decWithExemplar(double, Labels) - Method in interface io.prometheus.metrics.core.datapoints.GaugeDataPoint
-
Subtract
amount, and create a custom exemplar with the given labels. - decWithExemplar(Labels) - Method in interface io.prometheus.metrics.core.datapoints.GaugeDataPoint
-
Subtract one, and create a custom exemplar with the given labels.
- DEFAULT - Static variable in enum class io.prometheus.metrics.config.EscapingScheme
-
Default escaping scheme for names when not specified.
- DEFAULT_CLASSIC_UPPER_BOUNDS - Static variable in class io.prometheus.metrics.core.metrics.Histogram.Builder
- DEFAULT_MAX_AGE_SECONDS - Static variable in class io.prometheus.metrics.core.metrics.Summary.Builder
-
5 minutes.
- DEFAULT_MAX_RETENTION_PERIOD_SECONDS - Static variable in class io.prometheus.metrics.core.exemplars.ExemplarSamplerConfig
- DEFAULT_MIN_RETENTION_PERIOD_SECONDS - Static variable in class io.prometheus.metrics.core.exemplars.ExemplarSamplerConfig
- DEFAULT_NATIVE_INITIAL_SCHEMA - Static variable in class io.prometheus.metrics.core.metrics.Histogram.Builder
- DEFAULT_NATIVE_MAX_NUMBER_OF_BUCKETS - Static variable in class io.prometheus.metrics.core.metrics.Histogram.Builder
- DEFAULT_NATIVE_MAX_ZERO_THRESHOLD - Static variable in class io.prometheus.metrics.core.metrics.Histogram.Builder
- DEFAULT_NATIVE_MIN_ZERO_THRESHOLD - Static variable in class io.prometheus.metrics.core.metrics.Histogram.Builder
- DEFAULT_NATIVE_RESET_DURATION_SECONDS - Static variable in class io.prometheus.metrics.core.metrics.Histogram.Builder
- DEFAULT_NUMBER_OF_AGE_BUCKETS - Static variable in class io.prometheus.metrics.core.metrics.Summary.Builder
-
5.
- DEFAULT_SAMPLE_INTERVAL_MILLISECONDS - Static variable in class io.prometheus.metrics.core.exemplars.ExemplarSamplerConfig
- defaultError(double) - Static method in class io.prometheus.metrics.core.metrics.Summary.Builder
- defaultHandler - Variable in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
- defaultHandler(HttpHandler) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Optional: Override default handler, i.e.
- DefaultHandler - Class in io.prometheus.metrics.exporter.httpserver
-
Handler for the / endpoint
- DefaultHandler(String) - Constructor for class io.prometheus.metrics.exporter.httpserver.DefaultHandler
- DefaultHttpConnectionFactory - Class in io.prometheus.metrics.exporter.pushgateway
-
This can be used for creating
Scheme.HTTPandScheme.HTTPSconnections. - DefaultHttpConnectionFactory() - Constructor for class io.prometheus.metrics.exporter.pushgateway.DefaultHttpConnectionFactory
- DefaultJobLabelDetector - Class in io.prometheus.metrics.exporter.pushgateway
-
The default
joblabel is the name of the JAR file being executed. - DefaultJobLabelDetector() - Constructor for class io.prometheus.metrics.exporter.pushgateway.DefaultJobLabelDetector
- defaultMetricsProperties - Variable in class io.prometheus.metrics.config.PrometheusProperties.Builder
- defaultMetricsProperties - Variable in class io.prometheus.metrics.config.PrometheusProperties
- defaultMetricsProperties(MetricsProperties) - Method in class io.prometheus.metrics.config.PrometheusProperties.Builder
- DefaultPlatformMBeanServerAdapter() - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics.DefaultPlatformMBeanServerAdapter
- defaultRegistry - Static variable in class io.prometheus.metrics.model.registry.PrometheusRegistry
- defaultThreadFactory(boolean) - Static method in class io.prometheus.metrics.exporter.httpserver.NamedDaemonThreadFactory
- delegate - Variable in class io.prometheus.metrics.exporter.httpserver.NamedDaemonThreadFactory
- DELEGATE - Static variable in class io.prometheus.metrics.expositionformats.PrometheusProtobufWriter
- delete() - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
-
Deletes metrics from the Pushgateway.
- delta - Variable in class io.prometheus.metrics.core.metrics.CKMSQuantiles.Sample
-
Difference between the greatest possible rank of this sample and the lowest possible rank of this sample.
- DistributionDataPoint - Interface in io.prometheus.metrics.core.datapoints
-
Represents a single data point of a histogram or a summary metric.
- DistributionDataPointSnapshot - Class in io.prometheus.metrics.model.snapshots
-
Common base class for histogram and summary data.
- DistributionDataPointSnapshot(long, double, Exemplars, Labels, long, long, boolean) - Constructor for class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot
-
See JavaDoc of the child classes.
- DistributionDataPointSnapshot.Builder<T> - Class in io.prometheus.metrics.model.snapshots
- doAppend(double) - Method in class io.prometheus.metrics.core.metrics.Buffer
- doGet(HttpServletRequest, HttpServletResponse) - Method in class io.prometheus.metrics.exporter.servlet.jakarta.PrometheusMetricsServlet
- doObserve(double) - Method in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- doObserve(double) - Method in class io.prometheus.metrics.core.metrics.Summary.DataPoint
- doObserve(double, boolean) - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- doObserveSingleExemplar(double) - Method in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- doObserveSingleExemplar(double, Labels) - Method in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- doObserveWithExemplar(double, Labels) - Method in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- doObserveWithExemplarWithoutUpperBounds(double, Labels) - Method in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- doObserveWithExemplarWithUpperBounds(double, Labels, double[]) - Method in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- doObserveWithoutUpperBounds(double) - Method in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- doObserveWithUpperBounds(double, double[]) - Method in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- doRequest(PrometheusRegistry, String) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
- doSampleExemplar() - Method in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- DOTS_ESCAPING - Enum constant in enum class io.prometheus.metrics.config.EscapingScheme
-
DOTS_ESCAPING is similar to UNDERSCORE_ESCAPING, except that dots are converted to `_dot_` and pre-existing underscores are converted to `__`.
- doubleBucketWidth() - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- doubleBucketWidth(Map<Integer, LongAdder>) - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- doubleValue - Variable in class io.prometheus.metrics.core.metrics.Counter.DataPoint
- drainInputAndClose(HttpExchange) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer
- DuplicateLabelsException - Exception Class in io.prometheus.metrics.model.snapshots
-
Thrown when a collector tries to create a
MetricSnapshotwhere multiple data points have the same labels (same label names and label values). - DuplicateLabelsException(MetricMetadata, Labels) - Constructor for exception class io.prometheus.metrics.model.snapshots.DuplicateLabelsException
- durationBetweenRotatesMillis - Variable in class io.prometheus.metrics.core.metrics.SlidingWindow
- durationUntilNextExemplarExpires(long) - Method in class io.prometheus.metrics.core.exemplars.ExemplarSampler
E
- EMPTY - Static variable in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
-
Used in native histograms to indicate that no classic histogram buckets are present.
- EMPTY - Static variable in class io.prometheus.metrics.model.snapshots.Exemplars
-
EMPTY means no Exemplars.
- EMPTY - Static variable in class io.prometheus.metrics.model.snapshots.Labels
- EMPTY - Static variable in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- EMPTY - Static variable in class io.prometheus.metrics.model.snapshots.Quantiles
- enableAll() - Method in class io.prometheus.metrics.config.OpenMetrics2Properties.Builder
-
Enable all OpenMetrics 2.0 features
- enabled - Variable in class io.prometheus.metrics.config.OpenMetrics2Properties.Builder
- enabled - Variable in class io.prometheus.metrics.config.OpenMetrics2Properties
- enabled(boolean) - Method in class io.prometheus.metrics.config.OpenMetrics2Properties.Builder
- ENABLED - Static variable in class io.prometheus.metrics.config.OpenMetrics2Properties
- enableOpenMetrics2(Consumer<OpenMetrics2Properties.Builder>) - Method in class io.prometheus.metrics.config.PrometheusProperties.Builder
- endpoint - Variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
- endpoint - Variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- endpoint(String) - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
-
The OTLP endpoint to send metric data to.
- ENDPOINT - Static variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- envVarProperties - Variable in class io.prometheus.metrics.config.PropertySource
- epsilon - Variable in class io.prometheus.metrics.core.metrics.CKMSQuantiles.Quantile
-
Allowed error.
- equals(Object) - Method in class io.prometheus.metrics.model.snapshots.Label
- equals(Object) - Method in class io.prometheus.metrics.model.snapshots.Labels
- equals(Object) - Method in class io.prometheus.metrics.model.snapshots.Unit
- escape(EscapingScheme) - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot
- escape(EscapingScheme) - Method in class io.prometheus.metrics.model.snapshots.DataPointSnapshot
- escape(EscapingScheme) - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot
- escape(EscapingScheme) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
- escape(EscapingScheme) - Method in class io.prometheus.metrics.model.snapshots.InfoSnapshot.InfoDataPointSnapshot
- escape(EscapingScheme) - Method in class io.prometheus.metrics.model.snapshots.MetricMetadata
- escape(EscapingScheme) - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
- escape(EscapingScheme) - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot
- escape(EscapingScheme) - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot
- escape(EscapingScheme, List<? extends DataPointSnapshot>) - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot
- escape(EscapingScheme, List<? extends DataPointSnapshot>) - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot
- escape(EscapingScheme, List<? extends DataPointSnapshot>) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot
- escape(EscapingScheme, List<? extends DataPointSnapshot>) - Method in class io.prometheus.metrics.model.snapshots.InfoSnapshot
- escape(EscapingScheme, List<? extends DataPointSnapshot>) - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot
- escape(EscapingScheme, List<? extends DataPointSnapshot>) - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot
- escape(EscapingScheme, List<? extends DataPointSnapshot>) - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot
- escape(EscapingScheme, List<? extends DataPointSnapshot>) - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot
- escapeExemplar(Exemplar, EscapingScheme) - Static method in class io.prometheus.metrics.model.snapshots.SnapshotEscaper
- escapeExemplars(Exemplars, EscapingScheme) - Static method in class io.prometheus.metrics.model.snapshots.SnapshotEscaper
- escapeLabels(Labels, EscapingScheme) - Static method in class io.prometheus.metrics.model.snapshots.SnapshotEscaper
- escapeMetricSnapshot(MetricSnapshot, EscapingScheme) - Static method in class io.prometheus.metrics.model.snapshots.SnapshotEscaper
-
Escapes the given metric names and labels with the given escaping scheme.
- escapeName(String, EscapingScheme) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
Escapes the incoming name according to the provided escaping scheme.
- ESCAPING_KEY - Static variable in enum class io.prometheus.metrics.config.EscapingScheme
- ESCAPING_SCHEME - Static variable in class io.prometheus.metrics.config.ExporterPushgatewayProperties
- escapingScheme - Variable in class io.prometheus.metrics.config.ExporterPushgatewayProperties.Builder
- escapingScheme - Variable in class io.prometheus.metrics.config.ExporterPushgatewayProperties
- escapingScheme - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- escapingScheme - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway
- escapingScheme(EscapingScheme) - Method in class io.prometheus.metrics.config.ExporterPushgatewayProperties.Builder
- escapingScheme(EscapingScheme) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
-
Specify the escaping scheme to be used when pushing metrics.
- EscapingScheme - Enum Class in io.prometheus.metrics.config
- EscapingScheme(String) - Constructor for enum class io.prometheus.metrics.config.EscapingScheme
- excludedNames - Variable in class io.prometheus.metrics.config.ExporterFilterProperties.Builder
- excludedNames - Variable in class io.prometheus.metrics.config.ExporterFilterProperties
- excludedNames(String...) - Method in class io.prometheus.metrics.config.ExporterFilterProperties.Builder
-
Excluded metric names will not be exposed.
- excludedPrefixes - Variable in class io.prometheus.metrics.config.ExporterFilterProperties.Builder
- excludedPrefixes - Variable in class io.prometheus.metrics.config.ExporterFilterProperties
- excludedPrefixes(String...) - Method in class io.prometheus.metrics.config.ExporterFilterProperties.Builder
-
Metrics with a name starting with an excluded prefix will not be exposed.
- executor - Static variable in class io.prometheus.metrics.core.util.Scheduler
- executorService - Variable in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
- executorService - Variable in class io.prometheus.metrics.exporter.httpserver.HTTPServer
- executorService(ExecutorService) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Optional: ExecutorService used by the
httpServer. - exemplar - Variable in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot.Builder
- exemplar - Variable in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot
- exemplar - Variable in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot.Builder
- exemplar - Variable in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot
- exemplar - Variable in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot.Builder
- exemplar - Variable in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot
- exemplar(Exemplar) - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot.Builder
- exemplar(Exemplar) - Method in class io.prometheus.metrics.model.snapshots.Exemplars.Builder
-
Add an exemplar.
- exemplar(Exemplar) - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot.Builder
-
Optional
- exemplar(Exemplar) - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot.Builder
-
Optional
- Exemplar - Class in io.prometheus.metrics.model.snapshots
-
Immutable representation of an Exemplar.
- Exemplar(double, Labels, long) - Constructor for class io.prometheus.metrics.model.snapshots.Exemplar
-
To create a new
Exemplar, you can either call the constructor directly or use the Builder withExemplar.builder(). - EXEMPLAR_ATTRIBUTE_NAME - Static variable in interface io.prometheus.metrics.tracer.common.SpanContext
- EXEMPLAR_ATTRIBUTE_VALUE - Static variable in interface io.prometheus.metrics.tracer.common.SpanContext
- EXEMPLAR_COMPLIANCE - Static variable in class io.prometheus.metrics.config.OpenMetrics2Properties
- Exemplar.Builder - Class in io.prometheus.metrics.model.snapshots
- exemplarCompliance - Variable in class io.prometheus.metrics.config.OpenMetrics2Properties.Builder
- exemplarCompliance - Variable in class io.prometheus.metrics.config.OpenMetrics2Properties
- exemplarCompliance(boolean) - Method in class io.prometheus.metrics.config.OpenMetrics2Properties.Builder
- exemplarNeedsEscaping(Exemplar, EscapingScheme) - Static method in class io.prometheus.metrics.model.snapshots.SnapshotEscaper
- exemplarProperties - Variable in class io.prometheus.metrics.config.PrometheusProperties.Builder
- exemplarProperties - Variable in class io.prometheus.metrics.config.PrometheusProperties
- exemplarProperties(ExemplarsProperties) - Method in class io.prometheus.metrics.config.PrometheusProperties.Builder
- exemplars - Variable in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- exemplars - Variable in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot.Builder
- exemplars - Variable in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot
- exemplars - Variable in class io.prometheus.metrics.model.snapshots.Exemplars.Builder
- exemplars - Variable in class io.prometheus.metrics.model.snapshots.Exemplars
- exemplars(Exemplars) - Method in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot.Builder
- exemplars(Collection<Exemplar>) - Method in class io.prometheus.metrics.model.snapshots.Exemplars.Builder
-
Add all exemplars form the collection.
- Exemplars - Class in io.prometheus.metrics.model.snapshots
-
Immutable container for Exemplars.
- Exemplars(Collection<Exemplar>) - Constructor for class io.prometheus.metrics.model.snapshots.Exemplars
- EXEMPLARS_ENABLED - Static variable in class io.prometheus.metrics.config.MetricsProperties
- EXEMPLARS_ON_ALL_METRIC_TYPES - Static variable in class io.prometheus.metrics.config.ExporterProperties
- Exemplars.Builder - Class in io.prometheus.metrics.model.snapshots
- exemplarSampler - Variable in class io.prometheus.metrics.core.metrics.Counter.DataPoint
- exemplarSampler - Variable in class io.prometheus.metrics.core.metrics.Gauge.DataPoint
- exemplarSampler - Variable in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- exemplarSampler - Variable in class io.prometheus.metrics.core.metrics.Summary.DataPoint
- ExemplarSampler - Class in io.prometheus.metrics.core.exemplars
-
The ExemplarSampler selects Spans as exemplars.
- ExemplarSampler(ExemplarSamplerConfig) - Constructor for class io.prometheus.metrics.core.exemplars.ExemplarSampler
- ExemplarSampler(ExemplarSamplerConfig, SpanContext) - Constructor for class io.prometheus.metrics.core.exemplars.ExemplarSampler
-
Constructor with an additional {code spanContext} argument.
- exemplarSamplerConfig - Variable in class io.prometheus.metrics.core.metrics.Counter
- exemplarSamplerConfig - Variable in class io.prometheus.metrics.core.metrics.Gauge
- exemplarSamplerConfig - Variable in class io.prometheus.metrics.core.metrics.Histogram
- exemplarSamplerConfig - Variable in class io.prometheus.metrics.core.metrics.Summary
- ExemplarSamplerConfig - Class in io.prometheus.metrics.core.exemplars
- ExemplarSamplerConfig(long, long, long, int, double[]) - Constructor for class io.prometheus.metrics.core.exemplars.ExemplarSamplerConfig
- ExemplarSamplerConfig(ExemplarsProperties, double[]) - Constructor for class io.prometheus.metrics.core.exemplars.ExemplarSamplerConfig
-
Constructor for classic histogram metrics.
- ExemplarSamplerConfig(ExemplarsProperties, int) - Constructor for class io.prometheus.metrics.core.exemplars.ExemplarSamplerConfig
-
Constructor for all metric types except classic histograms.
- ExemplarSamplerConfig(ExemplarsProperties, int, double[]) - Constructor for class io.prometheus.metrics.core.exemplars.ExemplarSamplerConfig
- exemplarsEnabled - Variable in class io.prometheus.metrics.config.MetricsProperties.Builder
- exemplarsEnabled - Variable in class io.prometheus.metrics.config.MetricsProperties
- exemplarsEnabled - Variable in class io.prometheus.metrics.core.metrics.StatefulMetric.Builder
- exemplarsEnabled(Boolean) - Method in class io.prometheus.metrics.config.MetricsProperties.Builder
- exemplarsNeedsEscaping(Exemplars, EscapingScheme) - Static method in class io.prometheus.metrics.model.snapshots.SnapshotEscaper
- exemplarsOnAllMetricTypes - Variable in class io.prometheus.metrics.config.ExporterProperties.Builder
- exemplarsOnAllMetricTypes - Variable in class io.prometheus.metrics.config.ExporterProperties
- exemplarsOnAllMetricTypes(boolean) - Method in class io.prometheus.metrics.config.ExporterProperties.Builder
- exemplarsOnAllMetricTypesEnabled - Variable in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter.Builder
- exemplarsOnAllMetricTypesEnabled - Variable in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- exemplarsOnAllMetricTypesEnabled - Variable in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter.Builder
- exemplarsOnAllMetricTypesEnabled - Variable in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- ExemplarsProperties - Class in io.prometheus.metrics.config
-
Properties starting with io.prometheus.exemplars
- ExemplarsProperties(Integer, Integer, Integer) - Constructor for class io.prometheus.metrics.config.ExemplarsProperties
- ExemplarsProperties.Builder - Class in io.prometheus.metrics.config
- exporterFilterProperties - Variable in class io.prometheus.metrics.config.PrometheusProperties.Builder
- exporterFilterProperties - Variable in class io.prometheus.metrics.config.PrometheusProperties
- exporterFilterProperties(ExporterFilterProperties) - Method in class io.prometheus.metrics.config.PrometheusProperties.Builder
- ExporterFilterProperties - Class in io.prometheus.metrics.config
-
Properties starting with io.prometheus.exporter.filter
- ExporterFilterProperties(List<String>, List<String>, List<String>, List<String>) - Constructor for class io.prometheus.metrics.config.ExporterFilterProperties
- ExporterFilterProperties.Builder - Class in io.prometheus.metrics.config
- exporterHttpServerProperties - Variable in class io.prometheus.metrics.config.PrometheusProperties.Builder
- exporterHttpServerProperties - Variable in class io.prometheus.metrics.config.PrometheusProperties
- exporterHttpServerProperties(ExporterHttpServerProperties) - Method in class io.prometheus.metrics.config.PrometheusProperties.Builder
- ExporterHttpServerProperties - Class in io.prometheus.metrics.config
-
Properties starting with io.prometheus.exporter.http_server
- ExporterHttpServerProperties(Integer, boolean) - Constructor for class io.prometheus.metrics.config.ExporterHttpServerProperties
- ExporterHttpServerProperties.Builder - Class in io.prometheus.metrics.config
- exporterOpenTelemetryProperties - Variable in class io.prometheus.metrics.config.PrometheusProperties
- exporterOpenTelemetryProperties(ExporterOpenTelemetryProperties) - Method in class io.prometheus.metrics.config.PrometheusProperties.Builder
- ExporterOpenTelemetryProperties - Class in io.prometheus.metrics.config
-
Properties for configuring the OpenTelemetry exporter.
- ExporterOpenTelemetryProperties(String, String, Map<String, String>, String, String, String, String, String, String, Map<String, String>) - Constructor for class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- ExporterOpenTelemetryProperties.Builder - Class in io.prometheus.metrics.config
- exporterProperties - Variable in class io.prometheus.metrics.config.PrometheusProperties.Builder
- exporterProperties - Variable in class io.prometheus.metrics.config.PrometheusProperties
- exporterProperties(ExporterProperties) - Method in class io.prometheus.metrics.config.PrometheusProperties.Builder
- ExporterProperties - Class in io.prometheus.metrics.config
-
Properties starting with io.prometheus.exporter
- ExporterProperties(Boolean, Boolean, Boolean) - Constructor for class io.prometheus.metrics.config.ExporterProperties
- ExporterProperties.Builder - Class in io.prometheus.metrics.config
- exporterPushgatewayProperties - Variable in class io.prometheus.metrics.config.PrometheusProperties
- ExporterPushgatewayProperties - Class in io.prometheus.metrics.config
- ExporterPushgatewayProperties(String, String, String, EscapingScheme, Duration, Duration) - Constructor for class io.prometheus.metrics.config.ExporterPushgatewayProperties
- ExporterPushgatewayProperties.Builder - Class in io.prometheus.metrics.config
- expositionFormats - Variable in class io.prometheus.metrics.exporter.common.PrometheusScrapeHandler
- ExpositionFormats - Class in io.prometheus.metrics.expositionformats
- ExpositionFormats(PrometheusProtobufWriter, PrometheusTextFormatWriter, OpenMetricsTextFormatWriter, OpenMetrics2TextFormatWriter) - Constructor for class io.prometheus.metrics.expositionformats.ExpositionFormats
- ExpositionFormatWriter - Interface in io.prometheus.metrics.expositionformats
- externalProperties - Variable in class io.prometheus.metrics.config.PropertySource
F
- f(int) - Method in class io.prometheus.metrics.core.metrics.CKMSQuantiles
-
Error function, as in definition 5 of the paper.
- FileGrepper() - Constructor for class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics.FileGrepper
- findBucketIndex(double) - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- findIndex(double[], double) - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- findPort() - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
- findSmallestIndex(Map<Integer, LongAdder>) - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- findWriter(String) - Method in class io.prometheus.metrics.expositionformats.ExpositionFormats
- flush() - Method in class io.prometheus.metrics.core.metrics.CKMSQuantiles
- format - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- format(Format) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
-
Default is
Format.PROMETHEUS_PROTOBUF. - Format - Enum Class in io.prometheus.metrics.exporter.pushgateway
- Format() - Constructor for enum class io.prometheus.metrics.exporter.pushgateway.Format
- forString(String) - Static method in enum class io.prometheus.metrics.config.EscapingScheme
- fromAcceptHeader(String) - Static method in enum class io.prometheus.metrics.config.EscapingScheme
-
fromAcceptHeader returns an EscapingScheme depending on the Accept header.
- fromString(String) - Static method in enum class io.prometheus.metrics.exporter.pushgateway.Scheme
G
- g - Variable in class io.prometheus.metrics.core.metrics.CKMSQuantiles.Sample
-
Difference between the lowest possible rank of this sample and its predecessor.
- garbageCollectorBeans - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmGarbageCollectorMetrics.Builder
- garbageCollectorBeans - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmGarbageCollectorMetrics
- garbageCollectorBeans - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics.Builder
- garbageCollectorBeans - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics
- garbageCollectorBeans(List<GarbageCollectorMXBean>) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmGarbageCollectorMetrics.Builder
-
Package private.
- Gauge - Class in io.prometheus.metrics.core.metrics
-
Gauge metric.
- Gauge(Gauge.Builder, PrometheusProperties) - Constructor for class io.prometheus.metrics.core.metrics.Gauge
- GAUGE - Enum constant in enum class io.prometheus.metrics.model.registry.MetricType
- Gauge.Builder - Class in io.prometheus.metrics.core.metrics
- Gauge.DataPoint - Class in io.prometheus.metrics.core.metrics
- GaugeDataPoint - Interface in io.prometheus.metrics.core.datapoints
-
Represents a single gauge data point, i.e.
- GaugeDataPointSnapshot(double, Labels, Exemplar) - Constructor for class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot
-
To create a new
GaugeSnapshot.GaugeDataPointSnapshot, you can either call the constructor directly or use the Builder withGaugeSnapshot.GaugeDataPointSnapshot.builder(). - GaugeDataPointSnapshot(double, Labels, Exemplar, long) - Constructor for class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot
-
Constructor with an additional scrape timestamp.
- GaugeDataPointSnapshot(double, Labels, Exemplar, long, boolean) - Constructor for class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot
- gaugeHistogram - Variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot
- gaugeHistogram(boolean) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.Builder
-
trueindicates that this histogram is a gauge histogram. - GaugeSnapshot - Class in io.prometheus.metrics.model.snapshots
-
Immutable snapshot of a Gauge.
- GaugeSnapshot(MetricMetadata, Collection<GaugeSnapshot.GaugeDataPointSnapshot>) - Constructor for class io.prometheus.metrics.model.snapshots.GaugeSnapshot
-
To create a new
GaugeSnapshot, you can either call the constructor directly or use the builder withGaugeSnapshot.builder(). - GaugeSnapshot(MetricMetadata, Collection<GaugeSnapshot.GaugeDataPointSnapshot>, boolean) - Constructor for class io.prometheus.metrics.model.snapshots.GaugeSnapshot
- GaugeSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- GaugeSnapshot.GaugeDataPointSnapshot - Class in io.prometheus.metrics.model.snapshots
- GaugeSnapshot.GaugeDataPointSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- GaugeWithCallback - Class in io.prometheus.metrics.core.metrics
-
Example:
- GaugeWithCallback(GaugeWithCallback.Builder) - Constructor for class io.prometheus.metrics.core.metrics.GaugeWithCallback
- GaugeWithCallback.Builder - Class in io.prometheus.metrics.core.metrics
- GaugeWithCallback.Callback - Interface in io.prometheus.metrics.core.metrics
- get() - Static method in class io.prometheus.metrics.config.PrometheusProperties
-
Get the properties instance.
- get() - Method in interface io.prometheus.metrics.core.datapoints.CounterDataPoint
-
Get the current value.
- get() - Method in interface io.prometheus.metrics.core.datapoints.GaugeDataPoint
-
Get the current value.
- get() - Method in class io.prometheus.metrics.core.metrics.Counter.DataPoint
- get() - Method in class io.prometheus.metrics.core.metrics.Counter
- get() - Method in class io.prometheus.metrics.core.metrics.Gauge.DataPoint
- get() - Method in class io.prometheus.metrics.core.metrics.Gauge
- get(double) - Method in class io.prometheus.metrics.core.metrics.CKMSQuantiles
-
Get the estimated value at the specified quantile.
- get(double, double) - Method in class io.prometheus.metrics.model.snapshots.Exemplars
-
This is used by classic histograms to find an exemplar with a value between lowerBound and upperBound.
- get(int) - Method in class io.prometheus.metrics.model.snapshots.Exemplars
- get(int) - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshots
- get(int) - Method in class io.prometheus.metrics.model.snapshots.Quantiles
- get(String) - Method in class io.prometheus.metrics.config.PrometheusProperties.MetricPropertiesMap
-
Get metric properties by metric name.
- get(String) - Method in class io.prometheus.metrics.model.snapshots.Labels
-
Get the label value for a given label name.
- getAddress() - Method in class io.prometheus.metrics.config.ExporterPushgatewayProperties
-
Address of the Pushgateway in the form
host:port. - getAddress(ExporterPushgatewayProperties) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- getAllKeys() - Method in class io.prometheus.metrics.config.PropertySource
-
Returns all keys from all three property sources.
- getAllowedMetricNamePrefixes() - Method in class io.prometheus.metrics.config.ExporterFilterProperties
- getAllowedMetricNames() - Method in class io.prometheus.metrics.config.ExporterFilterProperties
- getAndSet(Map<String, Long>, String, long) - Static method in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics.AllocationCountingNotificationListener
- getBucketIndex() - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBucket
-
See
NativeHistogramBucketsfor info on native bucket indexes. - getBucketIndex(int) - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- getClassicBuckets() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
Will return garbage if
HistogramSnapshot.HistogramDataPointSnapshot.hasClassicHistogramData()isfalse. - getClassicBuckets(HistogramSnapshot.HistogramDataPointSnapshot) - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- getClassicBuckets(HistogramSnapshot.HistogramDataPointSnapshot) - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- getClassicBuckets(HistogramSnapshot.HistogramDataPointSnapshot) - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- getCompositeValues() - Method in class io.prometheus.metrics.config.OpenMetrics2Properties
-
Single-line histogram/summary with
st@. - getConfigProperty(MetricsProperties[], Function<MetricsProperties, P>) - Method in class io.prometheus.metrics.core.metrics.StatefulMetric
- getConnectionTimeout(ExporterPushgatewayProperties) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- getConnectTimeout() - Method in class io.prometheus.metrics.config.ExporterPushgatewayProperties
-
Connection timeout for connections to the Pushgateway.
- getContentNegotiation() - Method in class io.prometheus.metrics.config.OpenMetrics2Properties
-
Gate OM2 features behind content negotiation.
- getContentType() - Method in interface io.prometheus.metrics.expositionformats.ExpositionFormatWriter
- getContentType() - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- getContentType() - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- getContentType() - Method in class io.prometheus.metrics.expositionformats.PrometheusProtobufWriter
- getContentType() - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- getCount() - Method in interface io.prometheus.metrics.core.datapoints.DistributionDataPoint
-
Get the count of observations.
- getCount() - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- getCount() - Method in class io.prometheus.metrics.core.metrics.Histogram
- getCount() - Method in class io.prometheus.metrics.core.metrics.Summary.DataPoint
- getCount() - Method in class io.prometheus.metrics.core.metrics.Summary
- getCount() - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBucket
- getCount() - Method in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot
-
This will return garbage if
DistributionDataPointSnapshot.hasCount()isfalse. - getCount() - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBucket
- getCount(int) - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
-
The count is not cumulative.
- getCount(int) - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- getCreatedTimestampMillis() - Method in class io.prometheus.metrics.model.snapshots.DataPointSnapshot
-
This will only return a reasonable value if
DataPointSnapshot.hasCreatedTimestamp()is true. - getCurrentSpanId() - Method in interface io.prometheus.metrics.tracer.common.SpanContext
- getCurrentTraceId() - Method in interface io.prometheus.metrics.tracer.common.SpanContext
- getDataPoints() - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot
- getDataPoints() - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot
- getDataPoints() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot
- getDataPoints() - Method in class io.prometheus.metrics.model.snapshots.InfoSnapshot
- getDataPoints() - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot
- getDataPoints() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot
- getDataPoints() - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot
- getDataPoints() - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot
- getDefaultJobLabel() - Static method in class io.prometheus.metrics.exporter.pushgateway.DefaultJobLabelDetector
- getDefaultMetricProperties() - Method in class io.prometheus.metrics.config.PrometheusProperties
-
The default metric properties apply for metrics where
PrometheusProperties.getMetricProperties(String)isnull. - getDefaultProperties() - Method in class io.prometheus.metrics.core.metrics.Histogram.Builder
-
Default properties for histogram metrics.
- getDefaultProperties() - Method in class io.prometheus.metrics.core.metrics.StatefulMetric.Builder
-
Override if there are more properties than just exemplars enabled.
- getDefaultProperties() - Method in class io.prometheus.metrics.core.metrics.Summary.Builder
-
Default properties for summary metrics.
- getDelegate() - Method in class io.prometheus.metrics.expositionformats.PrometheusProtobufWriter
- getEnabled() - Method in class io.prometheus.metrics.config.OpenMetrics2Properties
-
Enable the OpenMetrics 2.0 text format writer.
- getEndpoint() - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- getEscapingScheme() - Method in class io.prometheus.metrics.config.ExporterPushgatewayProperties
-
Escaping scheme to be used when pushing metric data to the pushgateway.
- getEscapingScheme(ExporterPushgatewayProperties) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- getExcludedMetricNamePrefixes() - Method in class io.prometheus.metrics.config.ExporterFilterProperties
- getExcludedMetricNames() - Method in class io.prometheus.metrics.config.ExporterFilterProperties
- getExemplar() - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot
- getExemplar() - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot
- getExemplar() - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot
- getExemplarCompliance() - Method in class io.prometheus.metrics.config.OpenMetrics2Properties
-
Mandatory timestamps, no 128-char limit for exemplars.
- getExemplarProperties() - Method in class io.prometheus.metrics.config.PrometheusProperties
- getExemplars() - Method in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot
-
May be
Exemplars.EMPTY, but will never benull. - getExemplarsEnabled() - Method in class io.prometheus.metrics.config.MetricsProperties
-
This is the only configuration property that can be applied to all metric types.
- getExemplarsOnAllMetricTypes() - Method in class io.prometheus.metrics.config.ExporterProperties
-
Allow Exemplars on all metric types in OpenMetrics format? Default is
false, which means Exemplars will only be added for Counters and Histogram buckets. - getExporterFilterProperties() - Method in class io.prometheus.metrics.config.PrometheusProperties
- getExporterHttpServerProperties() - Method in class io.prometheus.metrics.config.PrometheusProperties
- getExporterOpenTelemetryProperties() - Method in class io.prometheus.metrics.config.PrometheusProperties
- getExporterProperties() - Method in class io.prometheus.metrics.config.PrometheusProperties
- getExporterPushgatewayProperties() - Method in class io.prometheus.metrics.config.PrometheusProperties
- getFormat() - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- getHeader(String) - Method in interface io.prometheus.metrics.exporter.common.PrometheusHttpRequest
-
See
jakarta.servlet.http.HttpServletRequest.getHeader(String) - getHeaders() - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- getHeaders(String) - Method in interface io.prometheus.metrics.exporter.common.PrometheusHttpRequest
-
See
jakarta.servlet.http.HttpServletRequest.getHeaders(String) - getHeaders(String) - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpRequest
- getHeaders(String) - Method in class io.prometheus.metrics.exporter.servlet.jakarta.HttpExchangeAdapter.Request
- getHelp() - Method in class io.prometheus.metrics.model.snapshots.MetricMetadata
- getHistogramClassicOnly() - Method in class io.prometheus.metrics.config.MetricsProperties
-
See
Histogram.Builder.classicOnly() - getHistogramClassicUpperBounds() - Method in class io.prometheus.metrics.config.MetricsProperties
-
See
Histogram.Builder.classicUpperBounds() - getHistogramClassicUpperBounds() - Method in class io.prometheus.metrics.core.exemplars.ExemplarSamplerConfig
- getHistogramNativeInitialSchema() - Method in class io.prometheus.metrics.config.MetricsProperties
-
See
Histogram.Builder.nativeInitialSchema() - getHistogramNativeMaxNumberOfBuckets() - Method in class io.prometheus.metrics.config.MetricsProperties
-
See
Histogram.Builder.nativeMaxNumberOfBuckets() - getHistogramNativeMaxZeroThreshold() - Method in class io.prometheus.metrics.config.MetricsProperties
-
See
Histogram.Builder.nativeMaxZeroThreshold() - getHistogramNativeMinZeroThreshold() - Method in class io.prometheus.metrics.config.MetricsProperties
-
See
Histogram.Builder.nativeMinZeroThreshold() - getHistogramNativeOnly() - Method in class io.prometheus.metrics.config.MetricsProperties
-
See
Histogram.Builder.nativeOnly() - getHistogramNativeResetDurationSeconds() - Method in class io.prometheus.metrics.config.MetricsProperties
-
See
Histogram.Builder.nativeResetDuration() - getIncludeCreatedTimestamps() - Method in class io.prometheus.metrics.config.ExporterProperties
-
Include the
_createdtimestamps in text format? Default isfalse. - getInterval() - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- getJarPathFromSunCommandLine() - Static method in class io.prometheus.metrics.exporter.pushgateway.DefaultJobLabelDetector
- getJob() - Method in class io.prometheus.metrics.config.ExporterPushgatewayProperties
-
joblabel for metrics being pushed. - getJob(ExporterPushgatewayProperties) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- getLabelNames() - Method in class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata
- getLabelNames() - Method in interface io.prometheus.metrics.model.registry.Collector
-
Returns the complete set of label names for this metric.
- getLabelNames(String) - Method in interface io.prometheus.metrics.model.registry.MultiCollector
-
Returns the complete set of label names for the given Prometheus name.
- getLabels() - Method in class io.prometheus.metrics.model.snapshots.DataPointSnapshot
- getLabels() - Method in exception class io.prometheus.metrics.model.snapshots.DuplicateLabelsException
- getLabels() - Method in class io.prometheus.metrics.model.snapshots.Exemplar
-
In most cases labels will contain
Exemplar.TRACE_IDandExemplar.SPAN_ID, but this is not required. - getLatest() - Method in class io.prometheus.metrics.model.snapshots.Exemplars
-
Find the Exemplar with the newest timestamp.
- getLongValue() - Method in interface io.prometheus.metrics.core.datapoints.CounterDataPoint
-
Get the current value as a
long. - getLongValue() - Method in class io.prometheus.metrics.core.metrics.Counter.DataPoint
- getLongValue() - Method in class io.prometheus.metrics.core.metrics.Counter
- getMaxRetentionPeriodMillis() - Method in class io.prometheus.metrics.core.exemplars.ExemplarSamplerConfig
- getMaxRetentionPeriodSeconds() - Method in class io.prometheus.metrics.config.ExemplarsProperties
-
Maximum time how long Exemplars are kept before they are evicted.
- getMetadata() - Method in class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata
- getMetadata() - Method in interface io.prometheus.metrics.model.registry.Collector
-
Returns the metric metadata (name, help, unit) for registration-time validation.
- getMetadata() - Method in exception class io.prometheus.metrics.model.snapshots.DuplicateLabelsException
- getMetadata() - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot
- getMetadata(String) - Method in interface io.prometheus.metrics.model.registry.MultiCollector
-
Returns the metric metadata (name, help, unit) for the given Prometheus name.
- getMetadataName(MetricMetadata, EscapingScheme) - Static method in class io.prometheus.metrics.model.snapshots.SnapshotEscaper
- getMethod() - Method in interface io.prometheus.metrics.exporter.common.PrometheusHttpRequest
-
See
jakarta.servlet.http.HttpServletRequest.getMethod() - getMethod() - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpRequest
- getMethod() - Method in class io.prometheus.metrics.exporter.servlet.jakarta.HttpExchangeAdapter.Request
- getMetricProperties(StatefulMetric.Builder<?, ?>, PrometheusProperties) - Method in class io.prometheus.metrics.core.metrics.StatefulMetric
-
Metric properties in effect by order of precedence with the highest precedence first.
- getMetricProperties(String) - Method in class io.prometheus.metrics.config.PrometheusProperties
-
Properties specific for one metric.
- getMetricsPath(String) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer
- getMetricType() - Method in class io.prometheus.metrics.core.metrics.Counter
- getMetricType() - Method in class io.prometheus.metrics.core.metrics.CounterWithCallback
- getMetricType() - Method in class io.prometheus.metrics.core.metrics.Gauge
- getMetricType() - Method in class io.prometheus.metrics.core.metrics.GaugeWithCallback
- getMetricType() - Method in class io.prometheus.metrics.core.metrics.Histogram
- getMetricType() - Method in class io.prometheus.metrics.core.metrics.Info
- getMetricType() - Method in class io.prometheus.metrics.core.metrics.StateSet
- getMetricType() - Method in class io.prometheus.metrics.core.metrics.Summary
- getMetricType() - Method in class io.prometheus.metrics.core.metrics.SummaryWithCallback
- getMetricType() - Method in interface io.prometheus.metrics.model.registry.Collector
-
Returns the metric type for registration-time validation.
- getMetricType(String) - Method in interface io.prometheus.metrics.model.registry.MultiCollector
-
Returns the metric type for the given Prometheus name.
- getMinRetentionPeriodMillis() - Method in class io.prometheus.metrics.core.exemplars.ExemplarSamplerConfig
- getMinRetentionPeriodSeconds() - Method in class io.prometheus.metrics.config.ExemplarsProperties
-
Minimum time how long Exemplars are kept before they may be replaced by new Exemplars.
- getName() - Method in class io.prometheus.metrics.model.snapshots.Label
- getName() - Method in class io.prometheus.metrics.model.snapshots.MetricMetadata
-
The name does not include the
_totalsuffix for counter metrics or the_infosuffix for Info metrics. - getName() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.State
- getName(int) - Method in class io.prometheus.metrics.model.snapshots.Labels
- getName(int) - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
- getNativeBucketsForNegativeValues() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
Will return garbage if
HistogramSnapshot.HistogramDataPointSnapshot.hasNativeHistogramData()isfalse. - getNativeBucketsForPositiveValues() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
Will return garbage if
HistogramSnapshot.HistogramDataPointSnapshot.hasNativeHistogramData()isfalse. - getNativeHistograms() - Method in class io.prometheus.metrics.config.OpenMetrics2Properties
-
Exponential buckets support for native histograms.
- getNativeSchema() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
The schema defines the scale of the native histogram, i.g.
- getNativeZeroCount() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
Number of observed zero values.
- getNativeZeroThreshold() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
All observations in [-nativeZeroThreshold; +nativeZeroThreshold] are treated as zero.
- getNoLabels() - Method in class io.prometheus.metrics.core.metrics.StatefulMetric
- getNumberOfExemplars() - Method in class io.prometheus.metrics.core.exemplars.ExemplarSamplerConfig
-
Defaults: Counters have one Exemplar, native histograms and summaries have 4 Exemplars, classic histograms have one Exemplar per bucket.
- getOpenMetrics2Properties() - Method in class io.prometheus.metrics.config.PrometheusProperties
- getOpenMetrics2Properties() - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- getOpenMetrics2TextFormatWriter() - Method in class io.prometheus.metrics.expositionformats.ExpositionFormats
- getOpenMetricsTextFormatWriter() - Method in class io.prometheus.metrics.expositionformats.ExpositionFormats
- getOrDefault(T, T) - Static method in class io.prometheus.metrics.core.exemplars.ExemplarSamplerConfig
- getParameter(String) - Method in interface io.prometheus.metrics.exporter.common.PrometheusHttpRequest
-
See
jakarta.servlet.ServletRequest.getParameter(String) - getParameterValues(String) - Method in interface io.prometheus.metrics.exporter.common.PrometheusHttpRequest
-
See
jakarta.servlet.ServletRequest.getParameterValues(String) - getParameterValues(String) - Method in interface io.prometheus.metrics.model.registry.PrometheusScrapeRequest
-
See
jakarta.servlet.ServletRequest.getParameterValues(String name) - getPort() - Method in class io.prometheus.metrics.config.ExporterHttpServerProperties
- getPort() - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer
-
Gets the port number.
- getPrometheusName() - Method in class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata
- getPrometheusName() - Method in interface io.prometheus.metrics.model.registry.Collector
-
This is called in two places: During registration to check if a metric with that name already exists.
- getPrometheusName() - Method in class io.prometheus.metrics.model.snapshots.MetricMetadata
-
Same as
MetricMetadata.getName()but with all invalid characters and dots replaced by underscores. - getPrometheusName(int) - Method in class io.prometheus.metrics.model.snapshots.Labels
-
Like
Labels.getName(int), but dots are replaced with underscores. - getPrometheusNames() - Method in class io.prometheus.metrics.instrumentation.guava.CacheMetricsCollector
- getPrometheusNames() - Method in interface io.prometheus.metrics.model.registry.MultiCollector
-
This is called in two places: During registration to check if a metric with that name already exists.
- getPrometheusProtobufWriter() - Method in class io.prometheus.metrics.expositionformats.ExpositionFormats
- getPrometheusTextFormatWriter() - Method in class io.prometheus.metrics.expositionformats.ExpositionFormats
- getPrometheusTimestampsInMs() - Method in class io.prometheus.metrics.config.ExporterProperties
-
Use milliseconds for timestamps in prometheus text format? Default is
false. - getPrometheusTimestampsInMs() - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- getProperty(String) - Method in class io.prometheus.metrics.config.PropertySource
-
Gets a property value by key, checking all three sources in priority order.
- getProperty(String, String) - Method in class io.prometheus.metrics.config.PropertySource
-
Gets a property value by prefix and property name.
- getProperty(String, String, PropertySource) - Static method in class io.prometheus.metrics.config.Util
- getProtocol() - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- getQuantile() - Method in class io.prometheus.metrics.model.snapshots.Quantile
- getQuantiles() - Method in class io.prometheus.metrics.core.metrics.Summary.DataPoint
- getQuantiles() - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot
- getQueryString() - Method in interface io.prometheus.metrics.exporter.common.PrometheusHttpRequest
-
See
jakarta.servlet.http.HttpServletRequest.getQueryString() - getQueryString() - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpRequest
- getQueryString() - Method in class io.prometheus.metrics.exporter.servlet.jakarta.HttpExchangeAdapter.Request
- getReadTimeout() - Method in class io.prometheus.metrics.config.ExporterPushgatewayProperties
-
Read timeout for connections to the Pushgateway.
- getReadTimeout(ExporterPushgatewayProperties) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- getRemainingKeys() - Method in class io.prometheus.metrics.config.PropertySource
-
Returns all remaining keys from all three property sources.
- getRequest() - Method in interface io.prometheus.metrics.exporter.common.PrometheusHttpExchange
- getRequest() - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- getRequest() - Method in class io.prometheus.metrics.exporter.servlet.jakarta.HttpExchangeAdapter
- getRequestPath() - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpRequest
- getRequestPath() - Method in class io.prometheus.metrics.exporter.servlet.jakarta.HttpExchangeAdapter.Request
- getRequestPath() - Method in interface io.prometheus.metrics.model.registry.PrometheusScrapeRequest
-
Absolute path of the HTTP request.
- getResourceAttributes() - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- getResponse() - Method in interface io.prometheus.metrics.exporter.common.PrometheusHttpExchange
- getResponse() - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- getResponse() - Method in class io.prometheus.metrics.exporter.servlet.jakarta.HttpExchangeAdapter
- getSampleIntervalMillis() - Method in class io.prometheus.metrics.core.exemplars.ExemplarSamplerConfig
- getSampleIntervalMilliseconds() - Method in class io.prometheus.metrics.config.ExemplarsProperties
-
Time between attempts to sample new Exemplars.
- getScheme() - Method in class io.prometheus.metrics.config.ExporterPushgatewayProperties
-
Scheme to be used when pushing metrics to the pushgateway.
- getScheme(ExporterPushgatewayProperties) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- getScrapeTimestampMillis() - Method in class io.prometheus.metrics.model.snapshots.DataPointSnapshot
-
This will only return a reasonable value if
DataPointSnapshot.hasScrapeTimestamp()is true. - getServiceInstanceId() - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- getServiceName() - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- getServiceName(Path) - Static method in class io.prometheus.metrics.exporter.pushgateway.DefaultJobLabelDetector
- getServiceNamespace() - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- getServiceVersion() - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- getSnapshotLabelName(Labels, int, EscapingScheme) - Static method in class io.prometheus.metrics.model.snapshots.SnapshotEscaper
- getSpanContextFromInitializer() - Static method in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- getSum() - Method in interface io.prometheus.metrics.core.datapoints.DistributionDataPoint
-
Get the sum of all observed values.
- getSum() - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- getSum() - Method in class io.prometheus.metrics.core.metrics.Histogram
- getSum() - Method in class io.prometheus.metrics.core.metrics.Summary.DataPoint
- getSum() - Method in class io.prometheus.metrics.core.metrics.Summary
- getSum() - Method in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot
-
This will return garbage if
DistributionDataPointSnapshot.hasSum()isfalse. - getSummaryMaxAgeSeconds() - Method in class io.prometheus.metrics.config.MetricsProperties
-
See
Summary.Builder.maxAgeSeconds() - getSummaryNumberOfAgeBuckets() - Method in class io.prometheus.metrics.config.MetricsProperties
-
See
Summary.Builder.numberOfAgeBuckets() - getSummaryQuantileErrors() - Method in class io.prometheus.metrics.config.MetricsProperties
-
See
Summary.Builder.quantile() - getSummaryQuantiles() - Method in class io.prometheus.metrics.config.MetricsProperties
-
See
Summary.Builder.quantile() - getThreadStateCountMap(ThreadMXBean) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics
- getTimeout() - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- getTimestampMillis() - Method in class io.prometheus.metrics.model.snapshots.Exemplar
-
Will return garbage if
Exemplar.hasTimestamp()isfalse. - getType() - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry.RegistrationInfo
- getUnit() - Method in class io.prometheus.metrics.model.snapshots.MetricMetadata
- getUpperBound() - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBucket
- getUpperBound(int) - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
- getValue() - Method in enum class io.prometheus.metrics.config.EscapingScheme
- getValue() - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot
- getValue() - Method in class io.prometheus.metrics.model.snapshots.Exemplar
- getValue() - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot
- getValue() - Method in class io.prometheus.metrics.model.snapshots.Label
- getValue() - Method in class io.prometheus.metrics.model.snapshots.Quantile
- getValue() - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot
- getValue(int) - Method in class io.prometheus.metrics.model.snapshots.Labels
- getWriter(Format) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
- GRAMS - Static variable in class io.prometheus.metrics.model.snapshots.Unit
- grepper - Variable in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics.Builder
- grepper - Variable in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics
- grepper(ProcessMetrics.Grepper) - Method in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics.Builder
-
Package private.
- groupingKey - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- groupingKey(String, String) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
-
Grouping keys to be used when pushing/deleting metrics.
H
- handle(HttpExchange) - Method in class io.prometheus.metrics.exporter.httpserver.DefaultHandler
- handle(HttpExchange) - Method in class io.prometheus.metrics.exporter.httpserver.HealthyHandler
- handle(HttpExchange) - Method in class io.prometheus.metrics.exporter.httpserver.MetricsHandler
- handleException(IOException) - Method in interface io.prometheus.metrics.exporter.common.PrometheusHttpExchange
- handleException(IOException) - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- handleException(IOException) - Method in class io.prometheus.metrics.exporter.servlet.jakarta.HttpExchangeAdapter
- handleException(RuntimeException) - Method in interface io.prometheus.metrics.exporter.common.PrometheusHttpExchange
- handleException(RuntimeException) - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- handleException(RuntimeException) - Method in class io.prometheus.metrics.exporter.servlet.jakarta.HttpExchangeAdapter
- handleMemoryPool(String, long, long) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics.AllocationCountingNotificationListener
- handleNotification(Notification, Object) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics.AllocationCountingNotificationListener
- handler - Variable in class io.prometheus.metrics.exporter.servlet.jakarta.PrometheusMetricsServlet
- handleRequest(PrometheusHttpExchange) - Method in class io.prometheus.metrics.exporter.common.PrometheusScrapeHandler
- hasClassicHistogramData() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
- hasCount() - Method in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot
- hasCreatedTimestamp() - Method in class io.prometheus.metrics.model.snapshots.DataPointSnapshot
- hashCode() - Method in class io.prometheus.metrics.model.snapshots.Label
- hashCode() - Method in class io.prometheus.metrics.model.snapshots.Labels
- hashCode() - Method in class io.prometheus.metrics.model.snapshots.Unit
- hasNativeHistogramData() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
- hasSameNames(Labels) - Method in class io.prometheus.metrics.model.snapshots.Labels
- hasSameValues(Labels) - Method in class io.prometheus.metrics.model.snapshots.Labels
- hasScrapeTimestamp() - Method in class io.prometheus.metrics.model.snapshots.DataPointSnapshot
- hasSum() - Method in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot
- hasTimestamp() - Method in class io.prometheus.metrics.model.snapshots.Exemplar
- hasUnit() - Method in class io.prometheus.metrics.model.snapshots.MetricMetadata
- header(String, String) - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
-
Add an HTTP header to be applied to outgoing requests.
- headers - Variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
- headers - Variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- HEADERS - Static variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- HealthyHandler - Class in io.prometheus.metrics.exporter.httpserver
-
Handler for the /-/healthy endpoint
- HealthyHandler() - Constructor for class io.prometheus.metrics.exporter.httpserver.HealthyHandler
- help - Variable in class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata.Builder
- help - Variable in class io.prometheus.metrics.model.registry.PrometheusRegistry.RegistrationInfo
- help - Variable in class io.prometheus.metrics.model.snapshots.MetricMetadata
- help - Variable in class io.prometheus.metrics.model.snapshots.MetricSnapshot.Builder
- help(String) - Method in class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata.Builder
- help(String) - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot.Builder
- Histogram - Class in io.prometheus.metrics.core.metrics
-
Histogram metric.
- Histogram(Histogram.Builder, PrometheusProperties) - Constructor for class io.prometheus.metrics.core.metrics.Histogram
- HISTOGRAM - Enum constant in enum class io.prometheus.metrics.model.registry.MetricType
- HISTOGRAM_CLASSIC_ONLY - Static variable in class io.prometheus.metrics.config.MetricsProperties
- HISTOGRAM_CLASSIC_UPPER_BOUNDS - Static variable in class io.prometheus.metrics.config.MetricsProperties
- HISTOGRAM_NATIVE_INITIAL_SCHEMA - Static variable in class io.prometheus.metrics.config.MetricsProperties
- HISTOGRAM_NATIVE_MAX_NUMBER_OF_BUCKETS - Static variable in class io.prometheus.metrics.config.MetricsProperties
- HISTOGRAM_NATIVE_MAX_ZERO_THRESHOLD - Static variable in class io.prometheus.metrics.config.MetricsProperties
- HISTOGRAM_NATIVE_MIN_ZERO_THRESHOLD - Static variable in class io.prometheus.metrics.config.MetricsProperties
- HISTOGRAM_NATIVE_ONLY - Static variable in class io.prometheus.metrics.config.MetricsProperties
- HISTOGRAM_NATIVE_RESET_DURATION_SECONDS - Static variable in class io.prometheus.metrics.config.MetricsProperties
- Histogram.Builder - Class in io.prometheus.metrics.core.metrics
- Histogram.DataPoint - Class in io.prometheus.metrics.core.metrics
- histogramClassicOnly - Variable in class io.prometheus.metrics.config.MetricsProperties.Builder
- histogramClassicOnly - Variable in class io.prometheus.metrics.config.MetricsProperties
- histogramClassicOnly(Boolean) - Method in class io.prometheus.metrics.config.MetricsProperties.Builder
- histogramClassicUpperBounds - Variable in class io.prometheus.metrics.config.MetricsProperties.Builder
- histogramClassicUpperBounds - Variable in class io.prometheus.metrics.config.MetricsProperties
- histogramClassicUpperBounds - Variable in class io.prometheus.metrics.core.exemplars.ExemplarSamplerConfig
- histogramClassicUpperBounds(double...) - Method in class io.prometheus.metrics.config.MetricsProperties.Builder
- HistogramDataPointSnapshot(int, long, double, NativeHistogramBuckets, NativeHistogramBuckets, double, Labels, Exemplars, long) - Constructor for class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
Constructor for native histograms (as opposed to classic histograms).
- HistogramDataPointSnapshot(ClassicHistogramBuckets, double, Labels, Exemplars, long) - Constructor for class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
Constructor for classic histograms (as opposed to native histograms).
- HistogramDataPointSnapshot(ClassicHistogramBuckets, int, double, Labels, Exemplars, long, long, long, NativeHistogramBuckets, NativeHistogramBuckets, long, double, boolean) - Constructor for class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
- HistogramDataPointSnapshot(ClassicHistogramBuckets, int, long, double, NativeHistogramBuckets, NativeHistogramBuckets, double, Labels, Exemplars, long) - Constructor for class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
Constructor for a histogram with both, classic and native data.
- HistogramDataPointSnapshot(ClassicHistogramBuckets, int, long, double, NativeHistogramBuckets, NativeHistogramBuckets, double, Labels, Exemplars, long, long) - Constructor for class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
-
Constructor with an additional scrape timestamp.
- histogramNativeInitialSchema - Variable in class io.prometheus.metrics.config.MetricsProperties.Builder
- histogramNativeInitialSchema - Variable in class io.prometheus.metrics.config.MetricsProperties
- histogramNativeInitialSchema(Integer) - Method in class io.prometheus.metrics.config.MetricsProperties.Builder
- histogramNativeMaxNumberOfBuckets - Variable in class io.prometheus.metrics.config.MetricsProperties.Builder
- histogramNativeMaxNumberOfBuckets - Variable in class io.prometheus.metrics.config.MetricsProperties
- histogramNativeMaxNumberOfBuckets(Integer) - Method in class io.prometheus.metrics.config.MetricsProperties.Builder
- histogramNativeMaxZeroThreshold - Variable in class io.prometheus.metrics.config.MetricsProperties.Builder
- histogramNativeMaxZeroThreshold - Variable in class io.prometheus.metrics.config.MetricsProperties
- histogramNativeMaxZeroThreshold(Double) - Method in class io.prometheus.metrics.config.MetricsProperties.Builder
- histogramNativeMinZeroThreshold - Variable in class io.prometheus.metrics.config.MetricsProperties.Builder
- histogramNativeMinZeroThreshold - Variable in class io.prometheus.metrics.config.MetricsProperties
- histogramNativeMinZeroThreshold(Double) - Method in class io.prometheus.metrics.config.MetricsProperties.Builder
- histogramNativeOnly - Variable in class io.prometheus.metrics.config.MetricsProperties.Builder
- histogramNativeOnly - Variable in class io.prometheus.metrics.config.MetricsProperties
- histogramNativeOnly(Boolean) - Method in class io.prometheus.metrics.config.MetricsProperties.Builder
- histogramNativeResetDurationSeconds - Variable in class io.prometheus.metrics.config.MetricsProperties.Builder
- histogramNativeResetDurationSeconds - Variable in class io.prometheus.metrics.config.MetricsProperties
- histogramNativeResetDurationSeconds(Long) - Method in class io.prometheus.metrics.config.MetricsProperties.Builder
- HistogramSnapshot - Class in io.prometheus.metrics.model.snapshots
-
Immutable snapshot of a Histogram.
- HistogramSnapshot(boolean, MetricMetadata, Collection<HistogramSnapshot.HistogramDataPointSnapshot>) - Constructor for class io.prometheus.metrics.model.snapshots.HistogramSnapshot
-
Use this with the first parameter
trueto create a snapshot of a Gauge Histogram. - HistogramSnapshot(boolean, MetricMetadata, Collection<HistogramSnapshot.HistogramDataPointSnapshot>, boolean) - Constructor for class io.prometheus.metrics.model.snapshots.HistogramSnapshot
- HistogramSnapshot(MetricMetadata, Collection<HistogramSnapshot.HistogramDataPointSnapshot>) - Constructor for class io.prometheus.metrics.model.snapshots.HistogramSnapshot
-
To create a new
HistogramSnapshot, you can either call the constructor directly or use the builder withHistogramSnapshot.builder(). - HistogramSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- HistogramSnapshot.HistogramDataPointSnapshot - Class in io.prometheus.metrics.model.snapshots
- HistogramSnapshot.HistogramDataPointSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- hostname - Variable in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
- hostname(String) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Use this hostname to resolve the IP address to bind to.
- HTTP - Enum constant in enum class io.prometheus.metrics.exporter.pushgateway.Scheme
- HttpConnectionFactory - Interface in io.prometheus.metrics.exporter.pushgateway
- httpExchange - Variable in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- HttpExchangeAdapter - Class in io.prometheus.metrics.exporter.httpserver
- HttpExchangeAdapter - Class in io.prometheus.metrics.exporter.servlet.jakarta
- HttpExchangeAdapter(HttpExchange) - Constructor for class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- HttpExchangeAdapter(HttpServletRequest, HttpServletResponse) - Constructor for class io.prometheus.metrics.exporter.servlet.jakarta.HttpExchangeAdapter
- HttpExchangeAdapter.HttpRequest - Class in io.prometheus.metrics.exporter.httpserver
- HttpExchangeAdapter.HttpResponse - Class in io.prometheus.metrics.exporter.httpserver
- HttpExchangeAdapter.Request - Class in io.prometheus.metrics.exporter.servlet.jakarta
- HttpExchangeAdapter.Response - Class in io.prometheus.metrics.exporter.servlet.jakarta
- HttpRequest() - Constructor for class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpRequest
- HttpResponse() - Constructor for class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpResponse
- HTTPS - Enum constant in enum class io.prometheus.metrics.exporter.pushgateway.Scheme
- httpsConfigurator - Variable in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
- httpsConfigurator(HttpsConfigurator) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Optional:
HttpsConfiguratorfor TLS/SSL - HTTPServer - Class in io.prometheus.metrics.exporter.httpserver
-
Expose Prometheus metrics using a plain Java HttpServer.
- HTTPServer(PrometheusProperties, ExecutorService, HttpServer, PrometheusRegistry, Authenticator, String, HttpHandler, String, Boolean) - Constructor for class io.prometheus.metrics.exporter.httpserver.HTTPServer
- HTTPServer.Builder - Class in io.prometheus.metrics.exporter.httpserver
I
- illegalLabelNames - Variable in class io.prometheus.metrics.core.metrics.Metric.Builder
- immutableLabelNames(Set<String>) - Static method in class io.prometheus.metrics.model.registry.PrometheusRegistry
-
Returns an immutable set of label names for storage.
- inc() - Method in interface io.prometheus.metrics.core.datapoints.CounterDataPoint
-
Add one.
- inc() - Method in interface io.prometheus.metrics.core.datapoints.GaugeDataPoint
-
Add one.
- inc(double) - Method in interface io.prometheus.metrics.core.datapoints.CounterDataPoint
-
Add
amount. - inc(double) - Method in interface io.prometheus.metrics.core.datapoints.GaugeDataPoint
-
Add
amount. - inc(double) - Method in class io.prometheus.metrics.core.metrics.Counter.DataPoint
- inc(double) - Method in class io.prometheus.metrics.core.metrics.Counter
- inc(double) - Method in class io.prometheus.metrics.core.metrics.Gauge.DataPoint
- inc(double) - Method in class io.prometheus.metrics.core.metrics.Gauge
- inc(long) - Method in interface io.prometheus.metrics.core.datapoints.CounterDataPoint
-
Add
amount. - inc(long) - Method in class io.prometheus.metrics.core.metrics.Counter.DataPoint
- inc(long) - Method in class io.prometheus.metrics.core.metrics.Counter
- INCLUDE_CREATED_TIMESTAMPS - Static variable in class io.prometheus.metrics.config.ExporterProperties
- includeCreatedTimestamps - Variable in class io.prometheus.metrics.config.ExporterProperties.Builder
- includeCreatedTimestamps - Variable in class io.prometheus.metrics.config.ExporterProperties
- includeCreatedTimestamps - Variable in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter.Builder
- includeCreatedTimestamps(boolean) - Method in class io.prometheus.metrics.config.ExporterProperties.Builder
- incWithExemplar(double, Labels) - Method in interface io.prometheus.metrics.core.datapoints.CounterDataPoint
-
Add
amount, and create a custom exemplar with the given labels. - incWithExemplar(double, Labels) - Method in interface io.prometheus.metrics.core.datapoints.GaugeDataPoint
-
Add
amount, and create a custom exemplar with the given labels. - incWithExemplar(double, Labels) - Method in class io.prometheus.metrics.core.metrics.Counter.DataPoint
- incWithExemplar(double, Labels) - Method in class io.prometheus.metrics.core.metrics.Counter
- incWithExemplar(double, Labels) - Method in class io.prometheus.metrics.core.metrics.Gauge.DataPoint
- incWithExemplar(double, Labels) - Method in class io.prometheus.metrics.core.metrics.Gauge
- incWithExemplar(long, Labels) - Method in interface io.prometheus.metrics.core.datapoints.CounterDataPoint
-
Add
amount, and create a custom exemplar with the given labels. - incWithExemplar(long, Labels) - Method in class io.prometheus.metrics.core.metrics.Counter.DataPoint
- incWithExemplar(long, Labels) - Method in class io.prometheus.metrics.core.metrics.Counter
- incWithExemplar(Labels) - Method in interface io.prometheus.metrics.core.datapoints.CounterDataPoint
-
Add one, and create a custom exemplar with the given labels.
- incWithExemplar(Labels) - Method in interface io.prometheus.metrics.core.datapoints.GaugeDataPoint
-
Add one, and create a custom exemplar with the given labels.
- inetAddress - Variable in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
- inetAddress(InetAddress) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Bind to this IP address.
- Info - Class in io.prometheus.metrics.core.metrics
-
Info metric.
- Info(Info.Builder) - Constructor for class io.prometheus.metrics.core.metrics.Info
- INFO - Enum constant in enum class io.prometheus.metrics.model.registry.MetricType
- Info.Builder - Class in io.prometheus.metrics.core.metrics
- InfoDataPointSnapshot(Labels) - Constructor for class io.prometheus.metrics.model.snapshots.InfoSnapshot.InfoDataPointSnapshot
-
To create a new
InfoSnapshot.InfoDataPointSnapshot, you can either call the constructor directly or use the Builder withInfoSnapshot.InfoDataPointSnapshot.builder(). - InfoDataPointSnapshot(Labels, long) - Constructor for class io.prometheus.metrics.model.snapshots.InfoSnapshot.InfoDataPointSnapshot
-
Constructor with an additional scrape timestamp.
- InfoDataPointSnapshot(Labels, long, boolean) - Constructor for class io.prometheus.metrics.model.snapshots.InfoSnapshot.InfoDataPointSnapshot
- InfoSnapshot - Class in io.prometheus.metrics.model.snapshots
-
Immutable snapshot of an Info metric.
- InfoSnapshot(MetricMetadata, Collection<InfoSnapshot.InfoDataPointSnapshot>) - Constructor for class io.prometheus.metrics.model.snapshots.InfoSnapshot
-
To create a new
InfoSnapshot, you can either call the constructor directly or use the builder withInfoSnapshot.builder(). - InfoSnapshot(MetricMetadata, Collection<InfoSnapshot.InfoDataPointSnapshot>, boolean) - Constructor for class io.prometheus.metrics.model.snapshots.InfoSnapshot
- InfoSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- InfoSnapshot.InfoDataPointSnapshot - Class in io.prometheus.metrics.model.snapshots
- InfoSnapshot.InfoDataPointSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- init() - Static method in class io.prometheus.metrics.expositionformats.ExpositionFormats
- init(ExporterProperties) - Static method in class io.prometheus.metrics.expositionformats.ExpositionFormats
-
Deprecated.
- init(PrometheusProperties) - Static method in class io.prometheus.metrics.expositionformats.ExpositionFormats
- initLabelValues(String...) - Method in class io.prometheus.metrics.core.metrics.StatefulMetric
-
Initialize label values.
- insert(double) - Method in class io.prometheus.metrics.core.metrics.CKMSQuantiles
-
Add an observed value
- insertBatch(double[], int) - Method in class io.prometheus.metrics.core.metrics.CKMSQuantiles
-
Inserts the elements from index 0 to index toIndex from the sortedBuffer.
- insertBefore(ListIterator<CKMSQuantiles.Sample>, double, int) - Method in class io.prometheus.metrics.core.metrics.CKMSQuantiles
- insertsSinceLastCompress - Variable in class io.prometheus.metrics.core.metrics.CKMSQuantiles
- instance - Static variable in class io.prometheus.metrics.config.PrometheusProperties
- instanceIpGroupingKey() - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
-
Convenience method for adding the current IP address as an "instance" label.
- interval - Variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
- interval - Variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- INTERVAL_SECONDS - Static variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- intervalSeconds(int) - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
-
The interval between the start of two export attempts.
- io.prometheus.metrics.config - package io.prometheus.metrics.config
- io.prometheus.metrics.core.datapoints - package io.prometheus.metrics.core.datapoints
- io.prometheus.metrics.core.exemplars - package io.prometheus.metrics.core.exemplars
- io.prometheus.metrics.core.metrics - package io.prometheus.metrics.core.metrics
- io.prometheus.metrics.core.util - package io.prometheus.metrics.core.util
- io.prometheus.metrics.exporter.common - package io.prometheus.metrics.exporter.common
- io.prometheus.metrics.exporter.httpserver - package io.prometheus.metrics.exporter.httpserver
- io.prometheus.metrics.exporter.pushgateway - package io.prometheus.metrics.exporter.pushgateway
- io.prometheus.metrics.exporter.servlet.jakarta - package io.prometheus.metrics.exporter.servlet.jakarta
- io.prometheus.metrics.expositionformats - package io.prometheus.metrics.expositionformats
- io.prometheus.metrics.instrumentation.guava - package io.prometheus.metrics.instrumentation.guava
- io.prometheus.metrics.instrumentation.jvm - package io.prometheus.metrics.instrumentation.jvm
- io.prometheus.metrics.model.registry - package io.prometheus.metrics.model.registry
- io.prometheus.metrics.model.snapshots - package io.prometheus.metrics.model.snapshots
- io.prometheus.metrics.tracer.common - package io.prometheus.metrics.tracer.common
- isAvailable() - Method in interface io.prometheus.metrics.expositionformats.ExpositionFormatWriter
-
Returns true if the writer is available.
- isAvailable() - Method in class io.prometheus.metrics.expositionformats.PrometheusProtobufWriter
- isCurrentSpanSampled() - Method in interface io.prometheus.metrics.tracer.common.SpanContext
- isEmpty() - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry.RegistrationInfo
-
Returns true if all label schemas have been unregistered.
- isEmpty() - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
- isEmpty() - Method in class io.prometheus.metrics.model.snapshots.Labels
- isEnabled - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics
-
Package private.
- isGaugeHistogram - Variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.Builder
- isGaugeHistogram() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot
- isGraalVmNativeImage - Static variable in class io.prometheus.metrics.instrumentation.jvm.NativeImageChecker
- isHistogramClassicOnly(Boolean, Boolean) - Method in class io.prometheus.metrics.config.MetricsProperties
- isHistogramNativeOnly(Boolean, Boolean) - Method in class io.prometheus.metrics.config.MetricsProperties
- isNativeImage - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics.Builder
- isNativeImage - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics
- isNativeImage(boolean) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics.Builder
-
Package private.
- isOpenMetrics2Enabled() - Method in class io.prometheus.metrics.expositionformats.ExpositionFormats
- isPreferUncompressedResponse() - Method in class io.prometheus.metrics.config.ExporterHttpServerProperties
- isTrue() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.State
- isTrue(int) - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
- isValidLabelName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
- isValidLegacyChar(int, int) - Static method in class io.prometheus.metrics.config.PrometheusProperties
- isValidLegacyChar(int, int) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
- isValidLegacyLabelName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
- isValidLegacyMetricName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
- isValidMetricName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
Test if a metric name is valid.
- isValidUnitName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
Units may not have illegal characters, and they may not end with a reserved suffix like 'total'.
- isValidUtf8(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
- isValidUtf8Char(int) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
- iterator() - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
- iterator() - Method in class io.prometheus.metrics.model.snapshots.Exemplars
- iterator() - Method in class io.prometheus.metrics.model.snapshots.Labels
- iterator() - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshots
- iterator() - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- iterator() - Method in class io.prometheus.metrics.model.snapshots.Quantiles
- iterator() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
J
- job - Variable in class io.prometheus.metrics.config.ExporterPushgatewayProperties.Builder
- job - Variable in class io.prometheus.metrics.config.ExporterPushgatewayProperties
- job - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- job(String) - Method in class io.prometheus.metrics.config.ExporterPushgatewayProperties.Builder
- job(String) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
-
The
joblabel to be used when pushing metrics. - JOB - Static variable in class io.prometheus.metrics.config.ExporterPushgatewayProperties
- JOULES - Static variable in class io.prometheus.metrics.model.snapshots.Unit
- JVM_BUFFER_POOL_CAPACITY_BYTES - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmBufferPoolMetrics
- JVM_BUFFER_POOL_USED_BUFFERS - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmBufferPoolMetrics
- JVM_BUFFER_POOL_USED_BYTES - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmBufferPoolMetrics
- JVM_CLASSES_CURRENTLY_LOADED - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmClassLoadingMetrics
- JVM_CLASSES_LOADED_TOTAL - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmClassLoadingMetrics
- JVM_CLASSES_UNLOADED_TOTAL - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmClassLoadingMetrics
- JVM_COMPILATION_TIME_SECONDS_TOTAL - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmCompilationMetrics
- JVM_GC_COLLECTION_SECONDS - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmGarbageCollectorMetrics
- JVM_MEMORY_COMMITTED_BYTES - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- JVM_MEMORY_INIT_BYTES - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- JVM_MEMORY_MAX_BYTES - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- JVM_MEMORY_OBJECTS_PENDING_FINALIZATION - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- JVM_MEMORY_POOL_ALLOCATED_BYTES_TOTAL - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics
- JVM_MEMORY_POOL_COLLECTION_COMMITTED_BYTES - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- JVM_MEMORY_POOL_COLLECTION_INIT_BYTES - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- JVM_MEMORY_POOL_COLLECTION_MAX_BYTES - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- JVM_MEMORY_POOL_COLLECTION_USED_BYTES - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- JVM_MEMORY_POOL_COMMITTED_BYTES - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- JVM_MEMORY_POOL_INIT_BYTES - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- JVM_MEMORY_POOL_MAX_BYTES - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- JVM_MEMORY_POOL_USED_BYTES - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- JVM_MEMORY_USED_BYTES - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- JVM_NATIVE_MEMORY_COMMITTED_BYTES - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics
- JVM_NATIVE_MEMORY_RESERVED_BYTES - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics
- JVM_RUNTIME_INFO - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric
- JVM_THREADS_CURRENT - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics
- JVM_THREADS_DAEMON - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics
- JVM_THREADS_DEADLOCKED - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics
- JVM_THREADS_DEADLOCKED_MONITOR - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics
- JVM_THREADS_PEAK - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics
- JVM_THREADS_STARTED_TOTAL - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics
- JVM_THREADS_STATE - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics
- JvmBufferPoolMetrics - Class in io.prometheus.metrics.instrumentation.jvm
-
JVM Buffer Pool metrics.
- JvmBufferPoolMetrics(List<BufferPoolMXBean>, PrometheusProperties, Labels) - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmBufferPoolMetrics
- JvmBufferPoolMetrics.Builder - Class in io.prometheus.metrics.instrumentation.jvm
- JvmClassLoadingMetrics - Class in io.prometheus.metrics.instrumentation.jvm
-
JVM Class Loading metrics.
- JvmClassLoadingMetrics(ClassLoadingMXBean, PrometheusProperties, Labels) - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmClassLoadingMetrics
- JvmClassLoadingMetrics.Builder - Class in io.prometheus.metrics.instrumentation.jvm
- JvmCompilationMetrics - Class in io.prometheus.metrics.instrumentation.jvm
-
JVM Compilation metrics.
- JvmCompilationMetrics(CompilationMXBean, PrometheusProperties, Labels) - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmCompilationMetrics
- JvmCompilationMetrics.Builder - Class in io.prometheus.metrics.instrumentation.jvm
- JvmGarbageCollectorMetrics - Class in io.prometheus.metrics.instrumentation.jvm
-
JVM Garbage Collector metrics.
- JvmGarbageCollectorMetrics(List<GarbageCollectorMXBean>, PrometheusProperties, Labels) - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmGarbageCollectorMetrics
- JvmGarbageCollectorMetrics.Builder - Class in io.prometheus.metrics.instrumentation.jvm
- JvmMemoryMetrics - Class in io.prometheus.metrics.instrumentation.jvm
-
JVM memory metrics.
- JvmMemoryMetrics(List<MemoryPoolMXBean>, MemoryMXBean, PrometheusProperties, Labels) - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- JvmMemoryMetrics.Builder - Class in io.prometheus.metrics.instrumentation.jvm
- JvmMemoryPoolAllocationMetrics - Class in io.prometheus.metrics.instrumentation.jvm
-
JVM memory allocation metrics.
- JvmMemoryPoolAllocationMetrics(List<GarbageCollectorMXBean>, Labels) - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics
- JvmMemoryPoolAllocationMetrics.AllocationCountingNotificationListener - Class in io.prometheus.metrics.instrumentation.jvm
- JvmMemoryPoolAllocationMetrics.Builder - Class in io.prometheus.metrics.instrumentation.jvm
- JvmMetrics - Class in io.prometheus.metrics.instrumentation.jvm
-
Registers all JVM metrics.
- JvmMetrics() - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmMetrics
- JvmMetrics.Builder - Class in io.prometheus.metrics.instrumentation.jvm
- JvmNativeMemoryMetrics - Class in io.prometheus.metrics.instrumentation.jvm
-
JVM native memory.
- JvmNativeMemoryMetrics(PrometheusProperties, JvmNativeMemoryMetrics.PlatformMBeanServerAdapter, Labels) - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics
- JvmNativeMemoryMetrics.Builder - Class in io.prometheus.metrics.instrumentation.jvm
- JvmNativeMemoryMetrics.DefaultPlatformMBeanServerAdapter - Class in io.prometheus.metrics.instrumentation.jvm
- JvmNativeMemoryMetrics.PlatformMBeanServerAdapter - Interface in io.prometheus.metrics.instrumentation.jvm
- JvmRuntimeInfoMetric - Class in io.prometheus.metrics.instrumentation.jvm
-
JVM Runtime Info metric.
- JvmRuntimeInfoMetric(String, String, String, PrometheusProperties, Labels) - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric
- JvmRuntimeInfoMetric.Builder - Class in io.prometheus.metrics.instrumentation.jvm
- JvmThreadsMetrics - Class in io.prometheus.metrics.instrumentation.jvm
-
JVM Thread metrics.
- JvmThreadsMetrics(boolean, ThreadMXBean, PrometheusProperties, Labels) - Constructor for class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics
- JvmThreadsMetrics.Builder - Class in io.prometheus.metrics.instrumentation.jvm
K
- kiloBytesToBytes(double) - Static method in class io.prometheus.metrics.model.snapshots.Unit
L
- label(String, String) - Method in class io.prometheus.metrics.model.snapshots.Labels.Builder
-
Add a label.
- Label - Class in io.prometheus.metrics.model.snapshots
-
Utility for iterating over
Labels. - Label - Enum constant in enum class io.prometheus.metrics.expositionformats.NameType
- Label(String, String) - Constructor for class io.prometheus.metrics.model.snapshots.Label
- labelNames - Variable in class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata.Builder
- labelNames - Variable in class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata
- labelNames - Variable in class io.prometheus.metrics.model.registry.PrometheusRegistry.CollectorRegistration
- labelNames - Variable in class io.prometheus.metrics.model.registry.PrometheusRegistry.MultiCollectorRegistration
- labelNames(String...) - Method in class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata.Builder
- labels - Variable in class io.prometheus.metrics.core.metrics.Info
- labels - Variable in class io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder
- labels - Variable in class io.prometheus.metrics.model.snapshots.DataPointSnapshot
- labels - Variable in exception class io.prometheus.metrics.model.snapshots.DuplicateLabelsException
- labels - Variable in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- labels - Variable in class io.prometheus.metrics.model.snapshots.Exemplar
- labels(Labels) - Method in class io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder
- labels(Labels) - Method in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- Labels - Class in io.prometheus.metrics.model.snapshots
-
Immutable set of name/value pairs, sorted by name.
- Labels(String[], String[], String[]) - Constructor for class io.prometheus.metrics.model.snapshots.Labels
- Labels.Builder - Class in io.prometheus.metrics.model.snapshots
- labelSchemas - Variable in class io.prometheus.metrics.model.registry.PrometheusRegistry.RegistrationInfo
- labelsNeedsEscaping(Labels, EscapingScheme) - Static method in class io.prometheus.metrics.model.snapshots.SnapshotEscaper
- labelValues(String...) - Method in class io.prometheus.metrics.core.metrics.StatefulMetric
- lastMemoryUsage - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics.AllocationCountingNotificationListener
- lastResponseSize - Variable in class io.prometheus.metrics.exporter.common.PrometheusScrapeHandler
- lastRotateTimestampMillis - Variable in class io.prometheus.metrics.core.metrics.SlidingWindow
- lineStartingWith(File, String) - Method in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics.FileGrepper
- lineStartingWith(File, String) - Method in interface io.prometheus.metrics.instrumentation.jvm.ProcessMetrics.Grepper
- linux - Variable in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics
- load() - Static method in class io.prometheus.metrics.config.PrometheusPropertiesLoader
- load(PropertySource) - Static method in class io.prometheus.metrics.config.ExemplarsProperties
-
Note that this will remove entries from
propertySource. - load(PropertySource) - Static method in class io.prometheus.metrics.config.ExporterFilterProperties
-
Note that this will remove entries from
propertySource. - load(PropertySource) - Static method in class io.prometheus.metrics.config.ExporterHttpServerProperties
-
Note that this will remove entries from
propertySource. - load(PropertySource) - Static method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
-
Note that this will remove entries from
propertySource. - load(PropertySource) - Static method in class io.prometheus.metrics.config.ExporterProperties
-
Note that this will remove entries from
propertySource. - load(PropertySource) - Static method in class io.prometheus.metrics.config.ExporterPushgatewayProperties
-
Note that this will remove entries from
propertySource. - load(PropertySource) - Static method in class io.prometheus.metrics.config.OpenMetrics2Properties
-
Note that this will remove entries from
propertySource. - load(String, PropertySource) - Static method in class io.prometheus.metrics.config.MetricsProperties
-
Note that this will remove entries from
propertySource. - load(Map<Object, Object>) - Static method in class io.prometheus.metrics.config.PrometheusPropertiesLoader
- loadBoolean(String, String, PropertySource) - Static method in class io.prometheus.metrics.config.Util
- loadDouble(String, String, PropertySource) - Static method in class io.prometheus.metrics.config.Util
- loadDoubleList(String, String, PropertySource) - Static method in class io.prometheus.metrics.config.Util
- loadInteger(String, String, PropertySource) - Static method in class io.prometheus.metrics.config.Util
- loadLong(String, String, PropertySource) - Static method in class io.prometheus.metrics.config.Util
- loadMap(String, String, PropertySource) - Static method in class io.prometheus.metrics.config.Util
- loadMetricsConfigs(PropertySource) - Static method in class io.prometheus.metrics.config.PrometheusPropertiesLoader
- loadOptionalDuration(String, String, PropertySource) - Static method in class io.prometheus.metrics.config.Util
- loadProperties(Map<Object, Object>) - Static method in class io.prometheus.metrics.config.PrometheusPropertiesLoader
- loadPropertiesFromClasspath() - Static method in class io.prometheus.metrics.config.PrometheusPropertiesLoader
- loadPropertiesFromEnvironment() - Static method in class io.prometheus.metrics.config.PrometheusPropertiesLoader
-
Load properties from environment variables.
- loadPropertiesFromFile() - Static method in class io.prometheus.metrics.config.PrometheusPropertiesLoader
- loadString(String, String, PropertySource) - Static method in class io.prometheus.metrics.config.Util
- loadStringAddSuffix(String, String, PropertySource, String) - Static method in class io.prometheus.metrics.config.Util
- loadStringList(String, String, PropertySource) - Static method in class io.prometheus.metrics.config.Util
- longValue - Variable in class io.prometheus.metrics.core.metrics.Counter.DataPoint
M
- makeCallback(Boolean) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics
- makeCallback(List<MemoryPoolMXBean>, Function<MemoryPoolMXBean, MemoryUsage>, Function<MemoryUsage, Long>) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- makeExecutorService() - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
- makeInetSocketAddress() - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
- makeLabels(String...) - Method in class io.prometheus.metrics.core.metrics.CallbackMetric
- makeName(String, Unit) - Method in class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata
- makeNameFilter(ExporterFilterProperties) - Method in class io.prometheus.metrics.exporter.common.PrometheusScrapeHandler
- makeNameFilter(String[]) - Method in class io.prometheus.metrics.exporter.common.PrometheusScrapeHandler
- makePrometheusNames(String[]) - Static method in class io.prometheus.metrics.model.snapshots.Labels
- makeQuantiles() - Method in class io.prometheus.metrics.core.metrics.Summary.DataPoint
- makeQuantiles(MetricsProperties[]) - Method in class io.prometheus.metrics.core.metrics.Summary
- makeUrl(ExporterPushgatewayProperties) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- map - Variable in class io.prometheus.metrics.config.PrometheusProperties.MetricPropertiesMap
- markCurrentSpanAsExemplar() - Method in interface io.prometheus.metrics.tracer.common.SpanContext
- matchesNameDoesNotStartWith(String) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter
- matchesNameEqualTo(String) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter
- matchesNameNotEqualTo(String) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter
- matchesNameStartsWith(String) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter
- MAX_RETENTION_PERIOD_SECONDS - Static variable in class io.prometheus.metrics.config.ExemplarsProperties
- maxAgeSeconds - Variable in class io.prometheus.metrics.core.metrics.Summary.Builder
- maxAgeSeconds - Variable in class io.prometheus.metrics.core.metrics.Summary
- maxAgeSeconds(long) - Method in class io.prometheus.metrics.core.metrics.Summary.Builder
-
The quantiles are relative to a moving time window.
- maxRetentionPeriodMillis - Variable in class io.prometheus.metrics.core.exemplars.ExemplarSamplerConfig
- maxRetentionPeriodSeconds - Variable in class io.prometheus.metrics.config.ExemplarsProperties.Builder
- maxRetentionPeriodSeconds - Variable in class io.prometheus.metrics.config.ExemplarsProperties
- maxRetentionPeriodSeconds(int) - Method in class io.prometheus.metrics.config.ExemplarsProperties.Builder
- maybeReset() - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- maybeResetOrScaleDown(double, boolean) - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
-
Makes sure that the number of native buckets does not exceed nativeMaxBuckets.
- maybeScaleDown(AtomicBoolean) - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- maybeScheduleNextReset() - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- maybeWidenZeroBucket() - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- memoryBean - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics.Builder
- memoryBean - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- merge(Labels) - Method in class io.prometheus.metrics.model.snapshots.Labels
-
Create a new Labels instance containing the labels of this and the labels of other.
- merge(String[], String[]) - Method in class io.prometheus.metrics.model.snapshots.Labels
-
Create a new Labels instance containing the labels of this and the labels passed as names and values.
- mergeDuplicates(MetricSnapshots) - Static method in class io.prometheus.metrics.expositionformats.TextFormatUtil
-
Merges snapshots with duplicate Prometheus names by combining their data points.
- mergeSnapshots(List<MetricSnapshot>) - Static method in class io.prometheus.metrics.expositionformats.TextFormatUtil
-
Merges multiple snapshots of the same type into a single snapshot with combined data points.
- mergeWithZeroBucket(int, Map<Integer, LongAdder>) - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- metadata - Variable in class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata
- metadata - Variable in exception class io.prometheus.metrics.model.snapshots.DuplicateLabelsException
- metadata - Variable in class io.prometheus.metrics.model.snapshots.MetricSnapshot
- METERS - Static variable in class io.prometheus.metrics.model.snapshots.Unit
- Metric - Class in io.prometheus.metrics.core.metrics
-
Common base class for all metrics.
- Metric - Enum constant in enum class io.prometheus.metrics.expositionformats.NameType
- Metric(Metric.Builder<?, ?>) - Constructor for class io.prometheus.metrics.core.metrics.Metric
- METRIC_NAME_CACHE_EVICTION - Static variable in class io.prometheus.metrics.instrumentation.guava.CacheMetricsCollector
- METRIC_NAME_CACHE_HIT - Static variable in class io.prometheus.metrics.instrumentation.guava.CacheMetricsCollector
- METRIC_NAME_CACHE_LOAD_DURATION_SECONDS - Static variable in class io.prometheus.metrics.instrumentation.guava.CacheMetricsCollector
- METRIC_NAME_CACHE_LOAD_FAILURE - Static variable in class io.prometheus.metrics.instrumentation.guava.CacheMetricsCollector
- METRIC_NAME_CACHE_LOADS - Static variable in class io.prometheus.metrics.instrumentation.guava.CacheMetricsCollector
- METRIC_NAME_CACHE_MISS - Static variable in class io.prometheus.metrics.instrumentation.guava.CacheMetricsCollector
- METRIC_NAME_CACHE_REQUESTS - Static variable in class io.prometheus.metrics.instrumentation.guava.CacheMetricsCollector
- METRIC_NAME_CACHE_SIZE - Static variable in class io.prometheus.metrics.instrumentation.guava.CacheMetricsCollector
- METRIC_NAME_MUST_BE_EQUAL_TO - Static variable in class io.prometheus.metrics.config.ExporterFilterProperties
- METRIC_NAME_MUST_NOT_BE_EQUAL_TO - Static variable in class io.prometheus.metrics.config.ExporterFilterProperties
- METRIC_NAME_MUST_NOT_START_WITH - Static variable in class io.prometheus.metrics.config.ExporterFilterProperties
- METRIC_NAME_MUST_START_WITH - Static variable in class io.prometheus.metrics.config.ExporterFilterProperties
- Metric.Builder<B,
M> - Class in io.prometheus.metrics.core.metrics - MetricMetadata - Class in io.prometheus.metrics.model.snapshots
-
Immutable container for metric metadata: name, help, unit.
- MetricMetadata(String) - Constructor for class io.prometheus.metrics.model.snapshots.MetricMetadata
- MetricMetadata(String, String) - Constructor for class io.prometheus.metrics.model.snapshots.MetricMetadata
- MetricMetadata(String, String, Unit) - Constructor for class io.prometheus.metrics.model.snapshots.MetricMetadata
-
Constructor.
- MetricNameFilter - Class in io.prometheus.metrics.model.registry
-
Filter samples (i.e.
- MetricNameFilter(Collection<String>, Collection<String>, Collection<String>, Collection<String>) - Constructor for class io.prometheus.metrics.model.registry.MetricNameFilter
- MetricNameFilter.Builder - Class in io.prometheus.metrics.model.registry
- metricProperties - Variable in class io.prometheus.metrics.config.PrometheusProperties.Builder
- metricProperties - Variable in class io.prometheus.metrics.config.PrometheusProperties
- metricProperties(Map<String, MetricsProperties>) - Method in class io.prometheus.metrics.config.PrometheusProperties.Builder
- MetricPropertiesMap() - Constructor for class io.prometheus.metrics.config.PrometheusProperties.MetricPropertiesMap
- MetricsHandler - Class in io.prometheus.metrics.exporter.httpserver
-
Handler for the /metrics endpoint
- MetricsHandler() - Constructor for class io.prometheus.metrics.exporter.httpserver.MetricsHandler
- MetricsHandler(PrometheusProperties) - Constructor for class io.prometheus.metrics.exporter.httpserver.MetricsHandler
- MetricsHandler(PrometheusProperties, PrometheusRegistry) - Constructor for class io.prometheus.metrics.exporter.httpserver.MetricsHandler
- MetricsHandler(PrometheusRegistry) - Constructor for class io.prometheus.metrics.exporter.httpserver.MetricsHandler
- metricsHandlerPath - Variable in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
- metricsHandlerPath(String) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Optional: Override default path for the metrics endpoint.
- metricSnapshot(MetricSnapshot) - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshots.Builder
-
Add a metric snapshot.
- MetricSnapshot - Class in io.prometheus.metrics.model.snapshots
-
Base class for metric snapshots.
- MetricSnapshot(MetricMetadata, Collection<? extends DataPointSnapshot>, boolean) - Constructor for class io.prometheus.metrics.model.snapshots.MetricSnapshot
- MetricSnapshot.Builder<T> - Class in io.prometheus.metrics.model.snapshots
- MetricSnapshots - Class in io.prometheus.metrics.model.snapshots
-
Immutable list of metric snapshots.
- MetricSnapshots(MetricSnapshot...) - Constructor for class io.prometheus.metrics.model.snapshots.MetricSnapshots
- MetricSnapshots(Collection<MetricSnapshot>) - Constructor for class io.prometheus.metrics.model.snapshots.MetricSnapshots
-
To create MetricSnapshots, you can either call the constructor directly or use
MetricSnapshots.builder(). - MetricSnapshots.Builder - Class in io.prometheus.metrics.model.snapshots
- MetricsProperties - Class in io.prometheus.metrics.config
-
Properties starting with io.prometheus.metrics
- MetricsProperties(Boolean, Boolean, Boolean, List<Double>, Integer, Double, Double, Integer, Long, List<Double>, List<Double>, Long, Integer) - Constructor for class io.prometheus.metrics.config.MetricsProperties
- MetricsProperties(Boolean, Boolean, Boolean, List<Double>, Integer, Double, Double, Integer, Long, List<Double>, List<Double>, Long, Integer, String) - Constructor for class io.prometheus.metrics.config.MetricsProperties
- MetricsProperties.Builder - Class in io.prometheus.metrics.config
- MetricType - Enum Class in io.prometheus.metrics.model.registry
-
Represents the type of Prometheus metric.
- MetricType() - Constructor for enum class io.prometheus.metrics.model.registry.MetricType
- MetricWithFixedMetadata - Class in io.prometheus.metrics.core.metrics
-
Almost all metrics have fixed metadata, i.e.
- MetricWithFixedMetadata(MetricWithFixedMetadata.Builder<?, ?>) - Constructor for class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata
- MetricWithFixedMetadata.Builder<B,
M> - Class in io.prometheus.metrics.core.metrics - millisToSeconds(long) - Static method in class io.prometheus.metrics.model.snapshots.Unit
- MIN_RETENTION_PERIOD_SECONDS - Static variable in class io.prometheus.metrics.config.ExemplarsProperties
- minRetentionPeriodMillis - Variable in class io.prometheus.metrics.core.exemplars.ExemplarSamplerConfig
- minRetentionPeriodSeconds - Variable in class io.prometheus.metrics.config.ExemplarsProperties.Builder
- minRetentionPeriodSeconds - Variable in class io.prometheus.metrics.config.ExemplarsProperties
- minRetentionPeriodSeconds(int) - Method in class io.prometheus.metrics.config.ExemplarsProperties.Builder
- MultiCollector - Interface in io.prometheus.metrics.model.registry
-
Like
Collector, but collecting multiple Snapshots at once. - multiCollectorMetadata - Variable in class io.prometheus.metrics.model.registry.PrometheusRegistry
- MultiCollectorRegistration(String, Set<String>) - Constructor for class io.prometheus.metrics.model.registry.PrometheusRegistry.MultiCollectorRegistration
- multiCollectors - Variable in class io.prometheus.metrics.model.registry.PrometheusRegistry
N
- n - Variable in class io.prometheus.metrics.core.metrics.CKMSQuantiles
-
Total number of observations (not including those that are still in the buffer).
- name - Variable in class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata.Builder
- name - Variable in enum class io.prometheus.metrics.exporter.pushgateway.Scheme
- name - Variable in class io.prometheus.metrics.model.snapshots.Label
- name - Variable in class io.prometheus.metrics.model.snapshots.MetricMetadata
-
Name without suffix.
- name - Variable in class io.prometheus.metrics.model.snapshots.MetricSnapshot.Builder
- name - Variable in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.State
- name - Variable in class io.prometheus.metrics.model.snapshots.Unit
- name(String) - Method in class io.prometheus.metrics.core.metrics.Counter.Builder
-
The
_totalsuffix will automatically be appended if it's missing. - name(String) - Method in class io.prometheus.metrics.core.metrics.CounterWithCallback.Builder
-
The
_totalsuffix will automatically be appended if it's missing. - name(String) - Method in class io.prometheus.metrics.core.metrics.Info.Builder
-
The
_infosuffix will automatically be appended if it's missing. - name(String) - Method in class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata.Builder
- name(String) - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot.Builder
-
The name is required.
- NamedDaemonThreadFactory - Class in io.prometheus.metrics.exporter.httpserver
- NamedDaemonThreadFactory(ThreadFactory, boolean) - Constructor for class io.prometheus.metrics.exporter.httpserver.NamedDaemonThreadFactory
- nameDoesNotStartWith - Variable in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
- nameDoesNotStartWith - Variable in class io.prometheus.metrics.model.registry.MetricNameFilter
- nameEqualTo - Variable in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
- nameFilter - Variable in class io.prometheus.metrics.exporter.common.PrometheusScrapeHandler
- nameIsEqualTo - Variable in class io.prometheus.metrics.model.registry.MetricNameFilter
- nameIsNotEqualTo - Variable in class io.prometheus.metrics.model.registry.MetricNameFilter
- nameMustBeEqualTo(String...) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
- nameMustBeEqualTo(Collection<String>) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
-
Only samples with one of the
nameswill be included. - nameMustNotBeEqualTo(String...) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
- nameMustNotBeEqualTo(Collection<String>) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
-
All samples that are not in
nameswill be excluded. - nameMustNotStartWith(String...) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
- nameMustNotStartWith(Collection<String>) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
-
Samples with names starting with one of the
prefixeswill be excluded. - nameMustStartWith(String...) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
- nameMustStartWith(Collection<String>) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
-
Only samples whose name starts with one of the
prefixeswill be included. - nameNotEqualTo - Variable in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
- names - Variable in class io.prometheus.metrics.core.metrics.StateSet.Builder
- names - Variable in class io.prometheus.metrics.core.metrics.StateSet
- names - Variable in class io.prometheus.metrics.model.snapshots.Labels.Builder
- names - Variable in class io.prometheus.metrics.model.snapshots.Labels
- names - Variable in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot.Builder
- names - Variable in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
- nameStartsWith - Variable in class io.prometheus.metrics.model.registry.MetricNameFilter.Builder
- nameStartsWith - Variable in class io.prometheus.metrics.model.registry.MetricNameFilter
- NameType - Enum Class in io.prometheus.metrics.expositionformats
- NameType() - Constructor for enum class io.prometheus.metrics.expositionformats.NameType
- NANOSECONDS_PER_SECOND - Static variable in class io.prometheus.metrics.instrumentation.guava.CacheMetricsCollector
- nanosToSeconds(long) - Static method in class io.prometheus.metrics.model.snapshots.Unit
- NATIVE_BOUNDS - Static variable in class io.prometheus.metrics.core.metrics.Histogram
- NATIVE_HISTOGRAMS - Static variable in class io.prometheus.metrics.config.OpenMetrics2Properties
- nativeBucketIndexToUpperBound(int, int) - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- nativeBucketsForNegativeValues - Variable in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- nativeBucketsForNegativeValues - Variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- nativeBucketsForNegativeValues - Variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
- nativeBucketsForNegativeValues(NativeHistogramBuckets) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- nativeBucketsForPositiveValues - Variable in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- nativeBucketsForPositiveValues - Variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- nativeBucketsForPositiveValues - Variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
- nativeBucketsForPositiveValues(NativeHistogramBuckets) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- NativeHistogramBucket - Class in io.prometheus.metrics.model.snapshots
-
For iterating over
NativeHistogramBuckets. - NativeHistogramBucket(int, long) - Constructor for class io.prometheus.metrics.model.snapshots.NativeHistogramBucket
- NativeHistogramBuckets - Class in io.prometheus.metrics.model.snapshots
-
Immutable representation of native histogram buckets.
- NativeHistogramBuckets(int[], long[]) - Constructor for class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- NativeHistogramBuckets.Builder - Class in io.prometheus.metrics.model.snapshots
- nativeHistograms - Variable in class io.prometheus.metrics.config.OpenMetrics2Properties.Builder
- nativeHistograms - Variable in class io.prometheus.metrics.config.OpenMetrics2Properties
- nativeHistograms(boolean) - Method in class io.prometheus.metrics.config.OpenMetrics2Properties.Builder
- NativeImageChecker - Class in io.prometheus.metrics.instrumentation.jvm
-
Contains utilities to check if we are running inside or building for native image.
- NativeImageChecker() - Constructor for class io.prometheus.metrics.instrumentation.jvm.NativeImageChecker
- nativeInitialSchema - Variable in class io.prometheus.metrics.core.metrics.Histogram.Builder
- nativeInitialSchema - Variable in class io.prometheus.metrics.core.metrics.Histogram
- nativeInitialSchema(int) - Method in class io.prometheus.metrics.core.metrics.Histogram.Builder
-
The schema is a number in [-4, 8] defining the resolution of the native histogram.
- nativeMaxBuckets - Variable in class io.prometheus.metrics.core.metrics.Histogram
- nativeMaxNumberOfBuckets - Variable in class io.prometheus.metrics.core.metrics.Histogram.Builder
- nativeMaxNumberOfBuckets(int) - Method in class io.prometheus.metrics.core.metrics.Histogram.Builder
-
Limit the number of native buckets.
- nativeMaxZeroThreshold - Variable in class io.prometheus.metrics.core.metrics.Histogram.Builder
- nativeMaxZeroThreshold - Variable in class io.prometheus.metrics.core.metrics.Histogram
- nativeMaxZeroThreshold(double) - Method in class io.prometheus.metrics.core.metrics.Histogram.Builder
-
Native histogram buckets get smaller and smaller the closer they get to zero.
- nativeMinZeroThreshold - Variable in class io.prometheus.metrics.core.metrics.Histogram.Builder
- nativeMinZeroThreshold - Variable in class io.prometheus.metrics.core.metrics.Histogram
- nativeMinZeroThreshold(double) - Method in class io.prometheus.metrics.core.metrics.Histogram.Builder
-
Native histogram buckets get smaller and smaller the closer they get to zero.
- nativeOnly - Variable in class io.prometheus.metrics.core.metrics.Histogram.Builder
- nativeOnly() - Method in class io.prometheus.metrics.core.metrics.Histogram.Builder
-
Use the native histogram representation only, i.e.
- nativeResetDuration(long, TimeUnit) - Method in class io.prometheus.metrics.core.metrics.Histogram.Builder
-
If the histogram needed to be scaled down because
Histogram.Builder.nativeMaxNumberOfBuckets(int)was exceeded, reset the histogram after a certain time interval to go back to the originalHistogram.Builder.nativeInitialSchema(int). - nativeResetDurationSeconds - Variable in class io.prometheus.metrics.core.metrics.Histogram.Builder
- nativeResetDurationSeconds - Variable in class io.prometheus.metrics.core.metrics.Histogram
- nativeSchema - Variable in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- nativeSchema - Variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- nativeSchema - Variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
- nativeSchema(int) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- nativeZeroCount - Variable in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- nativeZeroCount - Variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- nativeZeroCount - Variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
- nativeZeroCount(long) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- nativeZeroThreshold - Variable in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- nativeZeroThreshold - Variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- nativeZeroThreshold - Variable in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
- nativeZeroThreshold(double) - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- needsEscaping(String, EscapingScheme) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
- newDataPoint() - Method in class io.prometheus.metrics.core.metrics.Counter
- newDataPoint() - Method in class io.prometheus.metrics.core.metrics.Gauge
- newDataPoint() - Method in class io.prometheus.metrics.core.metrics.Histogram
- newDataPoint() - Method in class io.prometheus.metrics.core.metrics.StatefulMetric
- newDataPoint() - Method in class io.prometheus.metrics.core.metrics.StateSet
- newDataPoint() - Method in class io.prometheus.metrics.core.metrics.Summary
- newThread(Runnable) - Method in class io.prometheus.metrics.core.util.Scheduler.DaemonThreadFactory
- newThread(Runnable) - Method in class io.prometheus.metrics.exporter.httpserver.NamedDaemonThreadFactory
- nextThreadNum() - Static method in class io.prometheus.metrics.core.util.Scheduler.DaemonThreadFactory
- noLabels - Variable in class io.prometheus.metrics.core.metrics.StatefulMetric
-
Shortcut for data.get(Collections.emptyList())
- normalize(String) - Static method in class io.prometheus.metrics.config.PrometheusProperties.MetricPropertiesMap
- normalizeAndPutAll(Map<Object, Object>, Map<Object, Object>) - Static method in class io.prometheus.metrics.config.PrometheusPropertiesLoader
- normalizePropertyKey(String) - Static method in class io.prometheus.metrics.config.PrometheusPropertiesLoader
-
Normalize a property key for consistent lookup.
- nullSafeArrayLength(long[]) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics
- numberOfAgeBuckets(int) - Method in class io.prometheus.metrics.core.metrics.Summary.Builder
-
The quantiles are relative to a moving time window.
- numberOfExemplars - Variable in class io.prometheus.metrics.core.exemplars.ExemplarSamplerConfig
O
- observationBuffer - Variable in class io.prometheus.metrics.core.metrics.Buffer
- observe(double) - Method in interface io.prometheus.metrics.core.datapoints.DistributionDataPoint
-
Observe
value. - observe(double) - Method in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- observe(double) - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- observe(double) - Method in class io.prometheus.metrics.core.metrics.Histogram
- observe(double) - Method in class io.prometheus.metrics.core.metrics.SlidingWindow
-
Observe a value.
- observe(double) - Method in class io.prometheus.metrics.core.metrics.Summary.DataPoint
- observe(double) - Method in class io.prometheus.metrics.core.metrics.Summary
- observeDuration() - Method in class io.prometheus.metrics.core.datapoints.Timer
-
Records the observed duration in seconds since this
Timerinstance was created. - observeFunction - Variable in class io.prometheus.metrics.core.datapoints.Timer
- observeFunction - Variable in class io.prometheus.metrics.core.metrics.SlidingWindow
- observeWithExemplar(double, Labels) - Method in interface io.prometheus.metrics.core.datapoints.DistributionDataPoint
-
Observe
value, and create a custom exemplar with the given labels. - observeWithExemplar(double, Labels) - Method in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- observeWithExemplar(double, Labels) - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- observeWithExemplar(double, Labels) - Method in class io.prometheus.metrics.core.metrics.Histogram
- observeWithExemplar(double, Labels) - Method in class io.prometheus.metrics.core.metrics.Summary.DataPoint
- observeWithExemplar(double, Labels) - Method in class io.prometheus.metrics.core.metrics.Summary
- of(double[], long[]) - Static method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
-
To create new
ClassicHistogramBuckets, you can either use one of the staticof(...)methods, or useClassicHistogramBuckets.builder(). - of(double[], Number[]) - Static method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
-
To create new
ClassicHistogramBuckets, you can either use one of the staticof(...)methods, or useClassicHistogramBuckets.builder(). - of(int[], long[]) - Static method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
-
To create a new
NativeHistogramBucketsinstance, you can either use one of the staticof(...)methods, or useNativeHistogramBuckets.builder(). - of(MetricType, Set<String>, String, Unit) - Static method in class io.prometheus.metrics.model.registry.PrometheusRegistry.RegistrationInfo
- of(Exemplar...) - Static method in class io.prometheus.metrics.model.snapshots.Exemplars
-
Create a new Exemplars instance.
- of(MetricSnapshot...) - Static method in class io.prometheus.metrics.model.snapshots.MetricSnapshots
- of(Quantile...) - Static method in class io.prometheus.metrics.model.snapshots.Quantiles
-
Create a new Quantiles instance.
- of(String...) - Static method in class io.prometheus.metrics.model.snapshots.Labels
-
Create a new Labels instance.
- of(String[], String[]) - Static method in class io.prometheus.metrics.model.snapshots.Labels
-
Create a new Labels instance.
- of(Collection<Exemplar>) - Static method in class io.prometheus.metrics.model.snapshots.Exemplars
-
Create a new Exemplars instance.
- of(List<Quantile>) - Static method in class io.prometheus.metrics.model.snapshots.Quantiles
-
Create a new Quantiles instance.
- of(List<Double>, List<? extends Number>) - Static method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
-
To create new
ClassicHistogramBuckets, you can either use one of the staticof(...)methods, or useClassicHistogramBuckets.builder(). - of(List<Integer>, List<Long>) - Static method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
-
To create a new
NativeHistogramBucketsinstance, you can either use one of the staticof(...)methods, or useNativeHistogramBuckets.builder(). - of(List<String>, List<String>) - Static method in class io.prometheus.metrics.model.snapshots.Labels
-
Create a new Labels instance.
- openMetrics2Properties - Variable in class io.prometheus.metrics.config.PrometheusProperties.Builder
- openMetrics2Properties - Variable in class io.prometheus.metrics.config.PrometheusProperties
- openMetrics2Properties - Variable in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter.Builder
- openMetrics2Properties - Variable in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- openMetrics2Properties(OpenMetrics2Properties) - Method in class io.prometheus.metrics.config.PrometheusProperties.Builder
- OpenMetrics2Properties - Class in io.prometheus.metrics.config
-
Properties starting with io.prometheus.openmetrics2.
- OpenMetrics2Properties(Boolean, Boolean, Boolean, Boolean, Boolean) - Constructor for class io.prometheus.metrics.config.OpenMetrics2Properties
- OpenMetrics2Properties.Builder - Class in io.prometheus.metrics.config
- openMetrics2TextFormatWriter - Variable in class io.prometheus.metrics.expositionformats.ExpositionFormats
- OpenMetrics2TextFormatWriter - Class in io.prometheus.metrics.expositionformats
-
Write the OpenMetrics 2.0 text format.
- OpenMetrics2TextFormatWriter(OpenMetrics2Properties, boolean, boolean) - Constructor for class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- OpenMetrics2TextFormatWriter.Builder - Class in io.prometheus.metrics.expositionformats
- openMetricsTextFormatWriter - Variable in class io.prometheus.metrics.expositionformats.ExpositionFormats
- OpenMetricsTextFormatWriter - Class in io.prometheus.metrics.expositionformats
-
Write the OpenMetrics text format as defined on https://openmetrics.io.
- OpenMetricsTextFormatWriter(boolean, boolean) - Constructor for class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- OpenMetricsTextFormatWriter.Builder - Class in io.prometheus.metrics.expositionformats
- osBean - Variable in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics.Builder
- osBean - Variable in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics
- osBean(OperatingSystemMXBean) - Method in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics.Builder
-
Package private.
- otelConfig - Variable in class io.prometheus.metrics.config.PrometheusProperties.Builder
P
- parseEscapingScheme(String) - Static method in class io.prometheus.metrics.config.ExporterPushgatewayProperties
- pathIfExists(String) - Static method in class io.prometheus.metrics.exporter.pushgateway.DefaultJobLabelDetector
- pattern - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics
- POOL_NUMBER - Static variable in class io.prometheus.metrics.exporter.httpserver.NamedDaemonThreadFactory
- poolBeans - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics.Builder
- poolBeans - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- poolNumber - Variable in class io.prometheus.metrics.exporter.httpserver.NamedDaemonThreadFactory
- port - Variable in class io.prometheus.metrics.config.ExporterHttpServerProperties.Builder
- port - Variable in class io.prometheus.metrics.config.ExporterHttpServerProperties
- port - Variable in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
- port(int) - Method in class io.prometheus.metrics.config.ExporterHttpServerProperties.Builder
- port(int) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Port to bind to.
- PORT - Static variable in class io.prometheus.metrics.config.ExporterHttpServerProperties
- PREFER_UNCOMPRESSED_RESPONSE - Static variable in class io.prometheus.metrics.config.ExporterHttpServerProperties
- preferUncompressedResponse - Variable in class io.prometheus.metrics.config.ExporterHttpServerProperties.Builder
- preferUncompressedResponse - Variable in class io.prometheus.metrics.config.ExporterHttpServerProperties
- preferUncompressedResponse - Variable in class io.prometheus.metrics.exporter.common.PrometheusScrapeHandler
- preferUncompressedResponse(boolean) - Method in class io.prometheus.metrics.config.ExporterHttpServerProperties.Builder
- PREFIX - Static variable in class io.prometheus.metrics.config.ExemplarsProperties
- PREFIX - Static variable in class io.prometheus.metrics.config.ExporterFilterProperties
- PREFIX - Static variable in class io.prometheus.metrics.config.ExporterHttpServerProperties
- PREFIX - Static variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- PREFIX - Static variable in class io.prometheus.metrics.config.ExporterProperties
- PREFIX - Static variable in class io.prometheus.metrics.config.ExporterPushgatewayProperties
- PREFIX - Static variable in class io.prometheus.metrics.config.OpenMetrics2Properties
- PROC_SELF_STATUS - Static variable in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics
- PROCESS_CPU_SECONDS_TOTAL - Static variable in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics
- PROCESS_MAX_FDS - Static variable in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics
- PROCESS_OPEN_FDS - Static variable in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics
- PROCESS_RESIDENT_MEMORY_BYTES - Static variable in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics
- PROCESS_START_TIME_SECONDS - Static variable in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics
- PROCESS_VIRTUAL_MEMORY_BYTES - Static variable in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics
- ProcessMetrics - Class in io.prometheus.metrics.instrumentation.jvm
-
Process metrics.
- ProcessMetrics(OperatingSystemMXBean, RuntimeMXBean, ProcessMetrics.Grepper, PrometheusProperties, Labels) - Constructor for class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics
- ProcessMetrics.Builder - Class in io.prometheus.metrics.instrumentation.jvm
- ProcessMetrics.FileGrepper - Class in io.prometheus.metrics.instrumentation.jvm
- ProcessMetrics.Grepper - Interface in io.prometheus.metrics.instrumentation.jvm
- PROMETHEUS_PROTOBUF - Enum constant in enum class io.prometheus.metrics.exporter.pushgateway.Format
- PROMETHEUS_TEXT - Enum constant in enum class io.prometheus.metrics.exporter.pushgateway.Format
- PROMETHEUS_TIMESTAMPS_IN_MS - Static variable in class io.prometheus.metrics.config.ExporterProperties
- PrometheusHttpExchange - Interface in io.prometheus.metrics.exporter.common
- PrometheusHttpRequest - Interface in io.prometheus.metrics.exporter.common
- PrometheusHttpResponse - Interface in io.prometheus.metrics.exporter.common
- PrometheusMetricsServlet - Class in io.prometheus.metrics.exporter.servlet.jakarta
-
Initial example exporter so that we can try the new metrics library out.
- PrometheusMetricsServlet() - Constructor for class io.prometheus.metrics.exporter.servlet.jakarta.PrometheusMetricsServlet
- PrometheusMetricsServlet(PrometheusProperties) - Constructor for class io.prometheus.metrics.exporter.servlet.jakarta.PrometheusMetricsServlet
- PrometheusMetricsServlet(PrometheusProperties, PrometheusRegistry) - Constructor for class io.prometheus.metrics.exporter.servlet.jakarta.PrometheusMetricsServlet
- PrometheusMetricsServlet(PrometheusRegistry) - Constructor for class io.prometheus.metrics.exporter.servlet.jakarta.PrometheusMetricsServlet
- prometheusName - Variable in class io.prometheus.metrics.model.registry.PrometheusRegistry.CollectorRegistration
- prometheusName - Variable in class io.prometheus.metrics.model.registry.PrometheusRegistry.MultiCollectorRegistration
- prometheusName - Variable in class io.prometheus.metrics.model.snapshots.MetricMetadata
-
Same as name that all invalid char (without Unicode support) are replaced by _
- prometheusName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
Get the metric or label name that is used in Prometheus exposition format.
- prometheusNames - Variable in class io.prometheus.metrics.model.snapshots.Labels
- prometheusNames - Variable in class io.prometheus.metrics.model.snapshots.MetricSnapshots.Builder
- PrometheusNaming - Class in io.prometheus.metrics.model.snapshots
-
Utility for Prometheus Metric and Label naming.
- PrometheusNaming() - Constructor for class io.prometheus.metrics.model.snapshots.PrometheusNaming
- PrometheusProperties - Class in io.prometheus.metrics.config
-
The Prometheus Java client library can be configured at runtime (e.g.
- PrometheusProperties(MetricsProperties, PrometheusProperties.MetricPropertiesMap, ExemplarsProperties, ExporterProperties, ExporterFilterProperties, ExporterHttpServerProperties, ExporterPushgatewayProperties, ExporterOpenTelemetryProperties, OpenMetrics2Properties) - Constructor for class io.prometheus.metrics.config.PrometheusProperties
- PrometheusProperties.Builder - Class in io.prometheus.metrics.config
- PrometheusProperties.MetricPropertiesMap - Class in io.prometheus.metrics.config
-
Map that stores metric-specific properties keyed by metric name in exposition format (underscores instead of dots).
- PrometheusPropertiesException - Exception Class in io.prometheus.metrics.config
- PrometheusPropertiesException(String) - Constructor for exception class io.prometheus.metrics.config.PrometheusPropertiesException
- PrometheusPropertiesException(String, Exception) - Constructor for exception class io.prometheus.metrics.config.PrometheusPropertiesException
- PrometheusPropertiesLoader - Class in io.prometheus.metrics.config
-
The Properties Loader is early stages.
- PrometheusPropertiesLoader() - Constructor for class io.prometheus.metrics.config.PrometheusPropertiesLoader
- prometheusProtobufWriter - Variable in class io.prometheus.metrics.expositionformats.ExpositionFormats
- PrometheusProtobufWriter - Class in io.prometheus.metrics.expositionformats
-
Write the Prometheus protobuf format as defined in github.com/prometheus/client_model.
- PrometheusProtobufWriter() - Constructor for class io.prometheus.metrics.expositionformats.PrometheusProtobufWriter
- PrometheusRegistry - Class in io.prometheus.metrics.model.registry
- PrometheusRegistry() - Constructor for class io.prometheus.metrics.model.registry.PrometheusRegistry
- PrometheusRegistry.CollectorRegistration - Class in io.prometheus.metrics.model.registry
-
Stores the registration details for a Collector at registration time.
- PrometheusRegistry.MultiCollectorRegistration - Class in io.prometheus.metrics.model.registry
-
Stores the registration details for a single metric within a MultiCollector.
- PrometheusRegistry.RegistrationInfo - Class in io.prometheus.metrics.model.registry
-
Tracks registration information for each metric name to enable validation of type consistency, label schema uniqueness, and help/unit consistency.
- prometheusScrapeHandler - Variable in class io.prometheus.metrics.exporter.httpserver.MetricsHandler
- PrometheusScrapeHandler - Class in io.prometheus.metrics.exporter.common
-
Prometheus scrape endpoint.
- PrometheusScrapeHandler() - Constructor for class io.prometheus.metrics.exporter.common.PrometheusScrapeHandler
- PrometheusScrapeHandler(PrometheusProperties) - Constructor for class io.prometheus.metrics.exporter.common.PrometheusScrapeHandler
- PrometheusScrapeHandler(PrometheusProperties, PrometheusRegistry) - Constructor for class io.prometheus.metrics.exporter.common.PrometheusScrapeHandler
- PrometheusScrapeHandler(PrometheusRegistry) - Constructor for class io.prometheus.metrics.exporter.common.PrometheusScrapeHandler
- PrometheusScrapeRequest - Interface in io.prometheus.metrics.model.registry
-
Infos extracted from the request received by the endpoint
- prometheusTextFormatWriter - Variable in class io.prometheus.metrics.expositionformats.ExpositionFormats
- PrometheusTextFormatWriter - Class in io.prometheus.metrics.expositionformats
-
Write the Prometheus text format.
- PrometheusTextFormatWriter(boolean) - Constructor for class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
-
Deprecated.this constructor is deprecated and will be removed in the next major version -
PrometheusTextFormatWriter.builder()orPrometheusTextFormatWriter.create()instead - PrometheusTextFormatWriter(boolean, boolean) - Constructor for class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- PrometheusTextFormatWriter.Builder - Class in io.prometheus.metrics.expositionformats
- prometheusTimestampsInMs - Variable in class io.prometheus.metrics.config.ExporterProperties.Builder
- prometheusTimestampsInMs - Variable in class io.prometheus.metrics.config.ExporterProperties
- prometheusTimestampsInMs - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- prometheusTimestampsInMs - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway
- prometheusTimestampsInMs(boolean) - Method in class io.prometheus.metrics.config.ExporterProperties.Builder
- prometheusTimestampsInMs(boolean) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
-
Use milliseconds for timestamps in text format? Default is
false. - properties - Variable in class io.prometheus.metrics.core.metrics.Metric.Builder
- PROPERTY_SUFFIXES - Static variable in class io.prometheus.metrics.config.MetricsProperties
-
All known property suffixes that can be configured for metrics.
- PropertySource - Class in io.prometheus.metrics.config
-
PropertySource encapsulates three separate property maps with different priorities and transformation rules.
- PropertySource(Map<Object, Object>) - Constructor for class io.prometheus.metrics.config.PropertySource
-
Creates a PropertySource with only regular properties (for testing).
- PropertySource(Map<Object, Object>, Map<Object, Object>, Map<Object, Object>) - Constructor for class io.prometheus.metrics.config.PropertySource
-
Creates a PropertySource with three separate property maps.
- protocol - Variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
- protocol - Variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- protocol(String) - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
-
The OTLP protocol to use.
- PROTOCOL - Static variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- push() - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
-
Push all metrics.
- push(Collector) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
-
Push a single metric.
- push(MultiCollector) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
-
Push a single collector.
- pushAdd() - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
-
Like
PushGateway.push(), but only metrics with the same name as the newly pushed metrics are replaced. - pushAdd(Collector) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
-
Like
PushGateway.push(Collector), but only the specified metric will be replaced. - pushAdd(MultiCollector) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
-
Like
PushGateway.push(MultiCollector), but only the metrics from the collector will be replaced. - PushGateway - Class in io.prometheus.metrics.exporter.pushgateway
-
Export metrics via the Prometheus Pushgateway
- PushGateway(PrometheusRegistry, Format, URL, HttpConnectionFactory, Map<String, String>, boolean, EscapingScheme, Duration, Duration) - Constructor for class io.prometheus.metrics.exporter.pushgateway.PushGateway
- PushGateway.Builder - Class in io.prometheus.metrics.exporter.pushgateway
- pushgatewayProperties - Variable in class io.prometheus.metrics.config.PrometheusProperties.Builder
- pushgatewayProperties(ExporterPushgatewayProperties) - Method in class io.prometheus.metrics.config.PrometheusProperties.Builder
- put(String, MetricsProperties) - Method in class io.prometheus.metrics.config.PrometheusProperties.MetricPropertiesMap
- putMetricProperty(String, MetricsProperties) - Method in class io.prometheus.metrics.config.PrometheusProperties.Builder
-
Convenience for adding a single named MetricsProperties
Q
- quantile - Variable in class io.prometheus.metrics.core.metrics.CKMSQuantiles.Quantile
-
Quantile.
- quantile - Variable in class io.prometheus.metrics.model.snapshots.Quantile
- quantile(double) - Method in class io.prometheus.metrics.core.metrics.Summary.Builder
-
Add a quantile.
- quantile(double, double) - Method in class io.prometheus.metrics.core.metrics.Summary.Builder
-
Add a quantile.
- quantile(double, double) - Method in class io.prometheus.metrics.model.snapshots.Quantiles.Builder
-
Add a quantile.
- quantile(Quantile) - Method in class io.prometheus.metrics.model.snapshots.Quantiles.Builder
-
Add a quantile.
- Quantile - Class in io.prometheus.metrics.model.snapshots
-
Immutable representation of a Quantile.
- Quantile(double, double) - Constructor for class io.prometheus.metrics.core.metrics.CKMSQuantiles.Quantile
- Quantile(double, double) - Constructor for class io.prometheus.metrics.model.snapshots.Quantile
- quantiles - Variable in class io.prometheus.metrics.core.metrics.CKMSQuantiles
- quantiles - Variable in class io.prometheus.metrics.core.metrics.Summary.Builder
- quantiles - Variable in class io.prometheus.metrics.core.metrics.Summary
- quantiles - Variable in class io.prometheus.metrics.model.snapshots.Quantiles.Builder
- quantiles - Variable in class io.prometheus.metrics.model.snapshots.Quantiles
- quantiles - Variable in class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot.Builder
- quantiles - Variable in class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot
- quantiles(Quantiles) - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot.Builder
- Quantiles - Class in io.prometheus.metrics.model.snapshots
-
Immutable list of quantiles.
- Quantiles(List<Quantile>) - Constructor for class io.prometheus.metrics.model.snapshots.Quantiles
- Quantiles.Builder - Class in io.prometheus.metrics.model.snapshots
- quantileValues - Variable in class io.prometheus.metrics.core.metrics.Summary.DataPoint
R
- rateLimitedObserve(AtomicBoolean, double, LongSupplier) - Method in class io.prometheus.metrics.core.exemplars.ExemplarSampler
-
Observing requires a system call to
System.currentTimeMillis(), and it requires iterating over the existing exemplars to check if one of the existing exemplars can be replaced. - RATIO - Static variable in class io.prometheus.metrics.model.snapshots.Unit
- READ_TIMEOUT - Static variable in class io.prometheus.metrics.config.ExporterPushgatewayProperties
- readFromStream(InputStream) - Static method in class io.prometheus.metrics.exporter.pushgateway.PushGateway
- readTimeout - Variable in class io.prometheus.metrics.config.ExporterPushgatewayProperties.Builder
- readTimeout - Variable in class io.prometheus.metrics.config.ExporterPushgatewayProperties
- readTimeout - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- readTimeout - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway
- readTimeout(Duration) - Method in class io.prometheus.metrics.config.ExporterPushgatewayProperties.Builder
- readTimeout(Duration) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
-
Specify the read timeout for HTTP connections to the PushGateway.
- register() - Method in class io.prometheus.metrics.core.metrics.Metric.Builder
- register() - Method in class io.prometheus.metrics.instrumentation.jvm.JvmBufferPoolMetrics.Builder
- register() - Method in class io.prometheus.metrics.instrumentation.jvm.JvmClassLoadingMetrics.Builder
- register() - Method in class io.prometheus.metrics.instrumentation.jvm.JvmCompilationMetrics.Builder
- register() - Method in class io.prometheus.metrics.instrumentation.jvm.JvmGarbageCollectorMetrics.Builder
- register() - Method in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics.Builder
- register() - Method in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics.Builder
- register() - Method in class io.prometheus.metrics.instrumentation.jvm.JvmMetrics.Builder
-
Register all JVM metrics with the default registry.
- register() - Method in class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics.Builder
- register() - Method in class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric.Builder
- register() - Method in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics.Builder
- register() - Method in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics.Builder
- register(Collector) - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
- register(MultiCollector) - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.core.metrics.Metric.Builder
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmBufferPoolMetrics.Builder
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmBufferPoolMetrics
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmClassLoadingMetrics.Builder
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmClassLoadingMetrics
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmCompilationMetrics.Builder
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmCompilationMetrics
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmGarbageCollectorMetrics.Builder
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmGarbageCollectorMetrics
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics.Builder
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics.Builder
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmMetrics.Builder
-
Register all JVM metrics with the
registry. - register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics.Builder
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric.Builder
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics.Builder
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics.Builder
- register(PrometheusRegistry) - Method in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics
- registered - Variable in class io.prometheus.metrics.model.registry.PrometheusRegistry
- REGISTERED - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmMetrics
- registerHandler(String, HttpHandler, Authenticator, String) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer
- registerHealthHandler - Variable in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
- registerHealthHandler(boolean) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Optional: Override if the health handler should be registered.
- RegistrationInfo(MetricType, Set<Set<String>>, String, Unit) - Constructor for class io.prometheus.metrics.model.registry.PrometheusRegistry.RegistrationInfo
- registry - Variable in class io.prometheus.metrics.exporter.common.PrometheusScrapeHandler
- registry - Variable in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
- registry - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- registry - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway
- registry(PrometheusRegistry) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer.Builder
-
Optional: Default is
PrometheusRegistry.defaultRegistry. - registry(PrometheusRegistry) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
-
Push metrics from this registry instead of
PrometheusRegistry.defaultRegistry. - regularProperties - Variable in class io.prometheus.metrics.config.PropertySource
- rejectedExecution(Runnable, ThreadPoolExecutor) - Method in class io.prometheus.metrics.exporter.httpserver.BlockingRejectedExecutionHandler
- remove(String...) - Method in class io.prometheus.metrics.core.metrics.Info
-
Remove the data point with the specified label values.
- remove(String...) - Method in class io.prometheus.metrics.core.metrics.StatefulMetric
-
Remove the data point with the given label values.
- removeCache(String) - Method in class io.prometheus.metrics.instrumentation.guava.CacheMetricsCollector
-
Remove the cache with the given name.
- removeIf(Function<List<String>, Boolean>) - Method in class io.prometheus.metrics.core.metrics.StatefulMetric
-
Remove the data points when the given function.
- removeLabelSet(Set<String>) - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry.RegistrationInfo
-
Removes a label schema from this registration.
- replaceIllegalCharsInUnitName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
Returns a string with only valid unit name characters [a-zA-Z0-9_.:].
- request - Variable in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- request - Variable in class io.prometheus.metrics.exporter.servlet.jakarta.HttpExchangeAdapter
- request - Variable in class io.prometheus.metrics.exporter.servlet.jakarta.HttpExchangeAdapter.Request
- Request(HttpServletRequest) - Constructor for class io.prometheus.metrics.exporter.servlet.jakarta.HttpExchangeAdapter.Request
- requestHeaders - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- requestHeaders - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway
- RESERVED_METRIC_NAME_SUFFIXES - Static variable in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
According to OpenMetrics
_countand_sum(and_gcount,_gsum) should also be reserved metric name suffixes. - reset - Variable in class io.prometheus.metrics.core.metrics.Buffer
- reset() - Method in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- reset() - Method in class io.prometheus.metrics.core.metrics.Buffer
-
Must be called by the runnable in the run() method.
- resetDurationExpired - Variable in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- RESOURCE_ATTRIBUTES - Static variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- resourceAttribute(String, String) - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
-
Add a resource attribute.
- resourceAttributes - Variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
- resourceAttributes - Variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- response - Variable in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- response - Variable in class io.prometheus.metrics.exporter.servlet.jakarta.HttpExchangeAdapter
- response - Variable in class io.prometheus.metrics.exporter.servlet.jakarta.HttpExchangeAdapter.Response
- Response(HttpServletResponse) - Constructor for class io.prometheus.metrics.exporter.servlet.jakarta.HttpExchangeAdapter.Response
- responseBytes - Variable in class io.prometheus.metrics.exporter.httpserver.DefaultHandler
- responseBytes - Variable in class io.prometheus.metrics.exporter.httpserver.HealthyHandler
- responseSent - Variable in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- ringBuffer - Variable in class io.prometheus.metrics.core.metrics.SlidingWindow
- rotate() - Method in class io.prometheus.metrics.core.metrics.SlidingWindow
- run(Function<Long, Boolean>, Supplier<T>, Consumer<Double>) - Method in class io.prometheus.metrics.core.metrics.Buffer
- runLock - Variable in class io.prometheus.metrics.core.metrics.Buffer
- runtime - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric.Builder
- runtime - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric
- runtime(String) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric.Builder
-
Package private.
- runtimeBean - Variable in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics.Builder
- runtimeBean - Variable in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics
- runtimeBean(RuntimeMXBean) - Method in class io.prometheus.metrics.instrumentation.jvm.ProcessMetrics.Builder
-
Package private.
S
- Sample(double, int) - Constructor for class io.prometheus.metrics.core.metrics.CKMSQuantiles.Sample
- SAMPLE_INTERVAL_MILLISECONDS - Static variable in class io.prometheus.metrics.config.ExemplarsProperties
- sampleIntervalMillis - Variable in class io.prometheus.metrics.core.exemplars.ExemplarSamplerConfig
- sampleIntervalMilliseconds - Variable in class io.prometheus.metrics.config.ExemplarsProperties.Builder
- sampleIntervalMilliseconds - Variable in class io.prometheus.metrics.config.ExemplarsProperties
- sampleIntervalMilliseconds(int) - Method in class io.prometheus.metrics.config.ExemplarsProperties.Builder
- samples - Variable in class io.prometheus.metrics.core.metrics.CKMSQuantiles
-
List of sampled observations, ordered by Sample.value.
- sanitizeLabelName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
Convert an arbitrary string to a name where
isValidLabelName(name)is true. - sanitizeMetricName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
Convert an arbitrary string to a name where
isValidMetricName(name)is true. - sanitizeMetricName(String, Unit) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
Like
PrometheusNaming.sanitizeMetricName(String), but also makes sure that the unit is appended as a suffix if the unit is notnull. - sanitizeUnitName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
Convert an arbitrary string to a name where
PrometheusNaming.validateUnitName(String)isnull(i.e. - schedule(Runnable, long, TimeUnit) - Static method in class io.prometheus.metrics.core.util.Scheduler
- Scheduler - Class in io.prometheus.metrics.core.util
-
Used for scheduling maintenance tasks like purging outdated Exemplars or resetting native histograms.
- Scheduler() - Constructor for class io.prometheus.metrics.core.util.Scheduler
- Scheduler.DaemonThreadFactory - Class in io.prometheus.metrics.core.util
- scheme - Variable in class io.prometheus.metrics.config.ExporterPushgatewayProperties.Builder
- scheme - Variable in class io.prometheus.metrics.config.ExporterPushgatewayProperties
- scheme - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
- scheme(Scheme) - Method in class io.prometheus.metrics.exporter.pushgateway.PushGateway.Builder
-
Specify if metrics should be pushed using HTTP or HTTPS.
- scheme(String) - Method in class io.prometheus.metrics.config.ExporterPushgatewayProperties.Builder
- Scheme - Enum Class in io.prometheus.metrics.exporter.pushgateway
- Scheme(String) - Constructor for enum class io.prometheus.metrics.exporter.pushgateway.Scheme
- SCHEME - Static variable in class io.prometheus.metrics.config.ExporterPushgatewayProperties
- scrape() - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
- scrape(PrometheusHttpRequest) - Method in class io.prometheus.metrics.exporter.common.PrometheusScrapeHandler
- scrape(PrometheusScrapeRequest) - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
- scrape(Predicate<String>) - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
- scrape(Predicate<String>, PrometheusScrapeRequest) - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
- scrapeTimestampMillis - Variable in class io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder
- scrapeTimestampMillis - Variable in class io.prometheus.metrics.model.snapshots.DataPointSnapshot
- scrapeTimestampMillis(long) - Method in class io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder
-
In most cases you should not set a scrape timestamp, because the scrape timestamp is set by the Prometheus server during scraping.
- SECONDS - Static variable in class io.prometheus.metrics.model.snapshots.Unit
- secondsToMillis(double) - Static method in class io.prometheus.metrics.model.snapshots.Unit
- self() - Method in class io.prometheus.metrics.core.metrics.Counter.Builder
- self() - Method in class io.prometheus.metrics.core.metrics.CounterWithCallback.Builder
- self() - Method in class io.prometheus.metrics.core.metrics.Gauge.Builder
- self() - Method in class io.prometheus.metrics.core.metrics.GaugeWithCallback.Builder
- self() - Method in class io.prometheus.metrics.core.metrics.Histogram.Builder
- self() - Method in class io.prometheus.metrics.core.metrics.Info.Builder
- self() - Method in class io.prometheus.metrics.core.metrics.Metric.Builder
- self() - Method in class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata.Builder
- self() - Method in class io.prometheus.metrics.core.metrics.StateSet.Builder
- self() - Method in class io.prometheus.metrics.core.metrics.Summary.Builder
- self() - Method in class io.prometheus.metrics.core.metrics.SummaryWithCallback.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.DataPointSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.InfoSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.InfoSnapshot.InfoDataPointSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.Builder
- self() - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot.Builder
- sendErrorResponseWithStackTrace(Exception) - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter
- sendHeadersAndGetBody(int, int) - Method in interface io.prometheus.metrics.exporter.common.PrometheusHttpResponse
-
This is equivalent to calling
HttpExchange.sendResponseHeaders(int, long)followed byHttpExchange.getResponseBody(). - sendHeadersAndGetBody(int, int) - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpResponse
- sendHeadersAndGetBody(int, int) - Method in class io.prometheus.metrics.exporter.servlet.jakarta.HttpExchangeAdapter.Response
- serialVersionUID - Static variable in exception class io.prometheus.metrics.config.PrometheusPropertiesException
- serialVersionUID - Static variable in class io.prometheus.metrics.exporter.servlet.jakarta.PrometheusMetricsServlet
- serialVersionUID - Static variable in exception class io.prometheus.metrics.model.snapshots.DuplicateLabelsException
- server - Variable in class io.prometheus.metrics.exporter.httpserver.HTTPServer
- SERVICE_INSTANCE_ID - Static variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- SERVICE_NAME - Static variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- SERVICE_NAMESPACE - Static variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- SERVICE_VERSION - Static variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- serviceInstanceId - Variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
- serviceInstanceId - Variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- serviceInstanceId(String) - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
-
The
service.instance.idresource attribute. - serviceName - Variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
- serviceName - Variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- serviceName(String) - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
-
The
service.nameresource attribute. - serviceNamespace - Variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
- serviceNamespace - Variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- serviceNamespace(String) - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
-
The
service.namespaceresource attribute. - serviceVersion - Variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
- serviceVersion - Variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- serviceVersion(String) - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
-
The
service.versionresource attribute. - set(double) - Method in interface io.prometheus.metrics.core.datapoints.GaugeDataPoint
-
Set the gauge to
value. - set(double) - Method in class io.prometheus.metrics.core.metrics.Gauge.DataPoint
- set(double) - Method in class io.prometheus.metrics.core.metrics.Gauge
- set(String, boolean) - Method in class io.prometheus.metrics.core.metrics.StateSet.DataPoint
- set(Map<String, MetricsProperties>) - Method in class io.prometheus.metrics.config.PrometheusProperties.MetricPropertiesMap
- setCreatedTimestampsEnabled(boolean) - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter.Builder
- setCreatedTimestampsEnabled(boolean) - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter.Builder
- setExemplarsOnAllMetricTypesEnabled(boolean) - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter.Builder
- setExemplarsOnAllMetricTypesEnabled(boolean) - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter.Builder
- setFalse(Enum<?>) - Method in interface io.prometheus.metrics.core.datapoints.StateSetDataPoint
-
statemust be one of the states from when theStateSetwas created withStateSet.Builder.states(Class). - setFalse(String) - Method in interface io.prometheus.metrics.core.datapoints.StateSetDataPoint
-
statemust be one of the states from when theStateSetwas created withStateSet.Builder.states(String...). - setFalse(String) - Method in class io.prometheus.metrics.core.metrics.StateSet.DataPoint
- setFalse(String) - Method in class io.prometheus.metrics.core.metrics.StateSet
- setHeader(String, String) - Method in interface io.prometheus.metrics.exporter.common.PrometheusHttpResponse
-
See
jakarta.servlet.http.HttpServletResponse.setHeader(String, String) - setHeader(String, String) - Method in class io.prometheus.metrics.exporter.httpserver.HttpExchangeAdapter.HttpResponse
- setHeader(String, String) - Method in class io.prometheus.metrics.exporter.servlet.jakarta.HttpExchangeAdapter.Response
- setIncludeCreatedTimestamps(boolean) - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter.Builder
- setLabelValues(String...) - Method in class io.prometheus.metrics.core.metrics.Info
-
Set the info label values.
- setOpenMetrics2Properties(OpenMetrics2Properties) - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter.Builder
- setTimestampsInMs(boolean) - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter.Builder
-
Deprecated.
- setTrue(Enum<?>) - Method in interface io.prometheus.metrics.core.datapoints.StateSetDataPoint
-
statemust be one of the states from when theStateSetwas created withStateSet.Builder.states(Class). - setTrue(String) - Method in interface io.prometheus.metrics.core.datapoints.StateSetDataPoint
-
statemust be one of the states from when theStateSetwas created withStateSet.Builder.states(String...). - setTrue(String) - Method in class io.prometheus.metrics.core.metrics.StateSet.DataPoint
- setTrue(String) - Method in class io.prometheus.metrics.core.metrics.StateSet
- setWithExemplar(double, Labels) - Method in interface io.prometheus.metrics.core.datapoints.GaugeDataPoint
-
Set the gauge to
value, and create a custom exemplar with the given labels. - setWithExemplar(double, Labels) - Method in class io.prometheus.metrics.core.metrics.Gauge.DataPoint
- setWithExemplar(double, Labels) - Method in class io.prometheus.metrics.core.metrics.Gauge
- shouldUseCompression(PrometheusHttpRequest) - Method in class io.prometheus.metrics.exporter.common.PrometheusScrapeHandler
- size() - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
- size() - Method in class io.prometheus.metrics.model.snapshots.Exemplars
- size() - Method in class io.prometheus.metrics.model.snapshots.Labels
- size() - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshots
- size() - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- size() - Method in class io.prometheus.metrics.model.snapshots.Quantiles
- size() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
- SlidingWindow<T> - Class in io.prometheus.metrics.core.metrics
-
Maintains a ring buffer of T to implement a sliding time window.
- SlidingWindow(Class<T>, Supplier<T>, ObjDoubleConsumer<T>, long, int) - Constructor for class io.prometheus.metrics.core.metrics.SlidingWindow
-
Example: If the
maxAgeSecondsis 60 andageBucketsis 3, then 3 instances ofTare maintained and the sliding window moves to the next instance of T every 20 seconds. - SlidingWindow(Class<T>, Supplier<T>, ObjDoubleConsumer<T>, long, int, LongSupplier) - Constructor for class io.prometheus.metrics.core.metrics.SlidingWindow
- SnapshotEscaper - Class in io.prometheus.metrics.model.snapshots
- SnapshotEscaper() - Constructor for class io.prometheus.metrics.model.snapshots.SnapshotEscaper
- snapshotNeedsEscaping(DataPointSnapshot, EscapingScheme) - Static method in class io.prometheus.metrics.model.snapshots.SnapshotEscaper
- snapshots - Variable in class io.prometheus.metrics.model.snapshots.MetricSnapshots.Builder
- snapshots - Variable in class io.prometheus.metrics.model.snapshots.MetricSnapshots
- sort(double[], long[]) - Static method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
- sort(int[], long[]) - Static method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- sort(String[], boolean[]) - Static method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
- sort(String[], String[], String[]) - Static method in class io.prometheus.metrics.model.snapshots.Labels
- sortAndValidate(double[], long[]) - Static method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
- sortAndValidate(int[], long[]) - Static method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- sortAndValidate(String[], String[], String[]) - Static method in class io.prometheus.metrics.model.snapshots.Labels
- SPAN_ID - Static variable in class io.prometheus.metrics.model.snapshots.Exemplar
-
Label name for span id.
- spanContext - Variable in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- SpanContext - Interface in io.prometheus.metrics.tracer.common
- spanId - Variable in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- spanId(String) - Method in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- startTimeNanos - Variable in class io.prometheus.metrics.core.datapoints.Timer
- startTimer() - Method in interface io.prometheus.metrics.core.datapoints.DistributionDataPoint
- startTimer() - Method in interface io.prometheus.metrics.core.datapoints.GaugeDataPoint
- startTimer() - Method in interface io.prometheus.metrics.core.datapoints.TimerApi
-
Start a
Timer. - state(String, boolean) - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot.Builder
-
Add a state.
- State(String, boolean) - Constructor for class io.prometheus.metrics.model.snapshots.StateSetSnapshot.State
- StatefulMetric<D,
T> - Class in io.prometheus.metrics.core.metrics -
There are two kinds of metrics: A
StatefulMetricactively maintains its current values, e.g. - StatefulMetric(StatefulMetric.Builder<?, ?>) - Constructor for class io.prometheus.metrics.core.metrics.StatefulMetric
- StatefulMetric.Builder<B,
M> - Class in io.prometheus.metrics.core.metrics - states(Class<? extends Enum<?>>) - Method in class io.prometheus.metrics.core.metrics.StateSet.Builder
-
Declare the states that should be represented by this StateSet.
- states(String...) - Method in class io.prometheus.metrics.core.metrics.StateSet.Builder
-
Declare the states that should be represented by this StateSet.
- StateSet - Class in io.prometheus.metrics.core.metrics
-
StateSet metric.
- StateSet(StateSet.Builder, String[]) - Constructor for class io.prometheus.metrics.core.metrics.StateSet
- STATESET - Enum constant in enum class io.prometheus.metrics.model.registry.MetricType
- StateSet.Builder - Class in io.prometheus.metrics.core.metrics
- StateSet.DataPoint - Class in io.prometheus.metrics.core.metrics
- StateSetDataPoint - Interface in io.prometheus.metrics.core.datapoints
-
Represents a single StateSet data point.
- StateSetDataPointSnapshot(String[], boolean[], Labels) - Constructor for class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
-
To create a new
StateSetSnapshot.StateSetDataPointSnapshot, you can either call the constructor directly or use the Builder withStateSetSnapshot.StateSetDataPointSnapshot.builder(). - StateSetDataPointSnapshot(String[], boolean[], Labels, long) - Constructor for class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
-
Constructor with an additional scrape timestamp.
- StateSetDataPointSnapshot(String[], boolean[], Labels, long, boolean) - Constructor for class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
- StateSetSnapshot - Class in io.prometheus.metrics.model.snapshots
-
Immutable snapshot of a StateSet metric.
- StateSetSnapshot(MetricMetadata, Collection<StateSetSnapshot.StateSetDataPointSnapshot>) - Constructor for class io.prometheus.metrics.model.snapshots.StateSetSnapshot
-
To create a new
StateSetSnapshot, you can either call the constructor directly or use the builder withStateSetSnapshot.builder(). - StateSetSnapshot(MetricMetadata, Collection<StateSetSnapshot.StateSetDataPointSnapshot>, boolean) - Constructor for class io.prometheus.metrics.model.snapshots.StateSetSnapshot
- StateSetSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- StateSetSnapshot.State - Class in io.prometheus.metrics.model.snapshots
- StateSetSnapshot.StateSetDataPointSnapshot - Class in io.prometheus.metrics.model.snapshots
- StateSetSnapshot.StateSetDataPointSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- stop() - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer
-
Stop the HTTP server.
- stream() - Method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
- stream() - Method in class io.prometheus.metrics.model.snapshots.Labels
- stream() - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshots
- stream() - Method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- stream() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
- stripedObservationCounts - Variable in class io.prometheus.metrics.core.metrics.Buffer
- stripInfoSuffix(String) - Static method in class io.prometheus.metrics.core.metrics.Info.Builder
- stripTotalSuffix(String) - Static method in class io.prometheus.metrics.core.metrics.Counter
- sum - Variable in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- sum - Variable in class io.prometheus.metrics.core.metrics.Summary.DataPoint
- sum - Variable in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot.Builder
- sum - Variable in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot
- sum(double) - Method in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot.Builder
- Summary - Class in io.prometheus.metrics.core.metrics
-
Summary metric.
- Summary(Summary.Builder, PrometheusProperties) - Constructor for class io.prometheus.metrics.core.metrics.Summary
- SUMMARY - Enum constant in enum class io.prometheus.metrics.model.registry.MetricType
- SUMMARY_MAX_AGE_SECONDS - Static variable in class io.prometheus.metrics.config.MetricsProperties
- SUMMARY_NUMBER_OF_AGE_BUCKETS - Static variable in class io.prometheus.metrics.config.MetricsProperties
- SUMMARY_QUANTILE_ERRORS - Static variable in class io.prometheus.metrics.config.MetricsProperties
- SUMMARY_QUANTILES - Static variable in class io.prometheus.metrics.config.MetricsProperties
- Summary.Builder - Class in io.prometheus.metrics.core.metrics
- Summary.DataPoint - Class in io.prometheus.metrics.core.metrics
- SummaryDataPointSnapshot(long, double, Quantiles, Labels, Exemplars, long) - Constructor for class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot
-
To create a new
SummarySnapshot.SummaryDataPointSnapshot, you can either call the constructor directly or use the Builder withSummarySnapshot.SummaryDataPointSnapshot.builder(). - SummaryDataPointSnapshot(long, double, Quantiles, Labels, Exemplars, long, long) - Constructor for class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot
-
Constructor with an additional scrape timestamp.
- SummaryDataPointSnapshot(long, double, Quantiles, Labels, Exemplars, long, long, boolean) - Constructor for class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot
- summaryMaxAgeSeconds - Variable in class io.prometheus.metrics.config.MetricsProperties.Builder
- summaryMaxAgeSeconds - Variable in class io.prometheus.metrics.config.MetricsProperties
- summaryMaxAgeSeconds(Long) - Method in class io.prometheus.metrics.config.MetricsProperties.Builder
- summaryNumberOfAgeBuckets - Variable in class io.prometheus.metrics.config.MetricsProperties.Builder
- summaryNumberOfAgeBuckets - Variable in class io.prometheus.metrics.config.MetricsProperties
- summaryNumberOfAgeBuckets(Integer) - Method in class io.prometheus.metrics.config.MetricsProperties.Builder
- summaryQuantileErrors - Variable in class io.prometheus.metrics.config.MetricsProperties.Builder
- summaryQuantileErrors - Variable in class io.prometheus.metrics.config.MetricsProperties
- summaryQuantileErrors(double...) - Method in class io.prometheus.metrics.config.MetricsProperties.Builder
- summaryQuantiles - Variable in class io.prometheus.metrics.config.MetricsProperties.Builder
- summaryQuantiles - Variable in class io.prometheus.metrics.config.MetricsProperties
- summaryQuantiles(double...) - Method in class io.prometheus.metrics.config.MetricsProperties.Builder
- SummarySnapshot - Class in io.prometheus.metrics.model.snapshots
-
Immutable snapshot of a Summary metric.
- SummarySnapshot(MetricMetadata, Collection<SummarySnapshot.SummaryDataPointSnapshot>) - Constructor for class io.prometheus.metrics.model.snapshots.SummarySnapshot
-
To create a new
SummarySnapshot, you can either call the constructor directly or use the builder withSummarySnapshot.builder(). - SummarySnapshot(MetricMetadata, Collection<SummarySnapshot.SummaryDataPointSnapshot>, boolean) - Constructor for class io.prometheus.metrics.model.snapshots.SummarySnapshot
- SummarySnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- SummarySnapshot.SummaryDataPointSnapshot - Class in io.prometheus.metrics.model.snapshots
- SummarySnapshot.SummaryDataPointSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- SummaryWithCallback - Class in io.prometheus.metrics.core.metrics
-
Example:
- SummaryWithCallback(SummaryWithCallback.Builder) - Constructor for class io.prometheus.metrics.core.metrics.SummaryWithCallback
- SummaryWithCallback.Builder - Class in io.prometheus.metrics.core.metrics
- SummaryWithCallback.Callback - Interface in io.prometheus.metrics.core.metrics
- supportedFormats - Variable in class io.prometheus.metrics.exporter.common.PrometheusScrapeHandler
- swap(int, int, double[], long[]) - Static method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
- swap(int, int, int[], long[]) - Static method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- swap(int, int, String[], boolean[]) - Static method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
- swap(int, int, String[], String[], String[]) - Static method in class io.prometheus.metrics.model.snapshots.Labels
T
- test(String) - Method in class io.prometheus.metrics.model.registry.MetricNameFilter
- TextFormatUtil - Class in io.prometheus.metrics.expositionformats
-
Utility methods for writing Prometheus text exposition formats.
- TextFormatUtil() - Constructor for class io.prometheus.metrics.expositionformats.TextFormatUtil
- threadBean - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics.Builder
- threadBean - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics
- threadBean(ThreadMXBean) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics.Builder
-
Package private.
- threadNum - Static variable in class io.prometheus.metrics.core.util.Scheduler.DaemonThreadFactory
- threadNumber - Variable in class io.prometheus.metrics.exporter.httpserver.NamedDaemonThreadFactory
- time(Runnable) - Method in interface io.prometheus.metrics.core.datapoints.TimerApi
-
Observe the duration of the
funccall. - time(Supplier<T>) - Method in interface io.prometheus.metrics.core.datapoints.TimerApi
-
Like
TimerApi.time(Runnable), but returns the return value offunc. - timeChecked(Callable<T>) - Method in interface io.prometheus.metrics.core.datapoints.TimerApi
- timeout - Variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
- timeout - Variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- TIMEOUT_SECONDS - Static variable in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties
- timeoutSeconds(int) - Method in class io.prometheus.metrics.config.ExporterOpenTelemetryProperties.Builder
-
The timeout for outgoing requests.
- Timer - Class in io.prometheus.metrics.core.datapoints
-
Helper class for observing durations.
- Timer(DoubleConsumer) - Constructor for class io.prometheus.metrics.core.datapoints.Timer
-
Constructor is package private.
- TimerApi - Interface in io.prometheus.metrics.core.datapoints
-
Convenience API for timing durations.
- timestampMillis - Variable in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- timestampMillis - Variable in class io.prometheus.metrics.model.snapshots.Exemplar
- timestampMillis(long) - Method in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- timestampsInMs - Variable in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter.Builder
- timestampsInMs - Variable in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- toBucketList(ConcurrentHashMap<Integer, LongAdder>) - Method in class io.prometheus.metrics.core.metrics.Histogram.DataPoint
- toDebugString(MetricSnapshots) - Method in interface io.prometheus.metrics.expositionformats.ExpositionFormatWriter
-
Converts the metric snapshots to a debug string using the default escaping scheme.
- toDebugString(MetricSnapshots, EscapingScheme) - Method in interface io.prometheus.metrics.expositionformats.ExpositionFormatWriter
-
Converts the metric snapshots to a debug string using the specified escaping scheme.
- toDebugString(MetricSnapshots, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.PrometheusProtobufWriter
- toHeaderFormat() - Method in enum class io.prometheus.metrics.config.EscapingScheme
- toList(double...) - Static method in class io.prometheus.metrics.config.Util
- toProperties() - Method in class io.prometheus.metrics.core.metrics.Histogram.Builder
- toProperties() - Method in class io.prometheus.metrics.core.metrics.StatefulMetric.Builder
-
Override if there are more properties than just exemplars enabled.
- toProperties() - Method in class io.prometheus.metrics.core.metrics.Summary.Builder
- toString() - Method in class io.prometheus.metrics.core.metrics.CKMSQuantiles.Quantile
- toString() - Method in class io.prometheus.metrics.core.metrics.CKMSQuantiles.Sample
- toString() - Method in enum class io.prometheus.metrics.exporter.pushgateway.Scheme
- toString() - Method in class io.prometheus.metrics.model.snapshots.Label
- toString() - Method in class io.prometheus.metrics.model.snapshots.Labels
-
This must not be used in Prometheus exposition formats because names may contain dots.
- toString() - Method in class io.prometheus.metrics.model.snapshots.Unit
- TRACE_ID - Static variable in class io.prometheus.metrics.model.snapshots.Exemplar
-
Label name for trace id.
- traceId - Variable in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- traceId(String) - Method in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- type - Variable in class io.prometheus.metrics.model.registry.PrometheusRegistry.RegistrationInfo
U
- u - Variable in class io.prometheus.metrics.core.metrics.CKMSQuantiles.Quantile
-
Helper used in the error function f(), see definition 5 in the paper.
- UNDERSCORE_ESCAPING - Enum constant in enum class io.prometheus.metrics.config.EscapingScheme
-
UNDERSCORE_ESCAPING replaces all legacy-invalid characters with underscores.
- unit - Variable in class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata.Builder
- unit - Variable in class io.prometheus.metrics.model.registry.PrometheusRegistry.RegistrationInfo
- unit - Variable in class io.prometheus.metrics.model.snapshots.MetricMetadata
- unit - Variable in class io.prometheus.metrics.model.snapshots.MetricSnapshot.Builder
- unit(Unit) - Method in class io.prometheus.metrics.core.metrics.Info.Builder
-
Throws an
UnsupportedOperationExceptionbecause Info metrics cannot have a unit. - unit(Unit) - Method in class io.prometheus.metrics.core.metrics.MetricWithFixedMetadata.Builder
- unit(Unit) - Method in class io.prometheus.metrics.model.snapshots.InfoSnapshot.Builder
- unit(Unit) - Method in class io.prometheus.metrics.model.snapshots.MetricSnapshot.Builder
- unit(Unit) - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.Builder
- Unit - Class in io.prometheus.metrics.model.snapshots
-
Some pre-defined units for convenience.
- Unit(String) - Constructor for class io.prometheus.metrics.model.snapshots.Unit
- UNKNOWN - Enum constant in enum class io.prometheus.metrics.model.registry.MetricType
-
Unknown metric type, used as a fallback.
- UNKNOWN - Static variable in class io.prometheus.metrics.instrumentation.jvm.JvmThreadsMetrics
- UnknownDataPointSnapshot(double, Labels, Exemplar) - Constructor for class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot
-
To create a new
UnknownSnapshot.UnknownDataPointSnapshot, you can either call the constructor directly or use the Builder withUnknownSnapshot.UnknownDataPointSnapshot.builder(). - UnknownDataPointSnapshot(double, Labels, Exemplar, long) - Constructor for class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot
-
Constructor with an additional scrape timestamp.
- UnknownDataPointSnapshot(double, Labels, Exemplar, long, boolean) - Constructor for class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot
- UnknownSnapshot - Class in io.prometheus.metrics.model.snapshots
-
Immutable snapshot of an Unknown (Untyped) metric.
- UnknownSnapshot(MetricMetadata, Collection<UnknownSnapshot.UnknownDataPointSnapshot>) - Constructor for class io.prometheus.metrics.model.snapshots.UnknownSnapshot
-
To create a new
UnknownSnapshot, you can either call the constructor directly or use the builder withUnknownSnapshot.builder(). - UnknownSnapshot(MetricMetadata, Collection<UnknownSnapshot.UnknownDataPointSnapshot>, boolean) - Constructor for class io.prometheus.metrics.model.snapshots.UnknownSnapshot
- UnknownSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- UnknownSnapshot.UnknownDataPointSnapshot - Class in io.prometheus.metrics.model.snapshots
- UnknownSnapshot.UnknownDataPointSnapshot.Builder - Class in io.prometheus.metrics.model.snapshots
- unregister(Collector) - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
- unregister(MultiCollector) - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
- unregisterLabelSchema(String, Set<String>) - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
-
Removes the label schema for the given metric name.
- updateCustomExemplar(int, double, Labels, long) - Method in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- updateExemplar(int, double, long) - Method in class io.prometheus.metrics.core.exemplars.ExemplarSampler
- upperBound - Variable in class io.prometheus.metrics.model.snapshots.ClassicHistogramBucket
- upperBounds - Variable in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets.Builder
- upperBounds - Variable in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
- url - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway
- Util - Class in io.prometheus.metrics.config
- Util() - Constructor for class io.prometheus.metrics.config.Util
V
- v - Variable in class io.prometheus.metrics.core.metrics.CKMSQuantiles.Quantile
-
Helper used in the error function f(), see definition 5 in the paper.
- validate() - Method in class io.prometheus.metrics.core.exemplars.ExemplarSamplerConfig
- validate() - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot
- validate() - Method in class io.prometheus.metrics.model.snapshots.DataPointSnapshot
- validate() - Method in class io.prometheus.metrics.model.snapshots.DistributionDataPointSnapshot
- validate() - Method in class io.prometheus.metrics.model.snapshots.HistogramSnapshot.HistogramDataPointSnapshot
- validate() - Method in class io.prometheus.metrics.model.snapshots.MetricMetadata
- validate() - Method in class io.prometheus.metrics.model.snapshots.Quantile
- validate() - Method in class io.prometheus.metrics.model.snapshots.Quantiles
- validate() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
- validate() - Method in class io.prometheus.metrics.model.snapshots.StateSetSnapshot
- validate() - Method in class io.prometheus.metrics.model.snapshots.SummarySnapshot.SummaryDataPointSnapshot
- validate(double[], long[]) - Static method in class io.prometheus.metrics.model.snapshots.ClassicHistogramBuckets
- validate(int[], long[]) - Static method in class io.prometheus.metrics.model.snapshots.NativeHistogramBuckets
- validate(String) - Method in class io.prometheus.metrics.config.MetricsProperties
- validateAllPropertiesProcessed(PropertySource) - Static method in class io.prometheus.metrics.config.PrometheusPropertiesLoader
- validateAndAdd(double) - Method in class io.prometheus.metrics.core.metrics.Counter.DataPoint
- validateAndAdd(long) - Method in class io.prometheus.metrics.core.metrics.Counter.DataPoint
- validateLabels(List<T>, MetricMetadata) - Static method in class io.prometheus.metrics.model.snapshots.MetricSnapshot
- validateMetadata(String, Unit) - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry.RegistrationInfo
-
Validates that the given help and unit are exactly equal to this registration.
- validateMetricName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
Same as
PrometheusNaming.isValidMetricName(String), but produces an error message. - validateNames(String[], String[]) - Static method in class io.prometheus.metrics.model.snapshots.Labels
- validateRegistration(String, MetricType, Set<String>, String, Unit) - Method in class io.prometheus.metrics.model.registry.PrometheusRegistry
-
Validates the registration of a metric with the given parameters.
- validateUnitName(String) - Static method in class io.prometheus.metrics.model.snapshots.PrometheusNaming
-
Same as
PrometheusNaming.isValidUnitName(String)but returns an error message. - value - Variable in enum class io.prometheus.metrics.config.EscapingScheme
- value - Variable in class io.prometheus.metrics.core.metrics.CKMSQuantiles.Sample
-
Observed value.
- value - Variable in class io.prometheus.metrics.core.metrics.Gauge.DataPoint
- value - Variable in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot.Builder
- value - Variable in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot
- value - Variable in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- value - Variable in class io.prometheus.metrics.model.snapshots.Exemplar
- value - Variable in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot.Builder
- value - Variable in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot
- value - Variable in class io.prometheus.metrics.model.snapshots.Label
- value - Variable in class io.prometheus.metrics.model.snapshots.Quantile
- value - Variable in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.State
- value - Variable in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot.Builder
- value - Variable in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot
- value(double) - Method in class io.prometheus.metrics.model.snapshots.CounterSnapshot.CounterDataPointSnapshot.Builder
-
Counter value.
- value(double) - Method in class io.prometheus.metrics.model.snapshots.Exemplar.Builder
- value(double) - Method in class io.prometheus.metrics.model.snapshots.GaugeSnapshot.GaugeDataPointSnapshot.Builder
-
Gauge value.
- value(double) - Method in class io.prometheus.metrics.model.snapshots.UnknownSnapshot.UnknownDataPointSnapshot.Builder
-
required.
- VALUE_ENCODING_ESCAPING - Enum constant in enum class io.prometheus.metrics.config.EscapingScheme
-
VALUE_ENCODING_ESCAPING prepends the name with `U__` and replaces all invalid characters with the Unicode value, surrounded by underscores.
- valueOf(String) - Static method in enum class io.prometheus.metrics.config.EscapingScheme
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.prometheus.metrics.exporter.pushgateway.Format
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.prometheus.metrics.exporter.pushgateway.Scheme
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.prometheus.metrics.expositionformats.NameType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class io.prometheus.metrics.model.registry.MetricType
-
Returns the enum constant of this class with the specified name.
- values - Variable in class io.prometheus.metrics.core.metrics.StateSet.DataPoint
- values - Variable in class io.prometheus.metrics.model.snapshots.Labels.Builder
- values - Variable in class io.prometheus.metrics.model.snapshots.Labels
- values - Variable in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot.Builder
- values - Variable in class io.prometheus.metrics.model.snapshots.StateSetSnapshot.StateSetDataPointSnapshot
- values() - Static method in enum class io.prometheus.metrics.config.EscapingScheme
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.prometheus.metrics.exporter.pushgateway.Format
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.prometheus.metrics.exporter.pushgateway.Scheme
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.prometheus.metrics.expositionformats.NameType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class io.prometheus.metrics.model.registry.MetricType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- vendor - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric.Builder
- vendor - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric
- vendor(String) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric.Builder
-
Package private.
- version - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric.Builder
- version - Variable in class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric
- version(String) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmRuntimeInfoMetric.Builder
-
Package private.
- vmNativeMemorySummaryInBytes() - Method in class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics.DefaultPlatformMBeanServerAdapter
- vmNativeMemorySummaryInBytes() - Method in interface io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics.PlatformMBeanServerAdapter
- vmNativeMemorySummaryInBytesOrEmpty() - Method in class io.prometheus.metrics.instrumentation.jvm.JvmNativeMemoryMetrics
- VOLTS - Static variable in class io.prometheus.metrics.model.snapshots.Unit
W
- withExemplars() - Method in class io.prometheus.metrics.core.metrics.StatefulMetric.Builder
-
Allow Exemplars for this metric.
- withGarbageCollectorBeans(List<GarbageCollectorMXBean>) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryPoolAllocationMetrics.Builder
-
Package private.
- withMemoryBean(MemoryMXBean) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics.Builder
-
Package private.
- withMemoryPoolBeans(List<MemoryPoolMXBean>) - Method in class io.prometheus.metrics.instrumentation.jvm.JvmMemoryMetrics.Builder
-
Package private.
- withoutExemplars() - Method in class io.prometheus.metrics.core.metrics.StatefulMetric.Builder
-
Turn off Exemplars for this metric.
- wrapWithDoAs(HttpHandler, String) - Method in class io.prometheus.metrics.exporter.httpserver.HTTPServer
- write(OutputStream, MetricSnapshots) - Method in interface io.prometheus.metrics.expositionformats.ExpositionFormatWriter
-
Writes the given metric snapshots to the output stream using the default escaping scheme.
- write(OutputStream, MetricSnapshots, EscapingScheme) - Method in interface io.prometheus.metrics.expositionformats.ExpositionFormatWriter
-
Writes the given metric snapshots to the output stream using the specified escaping scheme.
- write(OutputStream, MetricSnapshots, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- write(OutputStream, MetricSnapshots, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- write(OutputStream, MetricSnapshots, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.PrometheusProtobufWriter
- write(OutputStream, MetricSnapshots, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- writeClassicHistogramBuckets(Writer, MetricMetadata, String, String, List<HistogramSnapshot.HistogramDataPointSnapshot>, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- writeClassicHistogramBuckets(Writer, MetricMetadata, String, String, List<HistogramSnapshot.HistogramDataPointSnapshot>, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- writeCountAndSum(Writer, MetricMetadata, DistributionDataPointSnapshot, String, String, Exemplars, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- writeCountAndSum(Writer, MetricMetadata, DistributionDataPointSnapshot, String, String, Exemplars, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- writeCounter(Writer, CounterSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- writeCounter(Writer, CounterSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- writeCounter(Writer, CounterSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- writeCreated(Writer, MetricMetadata, DataPointSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- writeCreated(Writer, MetricMetadata, DataPointSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- writeCreated(Writer, MetricSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- writeCreatedTimestamps - Variable in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- writeDebugResponse(MetricSnapshots, EscapingScheme, PrometheusHttpExchange) - Method in class io.prometheus.metrics.exporter.common.PrometheusScrapeHandler
- writeDouble(Writer, double) - Static method in class io.prometheus.metrics.expositionformats.TextFormatUtil
- writeEscapedHelp(Writer, String) - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- writeEscapedString(Writer, String) - Static method in class io.prometheus.metrics.expositionformats.TextFormatUtil
- writeGauge(Writer, GaugeSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- writeGauge(Writer, GaugeSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- writeGauge(Writer, GaugeSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- writeGaugeCountSum(Writer, HistogramSnapshot, MetricMetadata, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- writeHistogram(Writer, HistogramSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- writeHistogram(Writer, HistogramSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- writeHistogram(Writer, HistogramSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- writeInfo(Writer, InfoSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- writeInfo(Writer, InfoSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- writeInfo(Writer, InfoSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- writeLabels(Writer, Labels, String, double, boolean, EscapingScheme) - Static method in class io.prometheus.metrics.expositionformats.TextFormatUtil
- writeLong(Writer, long) - Static method in class io.prometheus.metrics.expositionformats.TextFormatUtil
- writeMetadata(Writer, String, MetricMetadata, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- writeMetadata(Writer, String, MetricMetadata, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- writeMetadata(Writer, String, String, MetricMetadata, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- writeName(Writer, String, NameType) - Static method in class io.prometheus.metrics.expositionformats.TextFormatUtil
- writeNameAndLabels(Writer, String, String, Labels, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- writeNameAndLabels(Writer, String, String, Labels, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- writeNameAndLabels(Writer, String, String, Labels, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- writeNameAndLabels(Writer, String, String, Labels, EscapingScheme, String, double) - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- writeNameAndLabels(Writer, String, String, Labels, EscapingScheme, String, double) - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- writeNameAndLabels(Writer, String, String, Labels, EscapingScheme, String, double) - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- writeOpenMetricsTimestamp(Writer, long) - Static method in class io.prometheus.metrics.expositionformats.TextFormatUtil
- writePrometheusTimestamp(Writer, long, boolean) - Static method in class io.prometheus.metrics.expositionformats.TextFormatUtil
- writer - Variable in class io.prometheus.metrics.exporter.pushgateway.PushGateway
- writeScrapeTimestampAndExemplar(Writer, DataPointSnapshot, Exemplar, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- writeScrapeTimestampAndExemplar(Writer, DataPointSnapshot, Exemplar, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- writeScrapeTimestampAndNewline(Writer, DataPointSnapshot) - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- writeStateSet(Writer, StateSetSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- writeStateSet(Writer, StateSetSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- writeStateSet(Writer, StateSetSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- writeSummary(Writer, SummarySnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- writeSummary(Writer, SummarySnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- writeSummary(Writer, SummarySnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
- writeUnknown(Writer, UnknownSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetrics2TextFormatWriter
- writeUnknown(Writer, UnknownSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.OpenMetricsTextFormatWriter
- writeUnknown(Writer, UnknownSnapshot, EscapingScheme) - Method in class io.prometheus.metrics.expositionformats.PrometheusTextFormatWriter
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
ExpositionFormats.init(PrometheusProperties)instead.