View Source otel_span_ets (opentelemetry v1.5.0)

ETS backed interface for working with spans.

Summary

Functions

Link to this function

add_event(SpanCtx, Name, Attributes)

View Source
-spec add_event(opentelemetry:span_ctx() | undefined,
          unicode:unicode_binary(),
          opentelemetry:attributes_map()) ->
             boolean().
Link to this function

add_events(Span_ctx, NewEvents)

View Source
-spec add_events(opentelemetry:span_ctx() | undefined, [opentelemetry:event()]) -> boolean().
Link to this function

end_span(SpanCtx, Timestamp)

View Source
-spec get_ctx(opentelemetry:span()) -> opentelemetry:span_ctx().
Link to this function

handle_call(Msg, From, State)

View Source
Link to this function

set_attribute(Span_ctx, Key, Value)

View Source
-spec set_attribute(opentelemetry:span_ctx() | undefined,
              opentelemetry:attribute_key(),
              opentelemetry:attribute_value()) ->
                 boolean().
Link to this function

set_attributes(Span_ctx, NewAttributes)

View Source
-spec set_attributes(opentelemetry:span_ctx() | undefined, opentelemetry:attributes_map()) -> boolean().
Link to this function

set_status(Span_ctx, Status)

View Source
-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_config(),
           fun(),
           otel_tracer_server:instrumentation_scope() | undefined) ->
              opentelemetry:span_ctx().
Start a span and insert into the active span ets table.
Link to this function

update_name(Span_ctx, Name)

View Source
-spec update_name(opentelemetry:span_ctx() | undefined, opentelemetry:span_name()) -> boolean().