Skip to content
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

proposal: net/http/pprof: endpoint for debuginfo #60883

Open
SaberD opened this issue Jun 20, 2023 · 2 comments
Open

proposal: net/http/pprof: endpoint for debuginfo #60883

SaberD opened this issue Jun 20, 2023 · 2 comments
Labels
Milestone

Comments

@SaberD
Copy link

SaberD commented Jun 20, 2023

Add debuginfo from runtime/debug to pprof index http page.

Alternative: make a debug package that combines useful debug info and utility into a handler, ie. net/http/debug.

image

@gopherbot gopherbot added this to the Proposal milestone Jun 20, 2023
@SaberD SaberD changed the title proposal: affected/package: net/http/pprof#Index proposal: debuginfo over http affected/package: net/http/pprof#Index Jun 20, 2023
@seankhliao seankhliao changed the title proposal: debuginfo over http affected/package: net/http/pprof#Index proposal: net/http/pprof: endpoint for debuginfo Jun 22, 2023
@seankhliao
Copy link
Member

which part of runtime/debug do you want to expose? there's no debuginfo
is it building?

@SaberD
Copy link
Author

SaberD commented Jun 23, 2023

Yes sorry, I meant BuildInfo.
https://pkg.go.dev/runtime/debug#BuildInfo

would be nice to easily see dependencies, build hash, go version and so on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Incoming
Development

No branches or pull requests

3 participants