-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
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?
felixge
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working