Package io.opentelemetry.api.metrics
@ParametersAreNonnullByDefault
package io.opentelemetry.api.metrics
This package describes the Metrics API that can be used to record application Metrics.
-
ClassDescriptionA counter instrument that records
doublevalues with pre-associated attributes.A histogram instrument that recordslongvalues with pre-associated attributes.An up-down-counter instrument with pre-bound attributes.A counter instrument that recordslongvalues with pre-associated attributes.A histogram instrument that recordslongvalues with pre-associated attributes.An up-down-counter instrument with pre-bound attributes.A counter instrument that recordsdoublevalues.Builder class forDoubleCounter.A builder for Gauge metric types.A histogram instrument that recordslongvalues.Builder class forDoubleHistogram.An up-down-counter instrument that recordsdoublevalues.Builder class forDoubleUpDownCounter.This class is a temporary solution until metrics SDK is marked stable.A counter instrument that recordslongvalues.Builder class forLongCounter.A builder for Gauge metric types.A histogram instrument that recordslongvalues.Builder class forLongHistogram.An up-down-counter instrument that recordslongvalues.Builder class forLongUpDownCounter.Provides instruments used to produce metrics.Builder class for creatingMeterinstances.A registry for creating namedMeters.An interface for observing measurements withdoublevalues.An interface for observing measurements withlongvalues.A mechanism for observing measurments.