Skip to main content

Module log

Module log 

Source
Expand description

Bounded ring buffer for divergence records.

Real production telemetry should ship divergences to your tracing / metrics pipeline. This in-process log is for tests and for operators poking at a live process via an admin endpoint.

Structs§

DivergenceEntry
One log entry: the input that produced the divergence + the divergence itself. We don’t store the full responses — that’s potentially a lot of memory.
DivergenceLog
Bounded ring buffer. Drops the oldest entry when full.