View Source otel_ctx (opentelemetry_api v1.0.3)
OpenTelemetry.Tracer
and OpenTelemetry.Baggage
handle updating the Context.
Link to this section Summary
Link to this section Types
Specs
key() :: term().
Specs
t() :: map().
Specs
token() :: term().
Specs
value() :: term().
Link to this section Functions
Specs
attach(map()) -> token().
Specs
clear() -> ok.
Specs
Specs
detach(token()) -> ok.
Specs
get_current() -> map().
Specs
get_value(term()) -> term().
Specs
get_value(term(), term()) -> term().
Specs
get_value(t(), term(), term()) -> term().
Specs
new() -> t().
Specs
remove(term()) -> ok.
Specs
Specs
set_value(term(), term()) -> ok.
Specs
set_value(t(), term(), term()) -> map().