Skip to content

Commit 37171f7

Browse files
authored
Enable pprof (#1212)
Add the pprof package to allow debug profiling. Related: #1189 Signed-off-by: SuperQ <[email protected]>
1 parent 00b76df commit 37171f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/postgres_exporter/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ package main
1616
import (
1717
"fmt"
1818
"net/http"
19+
_ "net/http/pprof"
1920
"os"
2021
"strings"
2122

0 commit comments

Comments
 (0)