Module net_span_tree

Module net_span_tree 

Source
Expand description

Transforms net events into pre-paired bandwidth spans

Structs§

NetSpanTreeBuilder
Builds net_spans rows from a stream of net events.

Constants§

ROOT_PARENT_SPAN_ID
Sentinel parent_span_id used for Connection roots and for any span whose parent is missing. Set to -1 so it can never collide with a real span_id (which is the per-event event_id, a non-negative offset within the stream).

Functions§

make_net_span_tree
Drives a NetSpanTreeBuilder across a contiguous group of net event blocks, stitching open spans across block boundaries.