@ParametersAreNonnullByDefault
Package io.opentelemetry.api.metrics
This package describes the Metrics API that can be used to record application Metrics.
-
Interface Summary Interface Description BoundDoubleCounter A counter instrument that recordsdoublevalues with pre-associated attributes.BoundDoubleHistogram A histogram instrument that recordslongvalues with pre-associated attributes.BoundDoubleUpDownCounter An up-down-counter instrument with pre-bound attributes.BoundLongCounter A counter instrument that recordslongvalues with pre-associated attributes.BoundLongHistogram A histogram instrument that recordslongvalues with pre-associated attributes.BoundLongUpDownCounter An up-down-counter instrument with pre-bound attributes.DoubleCounter A counter instrument that recordsdoublevalues.DoubleCounterBuilder Builder class forDoubleCounter.DoubleGaugeBuilder A builder for Gauge metric types.DoubleHistogram A histogram instrument that recordslongvalues.DoubleHistogramBuilder Builder class forDoubleHistogram.DoubleUpDownCounter An up-down-counter instrument that recordsdoublevalues.DoubleUpDownCounterBuilder Builder class forDoubleUpDownCounter.LongCounter A counter instrument that recordslongvalues.LongCounterBuilder Builder class forLongCounter.LongGaugeBuilder A builder for Gauge metric types.LongHistogram A histogram instrument that recordslongvalues.LongHistogramBuilder Builder class forLongHistogram.LongUpDownCounter An up-down-counter instrument that recordslongvalues.LongUpDownCounterBuilder Builder class forLongUpDownCounter.Meter Provides instruments used to produce metrics.MeterBuilder Builder class for creatingMeterinstances.MeterProvider A registry for creating namedMeters.ObservableDoubleMeasurement An interface for observing measurements withdoublevalues.ObservableLongMeasurement An interface for observing measurements withlongvalues.ObservableMeasurement A mechanism for observing measurments. -
Class Summary Class Description GlobalMeterProvider This class is a temporary solution until metrics SDK is marked stable.