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

command/server: remove env var requirement for sigusr2 pprof output #25391

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

jasonodonnell
Copy link
Contributor

@jasonodonnell jasonodonnell commented Feb 13, 2024

PR #20609 introduced a way to get pprof files from Vault without needing the handler. We have found that the need for environment variables to use that feature was too restrictive and caused several missed opportunities when debugging issues live. This PR lifts that requirement.

I've also added CPU profile support which was missing from the first iteration.

@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Feb 13, 2024
@jasonodonnell jasonodonnell added this to the 1.16.1 milestone Feb 13, 2024
Copy link

github-actions bot commented Feb 13, 2024

CI Results:
All Go tests succeeded! ✅

Copy link

github-actions bot commented Feb 13, 2024

Build Results:
All builds succeeded! ✅

Copy link
Contributor

@raskchanky raskchanky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

onuglg0

@jasonodonnell jasonodonnell modified the milestones: 1.16.1, 1.17.0 Feb 29, 2024
@jasonodonnell jasonodonnell merged commit be00615 into main Feb 29, 2024
84 of 85 checks passed
@jasonodonnell jasonodonnell deleted the pprof branch February 29, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants