All Classes and Interfaces

Class
Description
Collect metrics from Caffeine's com.github.benmanes.caffeine.cache.Cache.
Collect metrics from Guava's com.google.common.cache.Cache.
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. a single line for a counter metric in Prometheus text format.
Immutable snapshot of a Counter.
 
 
 
Example:
 
 
A LabelMapper to allow Dropwizard metrics to be translated to Prometheus metrics including custom labels and names.
 
 
 
Handler for the / endpoint
This can be used for creating Scheme.HTTP and Scheme.HTTPS connections.
Represents a single data point of a histogram or a summary metric.
Common base class for histogram and summary data.
Collect Dropwizard metrics from a MetricRegistry.
 
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.httpServer
 
 
 
Properties starting with io.prometheus.exporter
 
 
 
 
 
Gauge metric.
 
Represents a single gauge data point, i.e. a single line for a gauge metric in Prometheus text format.
Immutable snapshot of a Gauge.
 
 
 
Example:
 
 
Handler for the /-/healthy endpoint
Histogram metric.
 
 
Immutable snapshot of a Histogram.
 
 
 
 
 
This class is an adapter for HTTP exchanges, implementing the PrometheusHttpExchange interface.
 
This inner class adapts a HttpServletRequest to a PrometheusHttpRequest.
 
This inner class adapts a HttpServletResponse to a PrometheusHttpResponse.
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.
 
POJO containing info on how to map a graphite metric to a prometheus one.
Common base class for all metrics.
 
Immutable container for metric metadata: name, help, unit.
Filter samples (i.e. time series) by name.
 
Handler for the /metrics endpoint
Base class for metric snapshots.
 
Immutable list of metric snapshots.
 
Properties starting with io.prometheus.metrics
 
Almost all metrics have fixed metadata, i.e. the metric name is known when the metric is created.
 
Like Collector, but collecting multiple Snapshots at once.
For iterating over NativeHistogramBuckets.
Immutable representation of native histogram buckets.
 
Write the OpenMetrics text format as defined on https://openmetrics.io.
This is exactly the same as the OpenTelemetrySpanContextSupplier.
 
 
 
 
Process metrics.
 
 
 
 
 
Initial example exporter so that we can try the new metrics library out.
This class extends HttpServlet to create a servlet for exporting Prometheus metrics.
Utility for Prometheus Metric and Label naming.
The Prometheus Java client library can be configured at runtime (e.g. using a properties file).
 
The Properties Loader is early stages.
Write the Prometheus protobuf format as defined in github.com/prometheus/client_model.
 
Prometheus scrape endpoint.
Infos extracted from the request received by the endpoint
 
Write the Prometheus text format.
 
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.
 
Bridge from simpleclient (version 0.16.0 and older) to the new prometheus-metrics (version 1.0.0 and newer).
 
Maintains a ring buffer of T to implement a sliding time window.
 
 
StateSet metric.
 
Represents a single StateSet data point.
Immutable snapshot of a StateSet metric.
 
 
 
 
Summary metric.
 
 
Immutable snapshot of a Summary metric.
 
 
 
Example:
 
 
 
Helper class for observing durations.
Convenience API for timing durations.
Some pre-defined units for convenience.
Immutable snapshot of an Unknown (Untyped) metric.