From 0819ef9b9ad1ce90256a5f27f806e62312942b42 Mon Sep 17 00:00:00 2001 From: Yoann La Cancellera Date: Tue, 19 Sep 2023 12:32:15 +0200 Subject: [PATCH] PMM-4712 add pprof --- cmd/postgres_exporter/main.go | 2 ++ 1 file changed, 2 insertions(+) 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"