Constants§
Statics§
- CAPTURE_
BUFFER - Global buffer of captured spans.
- CAPTURING
- Whether local span capture is enabled.
Functions§
- drain_
captured_ spans - Drain all captured spans from the buffer (takes ownership).
- get_
all_ captured_ spans - Returns a clone of all captured spans without draining.
- get_
captured_ spans_ by_ trace_ ids - Returns clones of spans matching the given trace_ids. Does NOT drain the buffer.
- is_
capturing - Returns
trueif local span capture is currently enabled.