Module otel_span_utils

Functional interface for span_ctx and span records.

Description

Functional interface for span_ctx and span records.

Function Index

end_span/1 Set the end time for a span if it hasn't been set before.
start_span/3

Function Details

end_span/1

end_span(Span::opentelemetry:span()) -> opentelemetry:span()

Set the end time for a span if it hasn't been set before.

start_span/3

start_span(Ctx::otel_ctx:t(), Name::opentelemetry:span_name(), Opts::otel_span:start_opts()) -> {opentelemetry:span_ctx(), opentelemetry:span() | undefined}


Generated by EDoc