debian-mirror-gitlab/doc/operations/metrics/dashboards/develop.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

40 lines
1.6 KiB
Markdown
Raw Normal View History

2020-10-24 23:57:45 +05:30
---
stage: Monitor
2022-04-04 11:22:00 +05:30
group: Respond
2022-11-25 23:54:43 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
2020-10-24 23:57:45 +05:30
---
2022-03-02 08:16:31 +05:30
# Developing templates for custom dashboards (DEPRECATED) **(FREE)**
> [Deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/346541) in GitLab 14.7.
WARNING:
This feature is in its end-of-life process. It is [deprecated](https://gitlab.com/gitlab-org/gitlab/-/issues/346541)
2022-06-21 17:19:12 +05:30
in GitLab 14.7, and is planned for removal in GitLab 16.0.
2020-10-24 23:57:45 +05:30
GitLab provides a template to make it easier for you to create templates for
[custom dashboards](index.md). Templates provide helpful guidance and
commented-out examples you can use.
## Apply a dashboard template
2023-04-23 21:23:45 +05:30
Go to the browser-based editor of your choice:
2020-10-24 23:57:45 +05:30
- In the **Repository view**:
2023-04-23 21:23:45 +05:30
1. Go to **Repository > Files**.
1. Select **Add to tree** and select **New file**,
2022-07-23 23:45:48 +05:30
then select **Select a template type** to see a list of available templates:
2020-10-24 23:57:45 +05:30
![Metrics dashboard template selection](img/metrics_dashboard_template_selection_v13_3.png)
- In the **[Web IDE](../../../user/project/web_ide/index.md)**:
2022-07-23 23:45:48 +05:30
1. Select **Web IDE** when viewing your repository.
2023-04-23 21:23:45 +05:30
1. Select **New file**, then select **Choose a template** to see a list of available templates:
2020-10-24 23:57:45 +05:30
![Metrics dashboard template selection WebIDE](img/metrics_dashboard_template_selection_web_ide_v13_3.png)
2021-03-11 19:13:27 +05:30
## Custom dashboard templates **(PREMIUM SELF)**
2020-10-24 23:57:45 +05:30
To enable and use a custom dashboard templates on your GitLab instance, read the
[guide for creating custom templates](../../../user/admin_area/settings/instance_template_repository.md).