Module otel_ctx

Ctx is responsible for propagating values within a process that are associated with a particular Trace or set of Baggage.

Description

OpenTelemetry.Tracer and OpenTelemetry.Baggage handle updating the Context.

Data Types

key()

t()

token()

value()

Function Index

Function Details

attach/1

clear/0

detach/1

get_current/0

get_value/1

get_value/2

get_value/3

new/0

remove/1

set_value/2

set_value/3

text_map_extractor/2

text_map_extractor(Key, FromText) -> any()

text_map_extractor_fun/3

text_map_extractor_fun(TextMap, Key, FromText) -> any()

text_map_injector/2

text_map_injector(Key, ToText) -> any()

text_map_injector_fun/3

text_map_injector_fun(TextMap, Key, ToText) -> any()