Skip to content

GitLab Next

    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Menu
    Projects Groups Snippets
  • Get a free trial
  • Sign up
  • Login
  • Sign in / Register
  • GitLab FOSS GitLab FOSS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar

GitLab 15.0 is launching on May 22! This version brings many exciting improvements, but also removes deprecated features and introduces breaking changes that may impact your workflow. To see what is being deprecated and removed, please visit Breaking changes in 15.0 and Deprecations.

  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Issues
  • #27439
Project 'gitlab-org/gitlab-ce' was moved to 'gitlab-org/gitlab-foss'. Please update any links and bookmarks that may still have the old path.
Closed
Open
Created Jan 30, 2017 by Joshua Lambert@joshlambertDeveloper

Display performance deltas between app deployments on Merge Request workflow

Resources

FE @kushalpandya

Description

With GitLab now supporting integration with Prometheus and Kubernetes, we can begin to provide some more intelligent analytics based on what we know about a customers deployments and commits, fused with the performance data. This will be built upon what we have already done with #26944 (closed).

Proposal

When a pipeline with a new commit is run and deployed to an environment, we now can start reporting on the differences in performance before and after the new code was deployed.

We should calculate the average of the collected metrics from 30 minutes prior to the deployment, and compare them with the metrics collected for the next 30 minutes after the deployment. This should provide enough time for caches to be warmed up, code to be deployed, and other one time effects. If we find it necessary, we can ignore metrics for the first X minutes, to not color the results.

We should then display this data directly on the Merge Request page, in order to clearly display performance deltas between deployments. An example of what the UI should look like is included below, illustrating memory usage.

MR-merged-environment-performance-1

Documentation blurb

(Add to MR sparkline documentation) Also displayed is the average memory consumption for the 30 minutes before and after the change has been deployed, including the percentage difference.

Assignee
Assign to
Time tracking