Package io.opentelemetry.api.common
@ParametersAreNonnullByDefault
package io.opentelemetry.api.common
This package contains code common across the OpenTelemetry APIs, including
Attributes
and classes/utilities for interacting with them.-
ClassDescriptionAttributeKey<T>This interface provides a handle for setting the values of
Attributes
.An immutable container for attributes.A builder ofAttributes
supporting an arbitrary number of key-value pairs.An enum that represents all the possible value types for anAttributeKey
and hence the types of values that are allowed forAttributes
.Value<T>Value mirrors the proto AnyValue message type, and is used to model any type.AnyValue type options, mirroring AnyValue#value options.