From 34c91fbe7df4459a01590c9e4b6dbd5922a82aa2 Mon Sep 17 00:00:00 2001 From: batchison-cw <152205671+batchison-cw@users.noreply.github.com> Date: Tue, 2 Apr 2024 15:15:37 -0500 Subject: [PATCH] feat: add pprof for profiling (#13) --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 76fc236..4dc76eb 100644 --- a/main.go +++ b/main.go @@ -23,6 +23,8 @@ import ( "syscall" "time" + _ "net/http/pprof" + "github.com/ianschenck/envflag" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp"