Top Description Interfaces Classes Enums
module io.opentelemetry.api

Package io.opentelemetry.api.common

Annotations
@ParametersAreNonnullByDefault
Imports
javax.annotation.ParametersAreNonnullByDefault

This package contains code common across the OpenTelemetry APIs, including io.opentelemetry.api.common.Attributes and classes/utilities for interacting with them.

Interface Summary

Modifier and TypeInterface and Description
public interface
AttributeKey<
The type of value that can be set with the key.
T
>

This interface provides a handle for setting the values of Attributes.

public interface
Attributes

An immutable container for attributes.

public interface
AttributesBuilder

A builder of Attributes supporting an arbitrary number of key-value pairs.

public interface
KeyValue

Key-value pair of String key and Value value.

public interface
Value<
the type. See getValue() for description of types.
T
>

Value mirrors the proto AnyValue message type, and is used to model any type.

Class Summary

Modifier and TypeClass and Description
pack-priv class
pack-priv class
pack-priv abstract class
pack-priv class
pack-priv class
pack-priv class
pack-priv class
pack-priv class
pack-priv class
pack-priv class

Enum Summary

Modifier and TypeEnum and Description
public enum
AttributeType

An enum that represents all the possible value types for an AttributeKey and hence the types of values that are allowed for Attributes.

public enum
ValueType

AnyValue type options, mirroring AnyValue#value options.