Skip to content

The Weighted Availability Score is incorrectly calculated on the GitLab.com SLA dashboard

Current Situation

Example: https://gitlab.com/gitlab-com/dashboards-gitlab-com/-/metrics/sla-dashboard.yml?environment=1790496&start=2020-10-13T00%3A00%3A00Z&end=2020-11-12T23%3A59%3A59Z

The weighted availability score is stated as 99.60% and the actual weighted availability score is 99.72% based on the math of

((Web SLA)*5+(Git SLA)*5+(API SLA)*5+Registry SLA)/16

in the case of the above dashboard link: ((99.76)*5+(99.74)*5+(99.62)*5+99.97)/16 = 99.72

source of maths for the dashboard: https://gitlab.com/gitlab-com/dashboards-gitlab-com/-/blob/master/.gitlab/dashboards/sla-dashboard.yml

Desired Outcome

https://gitlab.com/gitlab-com/dashboards-gitlab-com/-/blob/master/.gitlab/dashboards/sla-dashboard.yml is updated to properly calculate the weighted SLA.

Acceptance Criteria

Edited by AnthonySandoval