I ues pprof -http to generate profiling result all the time, but every time i need profile.pb.gz i need go to the http web to download it. what i did Is that anyway to generate profile.pb.gz with local binary,but no need to using pprof -http.
Asked
Active
Viewed 1,285 times
1 Answers
-1
Just use the following command to download a file directly
go tool pprof -proto source
You can also refer this documentation on how to use pprof tool differently according to your use case.

Kushagra Srivastava
- 381
- 3
- 7