🛈 Note: This is pre-release documentation for the upcoming tracing 0.2.0 ecosystem.

For the release documentation, please see docs.rs, instead.

Module tracing_core::span

source ·
Expand description

Spans represent periods of time in the execution of a program.


  • Attributes provided to a collector describing a new span when it is created.
  • Indicates what the collector considers the “current” span.
  • Identifies a span within the context of a collector.
  • A set of fields recorded by a span.