Create self monitoring dashboard for our Omnibus users

Problem to solve

Omnibus users cannot see data in the default self monitoring dashboard.

Intended users

Further details

The current default self monitoring dashboard relies on recording rules that are present in gitlab.com but not on Omnibus. As such, Omnibus customers do not see any data in their charts.

This issue is to discuss building a self monitoring default dashboard using the default metrics that are available in the core Gitlab product.

Metrics used in the current self monitoring dashboard:

  1. max(max_over_time(gitlab_service_errors:ratio{environment="{{ci_environment_slug}}", type="web", stage="main"}[1m])) by (type) * 100

  2. avg(slo:max:gitlab_service_errors:ratio{environment="{{ci_environment_slug}}", type="web", stage="main"}) or avg(slo:max:gitlab_service_errors:ratio{type="web"}) * 100

  3. avg(slo:max:gitlab_service_errors:ratio{environment="{{ci_environment_slug}}", type="api", stage="main"}) or avg(slo:max:gitlab_service_errors:ratio{type="web"}) * 100

Proposal

In order to ensure that the default self monitoring dashboard works in Omnibus, we can create a self monitoring dashboard using base metrics that exist in the GitLab product, or we can add the required recording rules to the Omnibus Prometheus.

Documentation

https://docs.gitlab.com/ee/administration/monitoring/gitlab_self_monitoring_project/index.html

Availability & Testing

What does success look like, and how can we measure that?

The default self monitoring dashboard shows data on an Omnibus installation out of the box.

Links / references

Edited by 🤖 GitLab Bot 🤖