View Source API Reference opentelemetry_api v1.4.0

Modules

An OpenTelemetry Trace consists of 1 or more Spans that either have a parent/child relationship or are linked together through a Link. Each Span has a TraceId (trace_id/0), SpanId (span_id/0), and a start and end time in nanoseconds.

Baggage is used to annotate telemetry, adding context and information to metrics, traces, and logs. It is represented by a set of name/value pairs describing user-defined properties.

Ctx is responsible for propagating values within a process that are associated with a particular Trace or set of Baggage. OpenTelemetry.Tracer and OpenTelemetry.Baggage handle updating the Context.

This module contains macros for Span operations that update the active current Span in the current process. An example of creating an Event and adding it to the current Span

This module contains macros for Tracer operations around the lifecycle of the Spans within a Trace.