Expand description
Events reprensenting units of code execution
Structs§
- Begin
Async Named Span Event - Begin
Async Span Event - Begin
Thread Named Span Event - Begin
Thread Span Event - EndAsync
Named Span Event - EndAsync
Span Event - EndThread
Named Span Event - EndThread
Span Event - Instrumented
Future - A wrapper that instruments a future with async span tracing
- Instrumented
Named Future - A wrapper that instruments a future with named async span tracing
- Span
Context Future - A future wrapper that establishes a span context on every poll.
- Span
Location - Span
Location Record - Span
Metadata - Span
Record - Thread
Deps Queue - Thread
Event Queue
Enums§
Traits§
- Instrument
Future - Trait for adding instrumentation to futures
- Thread
Deps Queue Type Index - Thread
Event Queue Type Index
Functions§
- current_
span_ id - Returns the current span ID from the async call stack. Returns 0 (root) if no span is active.
- spawn_
with_ context - Spawns a future on the tokio runtime while preserving the current span context.