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

Lines changed: 2 additions & 0 deletions
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)