- Notifications
You must be signed in to change notification settings - Fork925
Closed
Description
What is your suggestion?
We should add support for enabling pprof endpoints tocoder agent
during runtime when running on Windows.
Why do you want this feature?
We have support for this on Unix-based operating systems viakill -USR1 $coder_agent_pid
. It could help with debugging if the agent has entered a weird state. Especially useful where a restart of the agent would resolve the issue.
The issue was brought up during review of#1985.
Are there any workarounds to get this functionality today?
Pprof can be enabled on startup viaCODER_AGENT_PPROF_ENABLE
Are you interested in submitting a PR for this?
Not at this time. Due to Windows limitations, we can't use the same approach as on Unix. We need to settle on what a solution would look like and if there are other requirements to consider.
Possible (alternative) ideas were floated in#1985 (comment).