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
double
values with pre-associated attributes.A histogram instrument that recordslong
values with pre-associated attributes.An up-down-counter instrument with pre-bound attributes.A counter instrument that recordslong
values with pre-associated attributes.A histogram instrument that recordslong
values with pre-associated attributes.An up-down-counter instrument with pre-bound attributes.A counter instrument that recordsdouble
values.Builder class forDoubleCounter
.A builder for Gauge metric types.A histogram instrument that recordslong
values.Builder class forDoubleHistogram
.An up-down-counter instrument that recordsdouble
values.Builder class forDoubleUpDownCounter
.This class is a temporary solution until metrics SDK is marked stable.A counter instrument that recordslong
values.Builder class forLongCounter
.A builder for Gauge metric types.A histogram instrument that recordslong
values.Builder class forLongHistogram
.An up-down-counter instrument that recordslong
values.Builder class forLongUpDownCounter
.Provides instruments used to produce metrics.Builder class for creatingMeter
instances.A registry for creating namedMeter
s.An interface for observing measurements withdouble
values.An interface for observing measurements withlong
values.A mechanism for observing measurments.