Title: Add support for enabling pprof endpoints in `coder agent` on Windows during runtime · Issue #2081 · coder/coder · GitHub
Open Graph Title: Add support for enabling pprof endpoints in `coder agent` on Windows during runtime · Issue #2081 · coder/coder
X Title: Add support for enabling pprof endpoints in `coder agent` on Windows during runtime · Issue #2081 · coder/coder
Description: What is your suggestion? 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 $cod...
Open Graph Description: What is your suggestion? 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-bas...
X Description: What is your suggestion? 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-bas...
Opengraph URL: https://github.com/coder/coder/issues/2081
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add support for enabling pprof endpoints in `coder agent` on Windows during runtime","articleBody":"## What is your suggestion?\r\n\r\nWe should add support for enabling pprof endpoints to `coder agent` during runtime when running on Windows.\r\n\r\n## Why do you want this feature?\r\n\r\nWe 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.\r\n\r\nThe issue was brought up during review of https://github.com/coder/coder/pull/1985.\r\n\r\n## Are there any workarounds to get this functionality today?\r\n\r\nPprof can be enabled on startup via `CODER_AGENT_PPROF_ENABLE`\r\n\r\n## Are you interested in submitting a PR for this?\r\n\r\nNot 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.\r\n\r\nPossible (alternative) ideas were floated in https://github.com/coder/coder/pull/1985#issuecomment-1146176444.","author":{"url":"https://github.com/mafredri","@type":"Person","name":"mafredri"},"datePublished":"2022-06-06T13:37:23Z","url":"https://github.com/coder/coder/issues/2081"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fef6f051-64d0-319c-57cc-3c0a4999137f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE16:19F84C:272F82F:31D209F:6B0181BB |
| html-safe-nonce | 08a90c488ac6ea43e561b4f737458e6aa1fd9e789f7adeecb4359cb1c53891eb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTE2OjE5Rjg0QzoyNzJGODJGOjMxRDIwOUY6NkIwMTgxQkIiLCJ2aXNpdG9yX2lkIjoiNjExMzEzMTEyMDAzMzg5MDc0NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f7910bbf565bf3566a3935d686038d466c857e0001bb972e823af83e61ca61b6 |
| hovercard-subject-tag | issue:1261860179 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/2081/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d0b557d00889ed51809d7197f0a25bd073f1d51f6791a5471a0819495c45e7fb/coder/coder/issues/2081 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d0b557d00889ed51809d7197f0a25bd073f1d51f6791a5471a0819495c45e7fb/coder/coder/issues/2081 |
| og:image:alt | What is your suggestion? 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-bas... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mafredri |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width