diff --git a/internal/debug/flags.go b/internal/debug/flags.go index b9fc2a9f81..1f181bf8b0 100644 --- a/internal/debug/flags.go +++ b/internal/debug/flags.go @@ -129,8 +129,8 @@ func Setup(ctx *cli.Context) error { // pprof server if ctx.GlobalBool(pprofFlag.Name) { - // Hook go-metrics into expvar - // on any /debug/metrics request, load all vars from the registry into expvar, and execute regular expvar handler + // Hook go-metrics into expvar on any /debug/metrics request, load all vars + // from the registry into expvar, and execute regular expvar handler. exp.Exp(metrics.DefaultRegistry) address := fmt.Sprintf("%s:%d", ctx.GlobalString(pprofAddrFlag.Name), ctx.GlobalInt(pprofPortFlag.Name))