-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 pprof support to ark server #234
Conversation
Closing for now. Will reopen if/when necessary. |
I have a test image, |
094abd0
to
604a6b9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. @nrb pls review
@wwitzel3 one thing I'm realizing is that we're gonna end up with a lot of merge conflicts in CHANGELOG.md since every concurrent PR (e.g. this one) will be trying to add a line in the same place. Any ideas? |
Separate file per entry?
…On Tue, Dec 4, 2018 at 4:16 PM Steve Kriss ***@***.***> wrote:
@wwitzel3 <https://github.com/wwitzel3> one thing I'm realizing is that
we're gonna end up with a lot of merge conflicts in CHANGELOG.md since
every concurrent PR (e.g. this one) will be trying to add a line in the
same place. Any ideas?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#234 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAABYm__6tG4S1l74YhX0c3fCtvVOzVAks5u1uYogaJpZM4QyqQD>
.
|
Yeah, I think that's what restic does |
Either separate files or delay until ready to merge, but I don't like that. OpenStack used reno for making the files and managing merges at release time; not advocating it's use here, but something to think about for tooling. https://docs.openstack.org/reno/latest/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once the changelog conflict is resolved.
@skriss Looks like restic does it all in the main file.
|
@nrb their PR template has you add a changelog entry here: https://github.com/restic/restic/tree/master/changelog/unreleased With a new file per PR. This is definitely what I did for the one or two PRs I submitted to restic. Then the maintainer updates CHANGELOG.md once per release. Guessing that the CONTRIBUTING.md is just out of date. |
Having an changelog/unreleased folder with a file per PR is easy and common across a lot of projects. I will go ahead and make a new PR that updates the root CHANGELOG.md and our CONTRIBUTING.md. I'll ticket that up and get that updated. In the meantime, @ncdc if you want to just create the unreleased folder under changelog and add your entry there, I'll take care of the rest. |
I've added the unreleased folder and an initial attempt at an entry for this PR. I went with the "easy" approach for now (see discussion at #1112 (comment)) |
Signed-off-by: Andy Goldstein <andy.goldstein@gmail.com>
CVE-2022-32149: update golang.org/x/text dep
Fixes #85
There is a new
ark server
flag:--profiler-address
. It defaults tolocalhost:6060
. This means by default it's only accessible if you usekubectl port-forward
, but you can change it to something like:6060
and put a service + ingress in front if you want to make it publicly accessible. There is no authentication for it at this time.This does not add pprof support for plugin processes. Those tend to be relatively short-lived. If needed, in the future we could add some sort of debugging flag that would capture various pprof data from plugin processes and store it in files local to the ark server pod, and they could be retrieved after the fact by hand using
kubectl cp
or some other mechanism.