Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport of command/server: add support to write pprof files to the filesystem via SIGUSR2 into release/1.13.x #20622

Merged

Conversation

hc-github-team-secure-vault-core
Copy link
Collaborator

Backport

This PR is auto-generated from #20609 to be assessed for backporting due to the inclusion of the label backport/1.13.x.

The below text is copied from the body of the original PR.


This adds support to dump pprof outputs to the filesystem when VAULT_PPROF_WRITE_TO_FILE and optionally VAULT_PPROF_FILE_PATH set on the Vault process. This is very useful in situations where HTTP handlers are unresponsive and we cannot use the sys/pprof endpoints. I put this behind an environment variable because files are generated each time there's a SIGUSR2 signal to avoid unintentionally generating a lot of files.


Overview of commits

@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/pprof-signal-usr2/finally-united-mudfish branch from 2a3db26 to b0db410 Compare May 17, 2023 13:21
@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/pprof-signal-usr2/finally-united-mudfish branch from ae820d7 to 6ca1bf6 Compare May 17, 2023 13:21
@jasonodonnell jasonodonnell added this to the 1.13.3 milestone May 17, 2023
@jasonodonnell jasonodonnell merged commit 99f55c1 into release/1.13.x May 17, 2023
@jasonodonnell jasonodonnell deleted the backport/pprof-signal-usr2/finally-united-mudfish branch May 17, 2023 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants