start_opts() = #{attributes => opentelemetry:attributes_map(), links => [opentelemetry:link()], is_recording => boolean(), start_time => opentelemetry:timestamp(), kind => opentelemetry:span_kind()}
add_event(SpanCtx, Name, Attributes) -> boolean()
add_events(SpanCtx, Events) -> boolean()
end_span(SpanCtx, Timestamp) -> SpanCtx
hex_span_id(Span_ctx::opentelemetry:span_ctx()) -> opentelemetry:hex_span_id()
hex_trace_id(Span_ctx::opentelemetry:span_ctx()) -> opentelemetry:hex_trace_id()
is_valid_name(Name::any()) -> boolean()
process_attributes(Attributes::any()) -> opentelemetry:attributes_map()
record_exception(SpanCtx, Class, Term, Stacktrace, Attributes) -> boolean()
record_exception(SpanCtx, Class, Term, Message, Stacktrace, Attributes) -> boolean()
set_attribute(SpanCtx, Key, Value) -> boolean()
set_attributes(SpanCtx, Attributes) -> boolean()
set_status(SpanCtx, Status) -> boolean()
span_id(Span_ctx::opentelemetry:span_ctx()) -> opentelemetry:span_id()
trace_id(Span_ctx::opentelemetry:span_ctx()) -> opentelemetry:trace_id()
tracestate(Span_ctx::opentelemetry:span_ctx() | undefined) -> opentelemetry:tracestate()
update_name(SpanCtx, Name) -> boolean()
validate_start_opts(Opts::start_opts()) -> start_opts()
Generated by EDoc