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 CLI: remove redundant allocs profile from operator debug into release/1.7.x #20226

Conversation

hc-github-team-nomad-core
Copy link
Contributor

Backport

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

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


The pprof allocs profile is identical to the heap profile, just with a different default view. Collecting only one of the two is sufficient to view all of alloc_objects, alloc_space, inuse_objects, and inuse_space, and collecting only one means that both views will be of the same point in time.

Also improve the docstrings on the goroutine profiles explaining what's in each so that it's clear why we might want all of debug=0, debug=1, and debug=2.


Overview of commits

@hc-github-team-nomad-core hc-github-team-nomad-core force-pushed the backport/b-operator-debug-memory-profile/brightly-gorgeous-crow branch from 700c9c9 to a8e98e6 Compare March 26, 2024 12:19
@tgross tgross merged commit 732c7d0 into release/1.7.x Mar 26, 2024
19 of 20 checks passed
@tgross tgross deleted the backport/b-operator-debug-memory-profile/brightly-gorgeous-crow branch March 26, 2024 12:52
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