You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should add support for enabling pprof endpoints to coder agent during runtime when running on Windows.
Why do you want this feature?
We have support for this on Unix-based operating systems via kill -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.
Are there any workarounds to get this functionality today?
Pprof can be enabled on startup via CODER_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).