1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
//! dial9 recording core: the event bus, recorder, and trace writer.
/// Declares an item `pub` under the `test-util` feature and `pub(crate)`
/// otherwise. Lets sibling-crate tests reach internals (batches, the collector,
/// raw encode/drain helpers) without putting them on the production public API.
pub use test_util_pub;
/// Shared boot identifier (`{4-alpha}-{pid}`) for segment namespacing + S3 keys.
/// Rotating trace-segment buffers: the on-disk and in-memory sinks.
/// Monotonic/realtime clock readings, the trace time base.
/// Central ring buffer of encoded event batches awaiting write.
/// User-provided custom events.
/// On-demand pipeline runs: trigger, request channel, and dump receipts.
/// Thread-local event encoding buffers and the `Encodable` trait.
/// Flush-thread loop. Driven by `Recorder`; not public API.
pub
/// Wire-format events emitted by the bus itself.
/// Writer↔worker filesystem/channel abstraction for trace segments.
pub
/// Cloneable handle for recording events and controlling telemetry.
/// Operational metrics for the core flush path.
pub
/// Segment payload buffer. `Payload` is part of the public API via [`pipeline`].
pub
/// `SegmentProcessor` trait and the data threaded through the pipeline.
/// Cfg-gated concurrency primitives (std / shuttle).
///
/// `pub` so sibling crates share one shuttle shim, but not part of the public
/// API.
/// Per-call-site rate limiting for log lines.
/// The recorder builder.
/// The live recorder: recording state with RAII shutdown.
/// Geometric/Poisson sampling primitives (RNG, exponential draws).
/// Dial9 conventions layered on top of trace schema annotations.
/// Sealed-segment detection. The segment types are public via [`pipeline`].
pub
test_util_pub!
/// `Source` trait: pluggable flush-thread data sources.
/// Test-only record/drain/write helpers.
/// Thread identity helpers.
/// Segment-processing worker: runs a `SegmentProcessor` pipeline over sealed segments.