diff --git a/pkg/metrics/server.go b/pkg/metrics/server.go index 8fe5ddf..5979d3b 100644 --- a/pkg/metrics/server.go +++ b/pkg/metrics/server.go @@ -89,11 +89,11 @@ func New(addr string) *Server { r := router.New() r.GET("/metrics", fasthttpadaptor.NewFastHTTPHandler(promhttp.Handler())) - r.GET("/debug/pprof/", fasthttpadaptor.NewFastHTTPHandlerFunc(pprof.Index)) r.GET("/debug/pprof/cmdline", fasthttpadaptor.NewFastHTTPHandlerFunc(pprof.Cmdline)) - r.GET("/debug/pprof/profile", fasthttpadaptor.NewFastHTTPHandlerFunc(pprof.Profile)) r.GET("/debug/pprof/symbol", fasthttpadaptor.NewFastHTTPHandlerFunc(pprof.Symbol)) r.GET("/debug/pprof/trace", fasthttpadaptor.NewFastHTTPHandlerFunc(pprof.Trace)) + r.GET("/debug/pprof/profile", fasthttpadaptor.NewFastHTTPHandlerFunc(pprof.Profile)) + r.GET("/debug/pprof/{path:*}", fasthttpadaptor.NewFastHTTPHandlerFunc(pprof.Index)) return &Server{ listen: addr,