Module otel_tracer

This module defines the otel_tracer behaviour. Required callback functions: start_span/3, start_span/4, with_span/3, with_span/4.

Data Types

traced_fun()

tracer_ctx()

Function Index

Function Details

add_event/2

add_events/1

current_span_ctx/0

current_span_ctx/1

end_span/0

non_recording_span/3

Returns a span_ctx record with is_recording set to false. This is mainly for use in propagators when they extract a Span to be used as a parent.

set_attribute/2

set_attributes/1

set_current_span/1

set_current_span/2

set_status/1

start_span/3

start_span/4

text_map_propagators/1

update_name/1

with_span/3

with_span/4