Closed swatson314159 closed 4 years ago
@swatson314159 thanks for reporting this. PTAL at https://github.com/felixge/fgprof/pull/2 and let me know if you think that's a good solution or not. : )
my full response is on your PR: https://github.com/felixge/fgprof/pull/2#pullrequestreview-440102418
Thank you for responding so soon!
Implemented in https://github.com/felixge/fgprof/pull/2 . Thanks for reporting this!
In my first test of fgprof I profiled my app by curling a remote host from another remote host where neither have go tools installed, copying the artifact local for analysis. I was expecting the pprof format as the default based on my reading of the quick start. It took a bit of digging through the source to find
guessFormat
in handler.go to figure out why I was getting text vs binary output. Your quick start guide is excellent, but a quick mention of the extra GET parameter somewhere on that first page would have saved me significant time.