Package io.prometheus.metrics.core.metrics
package io.prometheus.metrics.core.metrics
-
ClassDescriptionMetrics support concurrent write and scrape operations.There are two kinds of metrics:
StatefulMetricandCallbackMetric.Algorithm solving the "Targeted Quantile Problem" as described in "Effective Computation of Biased Quantiles over Data Streams" by Cormode, Korn, Muthukrishnan, and Srivastava.Counter metric.Example:Gauge metric.Example:Histogram metric.Info metric.Common base class for all metrics.Almost all metrics have fixed metadata, i.e.MetricWithFixedMetadata.Builder<B extends MetricWithFixedMetadata.Builder<B,M>, M extends MetricWithFixedMetadata> Maintains a ring buffer of T to implement a sliding time window.StatefulMetric<D extends DataPoint, T extends D>There are two kinds of metrics: AStatefulMetricactively maintains its current values, e.g.StateSet metric.Summary metric.Example: