Skip to content

Commit

Permalink
admin: Add optional /debug/pprof/profile endpoint
Browse files Browse the repository at this point in the history
This change introduces a new, optional /debug/pprof/profile endpoint to
the proxy's admin server. This endpoint is feature-gated and, initially,
it will not be included in release builds.

When the feature is enabled, profiling requests are only permitted over
the loopback interface.

The development Dockerfile is updated to prevent stripping debug
symbols so the pprof data is hydrated with debug symbols.
  • Loading branch information
olix0r committed Nov 14, 2023
1 parent 2ad49d6 commit 9b8d33d
Show file tree
Hide file tree
Showing 12 changed files with 479 additions and 63 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ jobs:
- run: git config --global --add safe.directory "$PWD" # actions/runner#2033
- run: just fetch
- run: just check --exclude=linkerd-meshtls-boring
- run: just check --exclude=linkerd-meshtls-boring --features=pprof
Loading

0 comments on commit 9b8d33d

Please sign in to comment.