Skip to content

feat(stovepipe): Add issue lifecycle metrics - #1169

Open
prathshenoy wants to merge 1 commit into
mainfrom
prathshenoy/stovepipe-issue-lifecycle-metrics
Open

prathshenoy wants to merge 1 commit into
mainfrom
prathshenoy/stovepipe-issue-lifecycle-metrics

Conversation

@prathshenoy

@prathshenoy prathshenoy commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

What:

  • Count issue openings, including reopenings, and closures, plus resolution durations when a matching opening is known.
  • Avoid repeating lifecycle observations when the same work is retried or issue history is repaired.

Why:

  • Complement current open-issue age metrics with arrival and resolution rates. A stable backlog size can hide frequent openings and closures, and snapshots exclude issues already resolved.

Test Plan

  • Add unit tests.

Revert Plan

  • Revert this PR to stop emitting lifecycle metrics; issue state and history are unchanged.

Issue Links

@prathshenoy
prathshenoy force-pushed the prathshenoy/stovepipe-issue-lifecycle-metrics branch from 8c74362 to 9b3b6be Compare December 3, 2026 20:57
@prathshenoy
prathshenoy marked this pull request as ready for review December 3, 2026 20:57
@prathshenoy
prathshenoy requested review from a team and sbalabanov as code owners December 3, 2026 20:57
@prathshenoy
prathshenoy force-pushed the prathshenoy/stovepipe-issue-lifecycle-metrics branch from 9b3b6be to 2a545b3 Compare December 3, 2026 21:00
## Summary
**What**:
- Record issue opening, reopening, and closure counts, plus resolution durations when a matching opening is known.
- Avoid repeating lifecycle observations when the same work is retried or issue history is repaired.

**Why**:
- Complement current open-issue age metrics with arrival and resolution rates. A stable backlog size can hide frequent openings and closures, and snapshots exclude issues already resolved.

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

## Revert Plan
- Revert this PR to stop emitting lifecycle metrics; issue state and history are unchanged.

## 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-issue-lifecycle-metrics branch from 2a545b3 to 622e13d Compare December 3, 2026 21:04
@prathshenoy
prathshenoy enabled auto-merge December 3, 2026 21:31

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