Skip to content

Commit

Permalink
feat: add pprof for profiling
Browse files Browse the repository at this point in the history
  • Loading branch information
batchison-cw committed Apr 2, 2024
1 parent 8798d40 commit 7a2b017
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7a2b017

Please sign in to comment.