Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab
GitLab
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 34,932
    • Issues 34,932
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 1,253
    • Merge Requests 1,253
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Metrics
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GitLab.org
  • GitLabGitLab
  • Issues
  • #34779

Closed
Open
Opened Oct 23, 2019 by Dov Hershkovitch@dhershkovitch👀Developer

Editing metric dashboard using .yml file

Problem to solve

Customize our metric dashboards require our users to perform the following steps:

  1. Go to the root directory folder
  2. Locate the dashboard.yml file
  3. Update the file
  4. Go back to the dashboard to see changes

we would like to make this experience easier and convenient for our user

Intended users

  • Delaney (Development Team Lead)
  • Sasha (Software Developer)
  • Devon (DevOps Engineer)

Proposal

Customize the dashboard using the following steps:

Case 1: User is viewing a system dashboard (e.g. common_metrics.yml)

This dashboard cannot be modified directly by the user, so we offer the possibility to copy it to the repo:

  1. In the dashboard UI the user click on a button to update the dashboard tile
  2. In the backend, we would need to locate and copy the dashboard yml file into the local repository
  3. Then we will redirect the user to the Web IDE for updating .yml
 file
  4. User will update the file & commit

Sub issues:

  • frontend PENDING
  • backend #35228 (closed)

Case 2: User is viewing a customer dashboard (e.g. .gitlab/dashboards/my_dashboard.yml)

  1. In the dashboard UI the user click on a button to update the dashboard tile
  2. Then we will redirect the user views the .yml file
  3. User will update the file & commit

Sub issues:

  • frontend #35230 (closed)
  • backend #35217 (closed)

Design

Users can edit the dashboard using an "Edit dashboard" button in the filter bar:

Screen_Shot_2019-10-25_at_3.12.45_PM

Documentation

This is the current documentation

Testing

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

Edited Nov 16, 2020 by 🤖 GitLab Bot 🤖
Assignee
Assign to
12.6
Milestone
12.6 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: gitlab-org/gitlab#34779