1
0
mirror of https://github.com/prometheus-community/postgres_exporter.git synced 2025-10-31 09:10:25 +03:00

Enable pprof (#1212)

Add the pprof package to allow debug profiling.

Related: https://github.com/prometheus-community/postgres_exporter/issues/1189

Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
Ben Kochie
2025-10-21 15:02:15 +02:00
committed by GitHub
parent 00b76dfa6a
commit 37171f7741

View File

@@ -16,6 +16,7 @@ package main
import (
"fmt"
"net/http"
_ "net/http/pprof"
"os"
"strings"