vmsilo/vm-switch
Davíð Steinn Geirsson e9288236fe refactor(vm-switch): separate TX/RX metrics for producer/consumer clarity
The old metrics structure conflated producer-side and consumer-side data
into a single "egress" map, making fields like codel_drops (always 0 on
producer side) confusing and hiding consumer-side sojourn, flows, and
queue depth entirely. Replace PeerMetrics with TxPeerMetrics (per-dest
DRR stats), RxSourceMetrics (per-source drop attribution + ring transit),
and RxMetrics (consumer FQ-CoDel aggregate with sojourn, flows, queue
depth). Rename egress→tx, add rx section, rename fq_sojourn→drr_sojourn
and sojourn→ring_transit for self-documenting JSON output.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 15:59:21 +00:00
..
src refactor(vm-switch): separate TX/RX metrics for producer/consumer clarity 2026-02-14 15:59:21 +00:00
tests test(vm-switch): add consumer-side FQ-CoDel tests and fix formatting (Phase 5) 2026-02-14 15:59:21 +00:00
.gitignore Add vm-switch daemon for VM-to-VM networking 2026-02-07 15:58:26 +00:00
Cargo.lock vm-switch: Add metrics types for bufferbloat analysis 2026-02-11 21:53:33 +00:00
Cargo.toml chore: remove dead code, fix MAC generation bug, update docs 2026-02-13 20:26:33 +00:00