Canonical guidance

Use when

Avoid

Preferred pattern

pprof.Lookup("goroutine").WriteTo(w, 2)

Anti-pattern

Explanation: This is tempting because restart restores service fastest, but it destroys the best debugging signal.

Why

Related pages

Sources