View Source otel_tracer_default (opentelemetry v1.5.0)

Summary

Functions

Link to this function

start_span(Ctx, _, Name, Opts)

View Source
-spec start_span(otel_ctx:t(),
           opentelemetry:tracer(),
           opentelemetry:span_name(),
           otel_span:start_config()) ->
              opentelemetry:span_ctx().
Starts an inactive Span and returns its SpanCtx.
Link to this function

with_span(Ctx, Tracer, SpanName, Opts, Fun)

View Source
-spec with_span(otel_ctx:t(),
          opentelemetry:tracer(),
          opentelemetry:span_name(),
          otel_span:start_config(),
          otel_tracer:traced_fun(T)) ->
             T.