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