Skip to content

Add GitLab Metrics and Ansible Role for GitLab CI Exporter

Pelayo García requested to merge add_gitlab_metrics into master
  • Added GitLab metrics to both the test and production servers.
  • Implemented an Ansible role for installing a `gitlab_ci_exporter.

Prior to these changes, we disabled GitLab's native Prometheus and followed GitLab's documentation to consume the endpoints externally.

As technical debt, we need to investigate why Grafana is failing to connect to Loki (using the logcli tool, it connects correctly; by deleting the folders where it stores the indices and chunks and restarting the service without active authentication, Grafana also connects). Additionally, we should secure the GitLab metrics endpoints with password protection.

We should also add the Gitlab's dashboard to the provisioning (id: 5774). Some adjustments are needed to adapt the metrics name in the dashboard (primarily, change - for _, and use puma instead unicorn).

Merge request reports

Loading