Skip to content

Display Prometheus sparkline in Merge Request

Resources

UX @tauriedavis | FE @fatihacet

Description

Currently when a Merge Request is deployed, it is not easy to view the impact to performance of the changes in a simple way. We can improve this by having a sparkline on the Merge Request page illustrate the impact.

Proposal / Design

We can offer a simple and concise summary of the impact of a Merge Request on performance, by display a sparkline on the workflow itself. The best single metric for now would be Memory, which would be applicable for more deployment environments than CPU. We should display 30 minutes before and after the merged code was deployed.

We can use the mockup created for the Prometheus monitoring demo as a good starting point.

old New
Bitmap MR-merged-environment-performance-1

Design spec url: https://gitlab-org.gitlab.io/gitlab-design/progress/dimitrie/Object-views-issues-mr-pipelines-builds-commits/25424-Refine-MR-Widget/25424-Refine-MR-Widget-spec-previews/#artboard24

Links / references