mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-06 00:25:55 +00:00
add http trace profiling
This commit is contained in:
parent
edce8c537c
commit
07a815eb55
1 changed files with 2 additions and 0 deletions
|
|
@ -59,6 +59,8 @@ func (h *Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
pprof.Profile(w, r)
|
||||
case "/debug/pprof/symbol":
|
||||
pprof.Symbol(w, r)
|
||||
case "/debug/pprof/trace":
|
||||
pprof.Trace(w, r)
|
||||
default:
|
||||
pprof.Index(w, r)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue