Module otel_tracer_default

Behaviours: otel_tracer.

Function Index

b3_propagators/0
start_span/3Creates a Span and sets it to the current active Span in the process's Tracer Context.
start_span/4Starts an inactive Span and returns its SpanCtx.
w3c_propagators/0
with_span/3
with_span/4

Function Details

b3_propagators/0

b3_propagators() -> {otel_propagator:text_map_extractor(), otel_propagator:text_map_injector()}

start_span/3

start_span(Tracer::opentelemetry:tracer(), Name::opentelemetry:span_name(), Opts::otel_span:start_opts()) -> opentelemetry:span_ctx()

Creates a Span and sets it to the current active Span in the process's Tracer Context.

start_span/4

start_span(Ctx::otel_ctx:t(), Tracer::opentelemetry:tracer(), Name::opentelemetry:span_name(), Opts::otel_span:start_opts()) -> {opentelemetry:span_ctx(), otel_ctx:t()}

Starts an inactive Span and returns its SpanCtx.

w3c_propagators/0

w3c_propagators() -> {otel_propagator:text_map_extractor(), otel_propagator:text_map_injector()}

with_span/3

with_span(Tracer::opentelemetry:tracer(), SpanName::opentelemetry:span_name(), Fun::otel_tracer:traced_fun()) -> ok

with_span/4

with_span(Tracer::opentelemetry:tracer(), SpanName::opentelemetry:span_name(), Opts::otel_span:start_opts(), Fun::otel_tracer:traced_fun(T)) -> T


Generated by EDoc