Troubleshooting
Profiling troubleshooting
Section titled “Profiling troubleshooting”Symptom
Section titled “Symptom”The /debug/pprof endpoint and goroutine leak HTTP collection are unavailable through Adder’s debug listener. This listener does not register HTTP pprof handlers.
Correction
Section titled “Correction”Use the benchmarks and profiling guide for supported local commands. The guide provides bounded Go test runs with -cpuprofile, -memprofile, and -trace, followed by analysis with go tool pprof and go tool trace.
Keep profile files in a private temporary directory because they can contain application data and file paths. The local commands invoke Go’s test profiler and open no network listener. Do not expose a profiling listener on a public interface.
Docs authored by Doc Holiday