-
Suggestion
-
Resolution: Unresolved
-
None
Currently, the deployment frequency calculation is as explained below,
- If a component suddenly has 5 deploys in the most recent week, and none in the previous weeks, we only found deployment events in 1 week.
- 5 deploys / 1 week with deployment activity = average of 5 deploys per week.
- The component only started getting deploys in the last week(in this example), so the frequency is calculated as below,
Number of deployments / Number of weeks between the oldest and newest event (plus one) 5/1 = 5 deploys per week
Instead, it would be good to have the calculation as below,
All the deployments in the last 4 weeks/4 ## as per the above example, it would be, 5/4 = 1.25 deploys per week.
Form Name |
---|
Also to clarify further: If a deploy was made 5 weeks ago, that is not included in the calculation, since it does not take into account any deployments made over 28 days ago. This means that if a service is deployed 5 times on one day every second month, the deployment frequency will either show 0 deploys/week or 5 deploy/week, and never the actual average of 1.25 deploys/week.