View Source otel_ctx (opentelemetry_api v1.2.2)
OpenTelemetry.Tracer
and OpenTelemetry.Baggage
handle updating the Context.
Link to this section Summary
Link to this section Types
-type key() :: term().
-type t() :: map() | undefined.
-opaque token()
-type value() :: term().
Link to this section Functions
-spec clear() -> ok.
-spec detach(token()) -> ok.
-spec get_current() -> map().
-spec get_value(term()) -> eqwalizer:dynamic().
-spec get_value(term(), term()) -> eqwalizer:dynamic().
-spec get_value(t(), term(), term()) -> eqwalizer:dynamic().
-spec new() -> t().
-spec remove(term()) -> ok.
-spec set_value(term(), term()) -> ok.