Skip to content

Report live worker counts on pool events - #117

Merged
codingjoe merged 5 commits into
mainfrom
codingjoe-sentry-worker-zero
Nov 1, 2026
Merged

codingjoe merged 5 commits into
mainfrom
codingjoe-sentry-worker-zero

Conversation

@codingjoe

@codingjoe codingjoe commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

Worker counts were sampled on the queue depth interval and reported configured capacity. They now update on pool events and report live processes.

  • Report live process and thread counts when the pool starts.
  • Report again when the maintainer replaces a process or a replacement fails.
  • Report zero after the pool shuts down.
  • Keep the sampling interval for queue depth only.
  • Add focused executor tests.

A stable node emits only on events, so a Sentry query window that starts after the last event may show no worker count. Hard crashes still leave the last value.

@codingjoe codingjoe changed the title Report zero worker counts on shutdown Report live worker counts on pool events Nov 1, 2026
@codingjoe
codingjoe merged commit a458039 into main Nov 1, 2026
5 checks passed
@codingjoe
codingjoe deleted the codingjoe-sentry-worker-zero branch November 1, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant