Skip to content

Commit

Permalink
Merge pull request #38 from go-faster/fix/register-pprof-properly
Browse files Browse the repository at this point in the history
fix(app): register pprof endpoint properly
  • Loading branch information
ernado authored Sep 8, 2023
2 parents 06f5ee5 + e8f6c74 commit 9ab2f81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ func newMetrics(
mux: mux,
services: []string{serviceName},
}
m.http = append(m.http, he)
}
m.registerProfiler(he.mux)
}
Expand Down

0 comments on commit 9ab2f81

Please sign in to comment.