otel_ctx (opentelemetry_api v1.0.0-rc.2)
OpenTelemetry.Tracer
and OpenTelemetry.Baggage
handle updating the Context.
Link to this section Summary
Link to this section Types
Link to this type
key/0
Specs
key() :: term().
Specs
t() :: map().
Link to this type
token/0
Specs
token() :: term().
Link to this type
value/0
Specs
value() :: term().
Link to this section Functions
Link to this function
attach(Ctx)
Specs
attach(map()) -> token().
Link to this function
clear()
Specs
clear() -> ok.
Link to this function
clear(_)
Specs
clear(t()) -> t().
Link to this function
detach(Token)
Specs
detach(token()) -> ok.
Link to this function
get_current()
Specs
get_current() -> map().
Link to this function
get_value(Key)
Specs
get_value(term()) -> term().
Link to this function
get_value(Key, Default)
Specs
get_value(term(), term()) -> term().
Link to this function
get_value(Ctx, Key, Default)
Specs
get_value(t(), term(), term()) -> term().
Link to this function
new()
Specs
new() -> t().
Link to this function
remove(Key)
Specs
remove(term()) -> ok.
Link to this function
remove(Ctx, Key)
Specs
remove(t(), term()) -> t().
Link to this function
set_value(Key, Value)
Specs
set_value(term(), term()) -> ok.
Link to this function
set_value(Ctx, Key, Value)
Specs
set_value(t(), term(), term()) -> map().
Link to this function
text_map_extractor(Key, FromText)
Link to this function
text_map_extractor_fun(TextMap, Key, FromText)
Link to this function
text_map_injector(Key, ToText)
Link to this function