Skip to content

Improve the URL of custom metrics dashboards

Problem to solve

Metrics dashboard URLs are quite long and difficult for a user to visualize which dashboard is being loaded at first glance. This makes it difficult to share URLs and collaborate with multiple dashboards between people.

Intended users

Further details

Proposal

Currently, a dashboard URL looks something like:

https://gitlab.com/ClemMakesApps/test-metrics/-/environments/1677270/metrics?dashboard=.gitlab/dashboards/sla.yml

Potential solution:

  • assume that the first environment is being used if no environment is in the URL
  • remove the .gitlab/dashboard part of the URL
  • denote dashboard as /d/ for easy access

https://gitlab.com/ClemMakesApps/test-metrics/-/d/sla.yml

Permissions and Security

Documentation

Availability & Testing

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

What is the type of buyer?

Is this a cross-stage feature?

Links / references

Edited by Reuben Pereira