Capture execution traces of the last N seconds on-demand when your service detects anomalies, eliminating the need to sample or instrument production proactively.
Summary
Latency debugging in long-running services now shifts from probabilistic sampling (storage-heavy, requires fleet-wide infrastructure) to scalpel-precise snapshots triggered by your own error detection logic. You collect traces only for the problematic window, not days of data.
Why it matters
Latency debugging in long-running services now shifts from probabilistic sampling (storage-heavy, requires fleet-wide infrastructure) to scalpel-precise snapshots triggered by your own error detection logic. You collect traces only for the problematic window, not days of data.
Implementation verdict
Replaces manual trace.Start/Stop patterns and fleet-wide sampling strategies. Requires Go 1.25+, minimal config (MinAge, MaxBytes), and one function call to snapshot when needed. Ready to adopt now—no breaking changes, opt-in API, production-safe memory bounds.
Sources
Dev Signal
Get briefs like this in your inbox — free, 3x a week.
100+ sources compressed into one 4-minute read. Ranked, cited, implementation-ready.