All Classes and Interfaces
Class
Description
Metrics support concurrent write and scrape operations.
Collect metrics from Guava's com.google.common.cache.Cache.
There are two kinds of metrics:
StatefulMetric and CallbackMetric.Algorithm solving the "Targeted Quantile Problem" as described in "Effective Computation of
Biased Quantiles over Data Streams" by Cormode, Korn, Muthukrishnan, and Srivastava.
Helper class for iterating over
ClassicHistogramBuckets.Immutable container for histogram buckets with fixed bucket boundaries.
To be registered with the Prometheus collector registry.
Counter metric.
Represents a single counter data point, i.e.
Immutable snapshot of a Counter.
Example:
Handler for the / endpoint
This can be used for creating
Scheme.HTTP and Scheme.HTTPS connections.The default
job label is the name of the JAR file being executed.Represents a single data point of a histogram or a summary metric.
Common base class for histogram and summary data.
Thrown when a collector tries to create a
MetricSnapshot where multiple data points have
the same labels (same label names and label values).Immutable representation of an Exemplar.
Immutable container for Exemplars.
The ExemplarSampler selects Spans as exemplars.
Properties starting with io.prometheus.exemplars
Properties starting with io.prometheus.exporter.filter
Properties starting with io.prometheus.exporter.http_server
Properties for configuring the OpenTelemetry exporter.
Properties starting with io.prometheus.exporter
Gauge metric.
Represents a single gauge data point, i.e.
Immutable snapshot of a Gauge.
Example:
Handler for the /-/healthy endpoint
Histogram metric.
Immutable snapshot of a Histogram.
Expose Prometheus metrics using a plain Java HttpServer.
Info metric.
Immutable snapshot of an Info metric.
JVM Buffer Pool metrics.
JVM Class Loading metrics.
JVM Compilation metrics.
JVM Garbage Collector metrics.
JVM memory metrics.
JVM memory allocation metrics.
Registers all JVM metrics.
JVM native memory.
JVM Runtime Info metric.
JVM Thread metrics.
Utility for iterating over
Labels.Immutable set of name/value pairs, sorted by name.
Common base class for all metrics.
Immutable container for metric metadata: name, help, unit.
Filter samples (i.e.
Handler for the /metrics endpoint
Base class for metric snapshots.
Immutable list of metric snapshots.
Properties starting with io.prometheus.metrics
Represents the type of Prometheus metric.
Almost all metrics have fixed metadata, i.e.
Like
Collector, but collecting multiple Snapshots at once.For iterating over
NativeHistogramBuckets.Immutable representation of native histogram buckets.
Contains utilities to check if we are running inside or building for native image.
Properties starting with io.prometheus.openmetrics2.
Write the OpenMetrics 2.0 text format.
Write the OpenMetrics text format as defined on https://openmetrics.io.
Process metrics.
Initial example exporter so that we can try the new metrics library out.
Utility for Prometheus Metric and Label naming.
The Prometheus Java client library can be configured at runtime (e.g.
Map that stores metric-specific properties keyed by metric name in exposition format
(underscores instead of dots).
The Properties Loader is early stages.
Write the Prometheus protobuf format as defined in github.com/prometheus/client_model.
Stores the registration details for a Collector at registration time.
Stores the registration details for a single metric within a MultiCollector.
Tracks registration information for each metric name to enable validation of type consistency,
label schema uniqueness, and help/unit consistency.
Prometheus scrape endpoint.
Infos extracted from the request received by the endpoint
Write the Prometheus text format.
PropertySource encapsulates three separate property maps with different priorities and
transformation rules.
Export metrics via the Prometheus
Pushgateway
Immutable representation of a Quantile.
Immutable list of quantiles.
Used for scheduling maintenance tasks like purging outdated Exemplars or resetting native
histograms.
Maintains a ring buffer of T to implement a sliding time window.
There are two kinds of metrics:
A
StatefulMetric actively maintains its current values, e.g.StateSet metric.
Represents a single StateSet data point.
Immutable snapshot of a StateSet metric.
Summary metric.
Immutable snapshot of a Summary metric.
Example:
Utility methods for writing Prometheus text exposition formats.
Helper class for observing durations.
Convenience API for timing durations.
Some pre-defined units for convenience.
Immutable snapshot of an Unknown (Untyped) metric.