From 7a2b017ea60d023f0fb6d65df5b659c59dd89ff7 Mon Sep 17 00:00:00 2001 From: Brent Atchison Date: Tue, 2 Apr 2024 15:12:04 -0500 Subject: [PATCH] feat: add pprof for profiling --- 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"