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.
- get_
spans_ grouped_ by_ scenario_ id - Two-pass buffer scan that groups all captured spans by
scouter.eval.scenario_id. - get_
trace_ ids_ by_ scenario_ ids - Returns the set of trace IDs for any captured span that carries a
scouter.eval.scenario_idattribute whose value matches one of the provided scenario IDs. - is_
capturing - Returns
trueif local span capture is currently enabled.