Skip to content

pprof has broken links #4037

@DerekTBrown

Description

@DerekTBrown

Checklist:

  • I've included steps to reproduce the bug.
  • I've included the version of argo rollouts.

Describe the bug

  • The pprof handler index endpoint is not correctly attached, resulting in 404s when attempting to access certain pprof features.

To Reproduce

  • Enable --enable-pprof-address=:8091
  • kubectl port-forward to the argo-rollouts pod.
  • Connect to the pprof index page (localhost:8091/debug/pprof) then click the goroutine profile.
  • Observe a 404 error.

Expected behavior

  • The above steps properly return the goroutine profile.

Screenshots

Version

  • Tested against master (c0ca5301bfede1532815503cac4461cd0162258f).

Logs

  • N/A

Message from the maintainers:

Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions