Skip to content

Commit 3930e59

Browse files
authored
feat: Add profiling endpoints to gitter for easier debugging (#4823)
1 parent 3ea8b75 commit 3930e59

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

go/cmd/gitter/gitter.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ import (
2323
"syscall"
2424
"time"
2525

26+
_ "net/http/pprof" //nolint:gosec // This is a internal only service not public to the internet
27+
2628
"github.com/google/osv.dev/go/logger"
2729
"go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp"
2830
"golang.org/x/sync/singleflight"

0 commit comments

Comments
 (0)