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 ofAttributessupporting an arbitrary number of key-value pairs.An enum that represents all the possible value types for anAttributeKeyand hence the types of values that are allowed forAttributes.A singleton class representing an empty value, used as the generic type parameter forValuewhen representing empty values.Value<T>Value mirrors the proto AnyValue message type, and is used to model any type.AnyValue type options, mirroring AnyValue#value options.