NOTE

Go Runtime Trace

Tracing goroutine scheduling, blocking, GC, network/syscall events, and runtime execution over time.

GoCreated Updated 1 min readhistorical

This is a historical learning note and may contain outdated or incomplete understanding.

Go runtime tracing records time-ordered execution events such as goroutine creation/scheduling, blocking/unblocking, GC activity, and other runtime events. It complements CPU/heap profiles by showing when concurrency and scheduler events happened.

Tracing has overhead and can produce substantial data, so capture focused intervals. Use it when latency or throughput problems involve scheduler contention, blocking, goroutine coordination, or GC timing that aggregate profiles cannot explain.

Loading helpful count