View Source otel_span_ets (opentelemetry v1.3.0)
Link to this section Summary
Functions
Start a span and insert into the active span ets table.
Link to this section Functions
-spec add_event(opentelemetry:span_ctx() | undefined, unicode:unicode_binary(), opentelemetry:attributes_map()) -> boolean().
-spec add_events(opentelemetry:span_ctx() | undefined, [opentelemetry:event()]) -> boolean().
-spec get_ctx(opentelemetry:span()) -> opentelemetry:span_ctx().
-spec set_attribute(opentelemetry:span_ctx() | undefined,
opentelemetry:attribute_key(),
opentelemetry:attribute_value()) ->
boolean().
-spec set_attributes(opentelemetry:span_ctx() | undefined, opentelemetry:attributes_map()) -> boolean().
-spec set_status(opentelemetry:span_ctx() | undefined, opentelemetry:status()) -> boolean().
Link to this function
start_span(Ctx, Name, Sampler, IdGeneratorModule, Opts, Processors, InstrumentationScope)
View Source-spec start_span(otel_ctx:t(), opentelemetry:span_name(), otel_sampler:t(), otel_id_generator:t(), otel_span:start_opts(), fun(), otel_tracer_server:instrumentation_scope()) -> opentelemetry:span_ctx().
-spec update_name(opentelemetry:span_ctx() | undefined, opentelemetry:span_name()) -> boolean().