From 22387343a4f6317df0e641f6df5401545b95b488 Mon Sep 17 00:00:00 2001 From: Leopold Schabel Date: Fri, 31 Jan 2020 11:32:14 +0100 Subject: [PATCH] Add pprof handler --- cmd/chainlink_exporter/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/chainlink_exporter/main.go b/cmd/chainlink_exporter/main.go index 1cd961c..fa17d1d 100644 --- a/cmd/chainlink_exporter/main.go +++ b/cmd/chainlink_exporter/main.go @@ -10,6 +10,8 @@ import ( "net/http" "os" "time" + + _ "net/http/pprof" ) var (