-
Notifications
You must be signed in to change notification settings - Fork 894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(controller): Fixed broken pprof links #4037 #4038
Conversation
Signed-off-by: Derek Brown <6845676+DerekTBrown@users.noreply.github.com>
322ccd7
to
e026be3
Compare
Quality Gate passedIssues Measures |
mux.HandleFunc(fmt.Sprintf("%s/trace", ProfilingPath), pprof.Trace) | ||
// TODO: Remove enumerating all pprof endpoints if/when a more ergonomic | ||
// attachment solution is introduced. See: https://github.com/golang/go/issues/71213. | ||
mux.HandleFunc("/debug/pprof/", pprof.Index) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: I believe this is the source of the bug. mux
needs the trailing slash to match requests properly:
Published E2E Test Results 4 files 4 suites 3h 7m 4s ⏱️ Results for commit e026be3. |
Published Unit Test Results2 293 tests 2 293 ✅ 2m 59s ⏱️ Results for commit e026be3. |
Checklist:
"fix(controller): Updates such and such. Fixes #1234"
.