Create DORA 4 Widget Tiles in Project CICD Analytics

Release notes

We now display DORA 4 metrics (Deployment frequency, lead time for changes, time to restore service, change failure rate) at the Project level under Analytics > CI/CD.

Problem to solve

As a user, I want to see the four most relevant CI/CD metrics for my project, so that I can become empowered to set targets for customer behavior, experience, and financial impact for my application.

Intended users

User experience goal

The user should be able to view DORA 4 metrics for their project on the Analytics > CI/CD page.

https://gitlab.com/gitlab-org/gitlab/-/pipelines/charts

Proposal

VIEW PROTOTYPES ON FIGMA

  • On Project > Analytics > CI/CD, we will add a card with the last 24h metrics for:
    • Deployment frequency: total / day, e.g. 30 / day
    • Lead time for changes: hh:mm:ss, e.g. 20h 30m 12s
    • Time to restore service: hh:mm:ss, e.g. 20h. 30m 12s
    • Change failure rate: %, e.g. 15%
  • When the system doesn't have enough data on a metric to display, the value should be replaced with the text: Not enough data
  • frontend the card component should be used to display the metrics
  • The title of the card should read: Dora 4 metrics
  • A text label should be placed next to the title, indicating the timeframe for the metrics: Last 24h
  • A help icon ? should be placed at the card header
    • Hovering the icon should display a tooltip that reads: Key metrics that indicate performance of a software development team.
  • The card should be placed above the existing data on the page.
  • A skeleton loader should be displayed while the content is being generated/loaded on the page.

Further details

Permissions and Security

  • Members with no access (0) cannot view widgets
  • Guest (10) members cannot view widgets
  • Reporter (20) members can view widgets
  • Developer (30) members can view widgets
  • Maintainer (40) members can view widgets
  • Owner (50) members can view widgets

Documentation

Yes, this change will require an update to our documentation pages.

Availability & Testing

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

Customers will be able to track metrics from a DevOps performance perspective.

What is the type of buyer?

GitLab Premium

Is this a cross-stage feature?

Yes, ~"group::analytics"

Links / references

Edited by Jackie Porter