Developing templates for custom dashboards (deprecated)

Deprecated in GitLab 14.7.

caution
This feature is in its end-of-life process. It is deprecated in GitLab 14.7, and is planned for removal in GitLab 16.0.

GitLab provides a template to make it easier for you to create templates for custom dashboards. Templates provide helpful guidance and commented-out examples you can use.

Apply a dashboard template

Go to the browser-based editor of your choice:

  • In the Repository view:

    1. Go to Repository > Files.
    2. Select Add to tree and select New file, then select Select a template type to see a list of available templates: Metrics dashboard template selection
  • In the Web IDE:

    1. Select Web IDE when viewing your repository.
    2. Select New file, then select Choose a template to see a list of available templates: Metrics dashboard template selection WebIDE

Custom dashboard templates

To enable and use a custom dashboard templates on your GitLab instance, read the guide for creating custom templates.