[][src]Module opentelemetry::sdk::trace::span

Span

Spans represent a single operation within a trace. Spans can be nested to form a trace tree. Each trace contains a root span, which typically describes the end-to-end latency and, optionally, one or more sub-spans for its sub-operations.

The Span's start and end timestamps reflect the elapsed real time of the operation. A Span's start time is set to the current time on span creation. After the Span is created, it is possible to change its name, set its Attributes, and add Links and Events. These cannot be changed after the Span's end time has been set.

Structs

Span

Single operation within a trace.