Go 1.25’s flight recorder keeps a recent execution trace in a low-overhead ring buffer. A trigger captures scheduling and blocking events around a problem.
Unlike storing a full trace indefinitely, new events overwrite old ones. Choose capture triggers and buffer length so the lead-up to a failure remains available.
When to use
Use it to investigate intermittent concurrency latency or goroutine stalls.