VSD - [BE] Adding "Total Flow items" metric (open + completed)
Overview
Following this beta feedback.
Problem to solve
Before we can calculate the "Flow throughput" metrics (completed/total), we need to count the Total Flow items.
Proposal
Measure the "Total Flow items" metric using virtual VSA stages (following this comment).
- The collected data for lead time (issue created - issue closed) metric can be used to calculate the count. Instead of requesting the .medianwe can just call.count.
- For the count total mrs completed, we could implement another virtual stage that tracksmr creation - mr mergedtime.
How to calculate "Total Flow items" metric
- count total open issues
- count total issues completed
- count total open mrs
- count total mrs completed
- Sum 1-4
Edited  by Haim Snir