Expand description
Command tracing for debugging and observability.
This module provides a lightweight per-command trace ring buffer that records:
- The command that was applied
- Pre and post state digests
- Events generated
- Context values used in decision-making
This enables debugging by observing “input command -> output events” per request.
Structs§
- Command
Timing - Timing breakdown for command processing.
- Command
Trace Record - A single command trace record capturing the full context of a command execution.
- Command
Trace Record Builder - Builder for creating CommandTraceRecord instances
- Command
Trace Store - Store for command trace records with a ring buffer implementation.
- Engine
State Digest - Deterministic digest of engine state for comparison.
- Symbol
Summary - Summary of a single symbol’s orderbook state.
Enums§
- Journal
Status - Journal status for a command trace record.
Constants§
- DEFAULT_
CAPACITY 🔒 - Default capacity for the command trace store ring buffer.