Skip to content

feat(stovepipe): Add open issue age metrics - #1165

Draft
prathshenoy wants to merge 1 commit into
prathshenoy/stovepipe-queue-health-metricsfrom
prathshenoy/stovepipe-open-issue-age
Draft

prathshenoy wants to merge 1 commit into
prathshenoy/stovepipe-queue-health-metricsfrom
prathshenoy/stovepipe-open-issue-age

Conversation

@prathshenoy

@prathshenoy prathshenoy commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

What:

  • Report open-issue counts, oldest age, and age distributions per queue and validation task.
  • Run issue-age collection through the shared periodic controller, with independent scheduling, snapshot freshness, and collection-health reporting.

Why:

  • Expose unresolved failures that are aging while a queue is idle; existing queue-health metrics do not show the size or age of the issue backlog.
  • Keep queue-health observations timely when issue scans are slow or fail, and distinguish empty backlogs from stale or incomplete observations.

Test Plan

  • Add unit tests.

Revert Plan

  • Revert this PR to stop issue-age collection; existing queue-health tasks retain their identities and behavior.

Issue Links

@prathshenoy
prathshenoy force-pushed the prathshenoy/stovepipe-open-issue-age branch 2 times, most recently from addeadb to d019468 Compare December 2, 2026 20:55
@prathshenoy
prathshenoy changed the base branch from main to prathshenoy/stovepipe-queue-health-metrics December 2, 2026 23:06
@prathshenoy
prathshenoy force-pushed the prathshenoy/stovepipe-open-issue-age branch from d019468 to d1dc44c Compare December 2, 2026 23:06
@prathshenoy
prathshenoy changed the base branch from prathshenoy/stovepipe-queue-health-metrics to main December 2, 2026 23:08
@prathshenoy
prathshenoy changed the base branch from main to prathshenoy/stovepipe-queue-health-metrics December 2, 2026 23:09
## Summary
**What**:
- Report open-issue counts, oldest age, and age distributions per queue and validation task.
- Run issue-age collection through the shared periodic controller, with independent scheduling, snapshot freshness, and collection-health reporting.

**Why**:
- Expose unresolved failures that are aging while a queue is idle; existing queue-health metrics do not show the size or age of the issue backlog.
- Keep queue-health observations timely when issue scans are slow or fail, and distinguish empty backlogs from stale or incomplete observations.

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

## Revert Plan
- Revert this PR to stop issue-age collection; existing queue-health tasks retain their identities and behavior.

## 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-open-issue-age branch from d1dc44c to a221c9f Compare December 2, 2026 23:14

This branch has not been deployed

No deployments
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