Persist performance metrics for a Merge Request within GitLab

Description

As part of gitlab-ce#26944, we are displaying spark lines in Merge Requests for projects and deploys where we can track them. Prometheus however does not retain data for a long period of time, and this data will become unavailable. (For example after 30 days.)

We should therefore persist this snippet of data within GitLab, so that it can be displayed after the Prometheus server retention period has expired. We should collect it as soon as the time window for the sparkline ends. (For example, 30 minutes after merge).

Proposal

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 Feb 28, 2023 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading