Skip to content

Commit 5bfc246

Browse files
PMM-4712 add pprof (#151)
Co-authored-by: Roman Novikov <[email protected]>
1 parent 64023a6 commit 5bfc246

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/postgres_exporter/main.go

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ import (
1818
"net/http"
1919
"os"
2020

21+
_ "net/http/pprof"
22+
2123
"github.com/go-kit/log"
2224
"github.com/go-kit/log/level"
2325
"github.com/prometheus-community/postgres_exporter/collector"

0 commit comments

Comments
 (0)