-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 <art27@cantab.net>
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.