Package org.apache.hadoop.metrics2.lib
@Public
@Evolving
package org.apache.hadoop.metrics2.lib
A collection of library classes for implementing metrics sources
-
ClassDescriptionExperimental interface to extend metrics dynamicallyThe default metrics system singleton.Helpers to create interned metrics info.Metrics annotation helpers.An optional metrics registry class for creating and maintaining a collection of MetricsMutables, making writing metrics source easier.Helper class to build
MetricsSourceobject from annotations.The mutable counter (monotonically increasing) metric interfaceA mutable int counter for implementing metrics sourcesA mutable long counterThe mutable gauge metric interfaceA mutable float gauge.A mutable int gaugeA mutable long gaugeWatches a stream of long values, maintaining online estimates of specific quantiles with provably low error bounds.The mutable metric interfaceWatches a stream of long values, maintaining online estimates of specific quantiles with provably low error bounds.A convenient mutable metric for throughput measurementHelper class to manage a group of mutable rate metrics This class synchronizes all accesses to the metrics it contains, so it should not be used in situations where there is high contention on the metrics.Helper class to manage a group of mutable rate metrics.This class maintains a group of rolling average metrics.A mutable metric with stats.Generates predictable and user-friendly unique names