Package org.apache.bookkeeper.stats.prometheus
A stats provider implementation based on {@link https://prometheus.io/}.
-
Class Summary Class Description DataSketchesOpStatsLogger OpStatsLogger implementation that uses DataSketches library to calculate the approximated latency quantiles.LongAdderCounter Counterimplementation based onLongAdder.PrometheusMetricsProvider A Prometheus basedStatsProviderimplementation.PrometheusServlet Servlet used to export metrics in prometheus text format.PrometheusStatsLogger APrometheusbasedStatsLoggerimplementation.PrometheusTextFormat Logic to write metrics in Prometheus text format.ScopeContext Holder for a scope and a set of associated labels.SimpleGauge<T extends java.lang.Number> AGaugeimplementation that forwards on the value supplier.ThreadScopedDataSketchesStatsLogger OpStatsLogger implementation that lazily registers OpStatsLoggers per thread with added labels for the threadpool/thresd name and thread no.ThreadScopedLongAdderCounter Counterimplementation that lazily registers LongAdderCounters per thread * with added labels for the threadpool/thread name and thread no.