sentry icon indicating copy to clipboard operation
sentry copied to clipboard

chore(uptime): Store duration/delay stats in the result consumer

Open wedamija opened this issue 1 year ago • 0 comments

Copying comment from the pr:

We log the result stats here after the duplicate check so that we know the "true" duration and delay of each check. Since during deploys we might have checks run from both the old/new checker deployments, there will be overlap of when things run. The new deployment will have artificially inflated delay stats, since it may duplicate checks that already ran on time on the old deployment, but will have run them later. Since we process all results for a given uptime monitor in order, we can guarantee that we get the earliest delay stat for each scheduled check for the monitor here, and so this stat will be a more accurate measurement of delay/duration.

wedamija avatar Aug 08 '24 23:08 wedamija