Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,761
    • Issues 44,761
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,332
    • Merge requests 1,332
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #343065
You need to sign in or sign up before continuing.
Closed
Open
Issue created Oct 13, 2021 by Ian Girouard@ian.girouard0 of 6 checklist items completed0/6 checklist items

Provide better error messages for metric reports

Release notes

Problem to solve

Metric reports work as expected only if you have a premium or ultimate license AND if the target branch for the merge request needs to have a baseline metrics report for comparison AND you're in a public project. If you set up a test on a project that does not meet 1 or all of those criteria, the metrics report will just say Metrics reports did not change, and will not provide further indication of the error or how to solve it.

Here are examples of the scenarios:

  • Trying to use a feature which isn't licensed
  • If the code is unable to run a comparison with the target branch
  • Set up metrics for a public project, change it to private

Intended users

  • Sasha (Software Developer)

User experience goal

Provide a message that accurately describes the scenario and how to fix it.

Proposal

TBD

Provide empty states that describe accurate messaging and next steps. Examples include:

  • Trying to use a feature which isn't licensed should return, say: "upgrade your subscription to use this feature"
  • If the code is unable to run a comparison with the target branch, it should provide guidance on how to fix that issue.

Further details

Merge request metrics reports shows "Metrics reports did not change" on private projects pipelines.

The test was done on this repo https://gitlab.com/ian.girouard/metrics-testing

  • Let's assume the project is public
  • Create a branch, do a change on test.txt
  • Push the changes
  • Create a merge request
  • Metrics report shows metrics changed on one point
  • Go to the project settings, set the project to private
  • Run the merge request pipeline again
  • Metrics report shows metrics did not change

Example project: https://gitlab.com/ian.girouard/metrics-testing , you can fork it to test the private-public settings

Permissions and Security

Documentation

Availability & Testing

Available Tier

Feature Usage Metrics

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

More metric reports will be set up and work as expected.

What is the type of buyer?

Is this a cross-stage feature?

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 23, 2022 by Gina Doyle
Assignee
Assign to
Time tracking