diff --git a/cmd/telegraf/pprof.go b/cmd/telegraf/pprof.go index 208c31bd2f0c1..60d217fe91957 100644 --- a/cmd/telegraf/pprof.go +++ b/cmd/telegraf/pprof.go @@ -3,6 +3,7 @@ package main import ( "log" "net/http" + _ "net/http/pprof" //nolint:gosec // Import for pprof, only enabled via CLI flag "strings" "time" )