Skip to content

Track duration spent in concurrency limit queue

Sylvester Chin requested to merge sc1-track-duration-in-climit-buffer into master

What does this MR do and why?

This MR updates .concurrency_limit_resume to set the timestamp when the job is added to the concurrency limit queue. We use the term "buffered" to minimise confusion between various queues. "deferred" is used for the skip jobs middleware.

This updates the scheduling latency to track the duration starting from when the job is added to the concurrency limit queue.

See gitlab-com/gl-infra/scalability#3877

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Edited by Sylvester Chin

Merge request reports

Loading