Skip to content

feat(backend): add pprof endpoints for runtime profiling #62

Description

@GRACENOBLE

Problem

There are no profiling endpoints. When performance issues arise in production, there is no way to capture a CPU or memory profile without redeploying.

Acceptance criteria

  • Register net/http/pprof routes under /debug/pprof/
  • Gate these routes to localhost / internal network only (same pattern as /metrics)
  • Document the endpoints and how to use go tool pprof in backend/docs/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions