Skip to content

Add fine grained time buckets for cache metrics

Alejandro Rodríguez requested to merge rails-cache-metrics-buckets into master

What does this MR do and why?

Change the time buckets for the gitlab_cache_operation_duration_seconds histogram from [0.00001, 0.0001, 0.001, 0.01, 0.1, 1.0] to [0.001, 0.0025, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1, 2]. The lower values unused, and we want more granularity between 0.1 and 1, especially now that we need to adjust the Apdex definition on gitlab-com/runbooks!5581 (merged)

Part of https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/18944

Related to gitlab-com/gl-infra/scalability#2245 (closed)

Describe in detail what your merge request does and why.

Screenshots or screen recordings

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

How to set up and validate locally

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

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading