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

Add remaining pprof profiles to nomad operator debug #10748

Merged
merged 4 commits into from
Jun 21, 2021
Merged

Conversation

davemay99
Copy link
Contributor

This PR adds to the remaining pprof profiles to nomad operator debug. It also adds 2 helper functions WaitForResultUntil and WaitForFilesUntil which reduce the flakiness of the associated test.

  • heap
  • allocs
  • threadcreate
  • block
  • mutex

In the future the block and mutex profiles can be enabled using the runtime.SetBlockProfileRate and runtime.SetMutexProfileFraction functions, respectively.

Copy link
Member

@shoenig shoenig left a comment

Choose a reason for hiding this comment

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

LGTM; nice refactoring!

looks like you'll need to rebase the changelog entry

@davemay99
Copy link
Contributor Author

Rebased with CHANGELOG.md updates, will merge after tests complete.

@davemay99 davemay99 merged commit b430baf into main Jun 21, 2021
@davemay99 davemay99 deleted the f-debug-profiles branch June 21, 2021 18:22
@tgross tgross added this to the 1.1.2 milestone Jun 21, 2021
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants