Expose pipeline metrics reports to allow scrapping

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Problem to solve

As a follow up to Add generic 'metrics' report type to merge requests, expose those metrics as scrappable from tools like Prometheus

Target audience

Further details

Proposal

From https://gitlab.com/gitlab-org/gitlab-ee/issues/1020#note_141577971:

What we could do, is have an API which exposes the scrape data which Prometheus could then scrape, sort of like a GitLab push gateway: https://prometheus.io/docs/instrumenting/pushing/.

  • We'd probably want to have some sort of auth on this endpoint
  • Having this in Prometheus would make it really easy to chart alongside our other Prometheus based metrics, as well as offer an easy interface into other tools like Grafana

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

What is the type of buyer?

(Which leads to: in which enterprise tier should this feature go see https://about.gitlab.com/handbook/product/pricing/#four-tiers )

Links / references

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖