How Lead Time for Changes is calculated ?
melezhik opened this issue · comments
Hi!
In our projects we don't have deployment events that have associated commits that come into a deploy.
However it's still possible to make direct inserts (with respected deployment commit data) into raw data table ... So we can emulate those events by inserts.
Considering this, I wonder how lead time for changes is calculated ? Does forkeys look a specific commit in history of changes ( some table ? ) and if the same commit exists in a respected deployment data (some another table?), then the change is considered deployed and 2 timestamps are compared and lead time is calculated ?
Or my assumption is wrong ?
Looks like I found something in https://github.com/GoogleCloudPlatform/fourkeys/blob/main/METRICS.md