Metric to track lead time
Summary
We would like to track the time from when an MR is merged to when it is deployed.
Proposal
Release tools currently labels all MRs with labels like ~"workflow::staging", workflowproduction. Along with adding labels to MRs, when deployment to production has completed, we can also calculate current_time - merge_time
(lead time) for each MR, and calculate the mean lead time for all MRs in the deployment.
We could consider measuring this value for gstg-cny
as well as gprd
.
Edited by Reuben Pereira