Behaviours: gen_server.
add_event/3 | |
add_events/2 | |
end_span/1 | |
end_span/2 | End a span based on its context and send to reporter. |
get_ctx/1 | |
handle_call/3 | |
handle_cast/2 | |
init/1 | |
set_attribute/3 | |
set_attributes/2 | |
set_status/2 | |
start_link/1 | |
start_span/5 | Start a span and insert into the active span ets table. |
update_name/2 |
add_event(SpanCtx::opentelemetry:span_ctx(), Name::unicode:unicode_binary(), Attributes::opentelemetry:attributes()) -> boolean()
add_events(Span_ctx::opentelemetry:span_ctx(), NewEvents::opentelemetry:events()) -> boolean()
end_span(SpanCtx) -> any()
end_span(Span_ctx::opentelemetry:span_ctx(), Processors::function()) -> boolean() | {error, term()}
End a span based on its context and send to reporter.
get_ctx(Span::opentelemetry:span()) -> opentelemetry:span_ctx()
handle_call(Msg, From, State) -> any()
handle_cast(Msg, State) -> any()
init(Opts) -> any()
set_attribute(Span_ctx::opentelemetry:span_ctx(), Key::opentelemetry:attribute_key(), Value::opentelemetry:attribute_value()) -> boolean()
set_attributes(Span_ctx::opentelemetry:span_ctx(), NewAttributes::opentelemetry:attributes()) -> boolean()
set_status(Span_ctx::opentelemetry:span_ctx(), Status::opentelemetry:status()) -> boolean()
start_link(Opts) -> any()
start_span(Ctx::otel_ctx:t(), Name::opentelemetry:span_name(), Opts::otel_span:start_opts(), Processors::function(), InstrumentationLibrary::otel_tracer_server:instrumentation_library()) -> opentelemetry:span_ctx()
Start a span and insert into the active span ets table.
update_name(Span_ctx::opentelemetry:span_ctx(), Name::opentelemetry:span_name()) -> boolean()
Generated by EDoc