opentelemetry_api
  • Pages
  • Modules
  • OpenTelemetry
    • Sections
      • Example
    • Summary
    • Types
      • attribute_key/0
      • attribute_value/0
      • attributes_map/0
      • event/0
      • event_name/0
      • link/0
      • span/0
      • span_ctx/0
      • span_id/0
      • span_kind/0
      • span_name/0
      • status/0
      • status_code/0
      • trace_id/0
      • tracestate/0
    • Functions
      • convert_timestamp/2
      • event/2
      • event/3
      • events/1
      • get_tracer/1
      • get_tracer/3
      • link/1
      • link/2
      • link/4
      • links/1
      • set_default_tracer/1
      • status/1
      • status/2
      • timestamp/0
      • timestamp_to_nano/1
  • OpenTelemetry.Baggage
    • Summary
    • Functions
      • clear/0
      • clear/1
      • get_all/0
      • get_all/1
      • set/1
      • set/2
      • set/3
      • set/4
  • OpenTelemetry.Ctx
    • Summary
    • Types
      • t/0
    • Functions
      • attach/1
      • clear/0
      • detach/1
      • get_current/0
      • get_value/2
      • get_value/3
      • new/0
      • remove/1
      • set_value/2
      • set_value/3
  • OpenTelemetry.Span
    • Summary
    • Types
      • start_opts/0
    • Functions
      • add_event/3
      • add_events/2
      • end_span/1
      • end_span/2
      • hex_span_id/1
      • hex_trace_id/1
      • is_recording/1
      • is_valid/1
      • record_exception/4
      • set_attribute/3
      • set_attributes/2
      • set_status/2
      • span_id/1
      • trace_id/1
      • tracestate/1
      • update_name/2
  • OpenTelemetry.Tracer
    • Summary
    • Functions
      • add_event/2
      • add_events/1
      • current_span_ctx/0
      • current_span_ctx/1
      • end_span/1
      • set_attribute/2
      • set_attributes/1
      • set_current_span/1
      • set_current_span/2
      • set_status/1
      • set_status/2
      • start_span/2
      • start_span/3
      • update_name/1
      • with_span/3
      • with_span/4
  • opentelemetry
    • Summary
    • Types
      • attribute/0
      • attribute_key/0
      • attribute_value/0
      • attributes_map/0
      • event/0
      • event_name/0
      • hex_span_id/0
      • hex_trace_id/0
      • instrumentation_library/0
      • link/0
      • resource/0
      • span/0
      • span_ctx/0
      • span_id/0
      • span_kind/0
      • span_name/0
      • status/0
      • status_code/0
      • text_map/0
      • timestamp/0
      • trace_flags/0
      • trace_id/0
      • tracer/0
      • tracestate/0
    • Functions
      • convert_timestamp/2
      • create_application_tracers/1
      • event/2
      • event/3
      • events/1
      • get_application/1
      • get_application_tracer/1
      • get_text_map_extractor/0
      • get_text_map_injector/0
      • get_tracer/0
      • get_tracer/1
      • get_tracer/3
      • instrumentation_library/3
      • link/1
      • link/2
      • link/4
      • links/1
      • set_default_tracer/1
      • set_text_map_extractor/1
      • set_text_map_injector/1
      • set_text_map_propagator/1
      • set_tracer/2
      • status/1
      • status/2
      • timestamp/0
      • timestamp_to_nano/1
      • verify_and_set_term/3
  • otel_baggage
    • Summary
    • Types
      • key/0
      • metadata/0
      • t/0
      • value/0
    • Functions
      • clear/0
      • clear/1
      • get_all/0
      • get_all/1
      • set/1
      • set/2
      • set/3
      • set/4
  • otel_ctx
    • Summary
    • Types
      • key/0
      • t/0
      • token/0
      • value/0
    • Functions
      • attach/1
      • clear/0
      • clear/1
      • detach/1
      • get_current/0
      • get_value/1
      • get_value/2
      • get_value/3
      • new/0
      • remove/1
      • remove/2
      • set_value/2
      • set_value/3
      • text_map_extractor/2
      • text_map_extractor_fun/3
      • text_map_injector/2
      • text_map_injector_fun/3
  • otel_propagator
    • Summary
    • Types
      • builtin/0
      • carrier/0
      • t/0
    • Callbacks
      • extract/2
      • extract_to/3
      • inject/2
      • inject_from/3
    • Functions
      • builtin_to_module/1
      • builtins_to_modules/1
  • otel_propagator_b3
    • Summary
    • Functions
      • extract/5
      • fields/1
      • inject/4
  • otel_propagator_b3multi
    • Summary
    • Functions
      • extract/5
      • fields/1
      • inject/4
  • otel_propagator_b3single
    • Summary
    • Functions
      • extract/5
      • fields/1
      • inject/4
  • otel_propagator_baggage
    • Summary
    • Functions
      • extract/5
      • fields/1
      • inject/4
  • otel_propagator_text_map
    • Summary
    • Types
      • carrier_get/0
      • carrier_keys/0
      • carrier_set/0
      • default_text_map_carrier/0
      • field_key/0
      • field_value/0
      • propagator_options/0
      • t/0
    • Callbacks
      • extract/5
      • fields/1
      • inject/4
    • Functions
      • default_carrier_get/2
      • default_carrier_keys/1
      • default_carrier_set/3
      • extract/1
      • extract/2
      • extract/4
      • extract_to/2
      • extract_to/3
      • extract_to/5
      • fields/1
      • inject/1
      • inject/2
      • inject/3
      • inject_from/2
      • inject_from/3
      • inject_from/4
  • otel_propagator_text_map_composite
    • Summary
    • Functions
      • create/1
      • extract/5
      • fields/1
      • inject/4
      • report_cb/1
  • otel_propagator_text_map_noop
    • Summary
    • Functions
      • extract/5
      • fields/1
      • inject/4
  • otel_propagator_trace_context
    • Summary
    • Functions
      • extract/5
      • fields/1
      • inject/4
  • otel_span
    • Summary
    • Types
      • start_opts/0
    • Functions
      • add_event/3
      • add_events/2
      • end_span/1
      • end_span/2
      • hex_span_id/1
      • hex_trace_id/1
      • is_recording/1
      • is_valid/1
      • is_valid_name/1
      • process_attributes/1
      • record_exception/5
      • record_exception/6
      • set_attribute/3
      • set_attributes/2
      • set_status/2
      • set_status/3
      • span_id/1
      • trace_id/1
      • tracestate/1
      • update_name/2
      • validate_start_opts/1
  • otel_tracer
    • Summary
    • Types
      • traced_fun/1
    • Callbacks
      • start_span/4
      • with_span/5
    • Functions
      • current_span_ctx/0
      • current_span_ctx/1
      • from_remote_span/3
      • non_recording_span/3
      • set_current_span/1
      • set_current_span/2
      • start_span/3
      • start_span/4
      • with_span/4
      • with_span/5
  • otel_tracer_noop
    • Summary
    • Functions
      • end_span/2
      • noop_span_ctx/0
      • start_span/4
      • with_span/5
  • otel_tracer_provider
    • Summary
    • Functions
      • force_flush/0
      • force_flush/1
      • get_tracer/3
      • resource/0
      • resource/1
  • otel_utils
    • Summary
    • Functions
      • format_exception/3

View Source otel_tracer_noop (opentelemetry_api v1.0.3)

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