Skip to content
Snippets Groups Projects
Open Store dashboard config in repo for default project dashboard
  • Store dashboard config in repo for default project dashboard

  • Store dashboard config in repo for default project dashboard

    Open Epic created by Joshua Lambert

    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.

    Problem to solve

    Currently custom metrics are stored in the database, and defined in project settings. This is less than ideal for a few reasons:

    • Changes are not version controlled
    • Changes are restricted to project administrators
    • No review process
    • and more.

    Target audience

    Further details

    Proposal

    Instead of defining this data in project settings, the canonical dashboard configuration should be persisted in the repository.

    This would allow:

    • Changes to be version controlled and reverted
    • Dashboard changes can be reviewed, suggested, and discussed in an MR along with other such changes
    • Adding/removing/changing exported metrics should be done as part of changes to the dashboard representation as well
    • Follow other patterns of GitLab

    This could be relatively easy to do:

    • We know the branch an environment is based off
    • We then select that branch's configuration to use
    • Any changes to the dashboard can be committed back that branch, or offer to create another branch

    Risks

    • We should make sure adhoc dashboards, for example troubleshooting an incident, are easy to create and low friction

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

    Links / references

    Edited by 🤖 GitLab Bot 🤖

    Linked items 0

  • Link items together to show that they're related or that one is blocking others.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first