The primary entry point to Metrics is the io.,
which allows the construction of a io.. Instrumentated
libraries should construct a single io. and register
`instruments` via the builders available on io..
There is a global instance of io. available for
scenarios where instrumentation authors are unable to obtain one by other means.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | BatchCallback
A reference to a batch callback registered via |
| public interface | DoubleCounter
A Counter instrument that records |
| public interface | DoubleCounterBuilder
Builder class for |
| public interface | DoubleGauge
A gauge instrument that synchronously records |
| public interface | DoubleGaugeBuilder
A builder for Gauge metric types. |
| public interface | DoubleHistogram
A Histogram instrument that records |
| public interface | DoubleHistogramBuilder
Builder class for |
| public interface | DoubleUpDownCounter
An UpDownCounter instrument that records |
| public interface | DoubleUpDownCounterBuilder
Builder class for |
| public interface | LongCounter
A Counter instrument that records |
| public interface | LongCounterBuilder
Builder class for |
| public interface | LongGauge
A gauge instrument that synchronously records |
| public interface | LongGaugeBuilder
A builder for Gauge metric types. |
| public interface | LongHistogram
A Histogram instrument that records |
| public interface | LongHistogramBuilder
Builder class for |
| public interface | LongUpDownCounter
An UpDownCounter instrument that records |
| public interface | LongUpDownCounterBuilder
Builder class for |
| public interface | Meter
Provides instruments used to record measurements which are aggregated to metrics. |
| public interface | MeterBuilder
Builder class for creating |
| public interface | MeterProvider
A registry for creating named |
| public interface | ObservableDoubleCounter
A reference to an observable instrument registered with |
| public interface | ObservableDoubleGauge
A reference to an observable instrument registered with |
| public interface | ObservableDoubleMeasurement
An interface for observing measurements with |
| public interface | ObservableDoubleUpDownCounter
A reference to an observable instrument registered with |
| public interface | ObservableLongCounter
A reference to an observable instrument registered with |
| public interface | ObservableLongGauge
A reference to an observable instrument registered with |
| public interface | ObservableLongMeasurement
An interface for observing measurements with |
| public interface | ObservableLongUpDownCounter
A reference to an observable metric registered with |
| public interface | ObservableMeasurement
Super interface for observing measurements. |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | DefaultMeter
No-op implementation of |
| pack-priv class | DefaultMeterProvider
A |