metrik icon indicating copy to clipboard operation
metrik copied to clipboard

Question: How is lead time for change is calculated?

Open dgokcin opened this issue 3 years ago • 2 comments
trafficstars

Hello

I started experimenting with metrik and wanted to ask you how lead time for changes metrik is calculated. In the last 18 days, I had 3 deployments to production in my GitHub organization. When I adjusted the dates in the metrik ui to cover those periods and set the workflow name to the production deployment workflow, I see the following charts. How can the lead time to change metric in the last 20 days be equal to 88 days? Any help is appreciated.

image image

dgokcin avatar Aug 06 '22 16:08 dgokcin

Experiencing the same issue. Using GithubActions pipeline

benjaminu avatar Nov 15 '22 13:11 benjaminu

The reason for the unexpected numbers, is because the commits contained in the deployments are older than the time range. This is by design, the measure is to calculate from code commit (code change) to running in production as per the wiki:

The average amount of time it takes to go from code commit to code running in target environment under the given date range.

martinnormark avatar Nov 22 '22 07:11 martinnormark