Separate open and closed issue in metrics #16637
Conversation
Codecov Report
@@ Coverage Diff @@
## main #16637 +/- ##
==========================================
- Coverage 45.41% 45.38% -0.03%
==========================================
Files 756 756
Lines 85247 85279 +32
==========================================
- Hits 38713 38707 -6
- Misses 40274 40309 +35
- Partials 6260 6263 +3
Continue to review full report at Codecov.
|
I think old metric should be kept to not break compatibility |
Oh I missed that they'd removed that! Sorry for the bad review |
If we keep Issue metrics, may be it's not necessary to keep IssueOpen metrics because: Issue - IssueClosed = IssueOpen ? |
So as these metrics are not produced within a transaction you can't actually assume that. (We have to keep Issues anyway because of the dashboard.) |
Signed-off-by: Andrew Thornton <[email protected]>
OK I've made a little change which means that the counts are collected in one query. |
Hi,
My team and I need to separate closed and open issue in exposed metrics.
The purpose is to have the number of open and closed issues by week in a Grafana dashboard.