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§
- Divergence
Entry - 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.
- Divergence
Log - Bounded ring buffer. Drops the oldest entry when full.