Skip to content

refactor(stovepipe): Extract queue health metrics - #1166

Merged
prathshenoy merged 1 commit into
mainfrom
prathshenoy/stovepipe-queue-health-metrics
Dec 3, 2026
Merged

prathshenoy merged 1 commit into
mainfrom
prathshenoy/stovepipe-queue-health-metrics

Conversation

@prathshenoy

@prathshenoy prathshenoy commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

What:

  • Extract queue-health collection into an injected task, separate from recurring message handling.
  • Reuse a common periodic trigger and controller while naming queue-health routing and metrics consistently.

Why:

  • Prepare for independently scheduled metric collectors without duplicating message validation, timeout, and rescheduling behavior. Keep queue-health calculations isolated so other collectors can be registered without coupling their execution.

Test Plan

  • Add unit tests.

Revert Plan

  • Revert this PR to restore the previous queue-health routing and metric names. No business data or schemas are changed.

Issue Links

@prathshenoy
prathshenoy force-pushed the prathshenoy/stovepipe-queue-health-metrics branch from b5129b3 to 4722e34 Compare December 2, 2026 21:18
## Summary
**What**:
- Extract queue-health collection into an injected task, separate from recurring message handling.
- Reuse a common periodic trigger and controller while naming queue-health routing and metrics consistently.

**Why**:
- Prepare for independently scheduled metric collectors without duplicating message validation, timeout, and rescheduling behavior. Keep queue-health calculations isolated so other collectors can be registered without coupling their execution.

## Test Plan
- [x] Add unit tests.

## Revert Plan
- Revert this PR to restore the previous queue-health routing and metric names. No business data or schemas are changed.

## Issue Links
- [CODEM-689](https://linear.app/uber/issue/CODEM-689/figure-out-implement-metrics-to-manage-issue-age)
@prathshenoy
prathshenoy force-pushed the prathshenoy/stovepipe-queue-health-metrics branch from 4722e34 to c096208 Compare December 2, 2026 22:17
@prathshenoy
prathshenoy added this pull request to stack #1168 December 3, 2026 15:24
@prathshenoy
prathshenoy marked this pull request as ready for review December 3, 2026 15:24
@prathshenoy
prathshenoy requested review from a team and sbalabanov as code owners December 3, 2026 15:24
@prathshenoy
prathshenoy enabled stacked auto-merge December 3, 2026 15:24
@prathshenoy
prathshenoy added this pull request to the merge queue Dec 3, 2026
Merged via the queue into main with commit 9b13220 Dec 3, 2026
39 checks passed
@prathshenoy
prathshenoy deleted the prathshenoy/stovepipe-queue-health-metrics branch December 3, 2026 15:48
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.

2 participants