Skip to content

Conversation

@rowansmithau
Copy link
Contributor

@rowansmithau rowansmithau commented Jan 12, 2026

  • Adds pprof collection support now that we have the listeners automatically starting (requires Coder server 2.28.0+, includes a version check). Collects heap, allocs, profile (30s), block, mutex, goroutine, threadcreate, trace (30s), cmdline, symbol. Performs capture for 30 seconds and emits a log line stating as such. Enable capture by supplying the --pprof flag or CODER_SUPPORT_BUNDLE_PPROF env var. Collection of pprof data from both coderd and the Coder agent occurs.
  • Adds collection of Prometheus metrics, also requires 2.28.0+
  • Adds the ability to include a template in the bundle independently of supplying the details of a running workspace by supplying the --template flag or CODER_SUPPORT_BUNDLE_TEMPLATE env var
  • Captures a list of workspaces the user has access to. Defaults to a max of 10, configurable via --workspaces-total-cap / CODER_SUPPORT_BUNDLE_WORKSPACES_TOTAL_CAP
  • Collects additional stats from the coderd deployment (aggregated workspace/session metrics), as well as entitlements via license and dismissed health checks.

created with help from mux

- Add pprof collection support (requires Coder server 2.28.0+)
- Reduce default workspace cap from 1000 to 10
- Add version check before attempting pprof collection
- Update CLI help text with version requirement
@rowansmithau rowansmithau self-assigned this Jan 12, 2026
@rowansmithau rowansmithau added the cli Area: CLI label Jan 12, 2026
@rowansmithau rowansmithau marked this pull request as ready for review January 13, 2026 05:01
@deansheather deansheather self-requested a review January 13, 2026 13:19
- Remove redundant single-org special case in template resolution
- Add rate limiter bypass header for support bundle API calls
- Pass workspacesCap as function parameter instead of context value
- Update prometheus test assertion comment
@rowansmithau rowansmithau merged commit b163b4c into main Jan 19, 2026
32 checks passed
@rowansmithau rowansmithau deleted the feat/support_bundle_updates branch January 19, 2026 23:28
@github-actions github-actions bot locked and limited conversation to collaborators Jan 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cli Area: CLI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants