Skip to main content

Module telemetry_replay

Module telemetry_replay 

Source
Expand description

Chunk local OutboundEvent vectors into IngestExportBatch for telemetry replay (exporter fan-out only). Packing mirrors crate::sync::engine outbox batch limits.

Functionsยง

chunk_events_into_ingest_batches
Split redacted events into Events batches using events_per_batch_max and max_body_bytes.
chunk_tool_spans_into_ingest_batches
Same packing rules as chunk_events_into_ingest_batches but over OutboundToolSpan rows. Keeps the per-batch limits identical so exporters see consistent shapes regardless of payload kind.