Skip to main content

Module context

Module context 

Source
Expand description

Trace context ingestion and the exchange join buffer (spec 028, 3.7): bounded tables, entries removed on delivery, on abandon or after their time to live by the sink’s monotonic clock.

Structs§

Context
One registered decision (3.7.1).
ContextTable
The bounded table of registered decisions.
JoinBuffer
Exchange records waiting for their decision (3.7.3), keyed by attempt id, and a bounded memory of attempts already exported so a late record is counted at once.
TraceParent
A parsed W3C traceparent (version 00 layout; a later version is read by its first four fields, as the W3C specification requires).

Enums§

Joined
What JoinBuffer::insert did with a record.

Constants§

EXPORTED_MEMORY
Attempt ids remembered as exported, at least (the buffer’s own bound when larger): a record for one of them is exchange_unjoined at once.

Functions§

parse_traceparent
Parse a traceparent. None when it does not parse, has version ff, or has an all-zero trace or parent id (3.7.1).