@ParametersAreNonnullByDefault
Package io.opentelemetry.api.common
This package contains code common across the OpenTelemetry APIs, including
Attributes
and classes/utilities for interacting with them.-
Interface Summary Interface Description AttributeKey<T> This interface provides a handle for setting the values ofAttributes
.Attributes An immutable container for attributes.AttributesBuilder A builder ofAttributes
supporting an arbitrary number of key-value pairs.KeyValue Key-value pair ofString
key andValue
value.Value<T> Value mirrors the proto AnyValue message type, and is used to model any type. -
Class Summary Class Description ArrayBackedAttributes ArrayBackedAttributesBuilder AutoValue_KeyValueImpl KeyValueImpl KeyValueList ValueArray ValueBoolean ValueBytes ValueDouble ValueLong ValueString -
Enum Summary Enum Description AttributeType An enum that represents all the possible value types for anAttributeKey
and hence the types of values that are allowed forAttributes
.ValueType AnyValue type options, mirroring AnyValue#value options.