We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Below is my code using the fgtrace:
go func() { http.DefaultServeMux.Handle("/debug/fgprof", fgprof.Handler()) http.DefaultServeMux.Handle("/debug/fgtrace", fgtrace.Config{}) logger.Error("pprof server error", "err", http.ListenAndServe("0.0.0.0:1234", nil)) }()
curl get fgtrace file, I specified a trace time of 120s :
curl -o fgtrace.json http://localhost:1234/debug/fgtrace?seconds=120
but it returned the file immediately.So, Is there any configuration I need to modify?
The text was updated successfully, but these errors were encountered:
Confirmed this is a bug. I screwed up some stuff while refactoring 🤦. Will fix.
Sorry, something went wrong.
Merge pull request #5 from felixge/gh-3-fix-http
f46702d
fix: ServeHTTP was broken after refactor
Fixed by f46702d - will cut a new release now. Sorry about this.
No branches or pull requests
Below is my code using the fgtrace:
curl get fgtrace file, I specified a trace time of 120s :
but it returned the file immediately.So, Is there any configuration I need to modify?
The text was updated successfully, but these errors were encountered: