cmd/pprof: allow auto assigned http port #39820
Labels
FeatureRequest
Issues asking for a new feature that does not need a proposal.
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Ran
go tool pprof --http=:0 /tmp/profile
What did you expect to see?
A browser window opens to localhost:<SOME_RANDOM_PORT>, where the port is autoassigned from a random free port
What did you see instead?
Browser opens to
localhost:0
which doesn't workThis would be useful so I don't have to worry about manually changing ports when viewing multiple profiles
The text was updated successfully, but these errors were encountered: