Skip to content

cmd/pprof: use proxy from environment #18736

@walken-google

Description

@walken-google

Is there any reason for cmd/pprof not to use the proxy environment variables when defined ?

(actually, I would like it if the zero valued transport used the proxy defined by environment variables when available, but I think it's too late to change that at this point).

My use case is that I would like to pprof some devices through a socks5 proxy.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions