diff --git a/cmd/postgres_exporter/main.go b/cmd/postgres_exporter/main.go index 5d67fecd4..0205a25c2 100644 --- a/cmd/postgres_exporter/main.go +++ b/cmd/postgres_exporter/main.go @@ -18,6 +18,8 @@ import ( "net/http" "os" + _ "net/http/pprof" + "github.com/go-kit/log" "github.com/go-kit/log/level" "github.com/prometheus-community/postgres_exporter/collector"