View Source otel_baggage (opentelemetry_api v1.0.3)

Baggage is used to annotate telemetry, adding context and information to metrics, traces, and logs. It is represented by a set of name/value pairs describing user-defined properties.

Link to this section Summary

Link to this section Types

Link to this section Functions

Specs

clear() -> ok.

Specs

clear(otel_ctx:t()) -> otel_ctx:t().

Specs

get_all() -> t().

Specs

get_all(otel_ctx:t()) -> t().

Specs

set(#{key() => value()} | [{key(), value()}]) -> ok.

Specs

set(otel_ctx:t() | key() | unicode:charlist(), #{key() => value()} | [{key(), value()}] | value()) ->
       otel_ctx:t().
Link to this function

set(Key, Value, Metadata)

View Source

Specs

set(otel_ctx:t() | key(), key() | value(), value() | list()) -> ok | otel_ctx:t().
Link to this function

set(Ctx, Key, Value, Metadata)

View Source

Specs

set(otel_ctx:t(), key(), value(), metadata()) -> otel_ctx:t().