opentelemetry_api v1.1.0
  • Pages
  • Modules

    View Source otel_tracer_noop (opentelemetry_api v1.1.0)

    Link to this section Summary

    Functions

    end_span(_, _)
    noop_span_ctx()
    start_span(Ctx, _, SpanName, _)
    with_span(Ctx, Tracer, SpanName, Opts, Fun)

    Link to this section Functions

    Link to this function

    end_span(_, _)

    View Source

    Specs

    end_span(opentelemetry:tracer(), opentelemetry:span_ctx()) -> boolean() | {error, term()}.
    Link to this function

    noop_span_ctx()

    View Source

    Specs

    noop_span_ctx() -> opentelemetry:span_ctx().
    Link to this function

    start_span(Ctx, _, SpanName, _)

    View Source

    Specs

    start_span(otel_ctx:t(),
               opentelemetry:tracer(),
               opentelemetry:span_name(),
               otel_span:start_opts()) ->
                  opentelemetry:span_ctx().
    Link to this function

    with_span(Ctx, Tracer, SpanName, Opts, Fun)

    View Source

    Specs

    with_span(otel_ctx:t(),
              opentelemetry:tracer(),
              opentelemetry:span_name(),
              otel_span:start_opts(),
              otel_tracer:traced_fun(T)) ->
                 T.

    Built using ExDoc (v0.28.0) for the Elixir programming language