From 014be31a0ab5a9c4ce7f403841152c1568d999de Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Tue, 17 Dec 2019 14:49:28 +0300 Subject: [PATCH] network: fix link in pprof --- pkg/network/metrics/pprof.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/network/metrics/pprof.go b/pkg/network/metrics/pprof.go index 1e531a84e..10b77fd37 100644 --- a/pkg/network/metrics/pprof.go +++ b/pkg/network/metrics/pprof.go @@ -10,7 +10,7 @@ type PprofService Service // NewPprofService created new service for gathering pprof metrics. func NewPprofService(cfg Config) *Service { handler := http.NewServeMux() - handler.HandleFunc("/debug/pprof", pprof.Index) + handler.HandleFunc("/debug/pprof/", pprof.Index) handler.HandleFunc("/debug/pprof/cmdline", pprof.Cmdline) handler.HandleFunc("/debug/pprof/profile", pprof.Profile) handler.HandleFunc("/debug/pprof/symbol", pprof.Symbol)