Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
d82856fa
Commit
d82856fa
authored
Aug 12, 2020
by
Dhiraj Bodicherla
Committed by
Miguel Rincon
Aug 12, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revise subheading into a procedure list
Move the procedures described in a set of paragraphs into a list of numbered steps.
parent
ad6947bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
0 deletions
+45
-0
doc/operations/metrics/dashboards/img/metrics_dashboard_panel_preview_v13_3.png
.../dashboards/img/metrics_dashboard_panel_preview_v13_3.png
+0
-0
doc/operations/metrics/dashboards/index.md
doc/operations/metrics/dashboards/index.md
+45
-0
No files found.
doc/operations/metrics/dashboards/img/metrics_dashboard_panel_preview_v13_3.png
0 → 100644
View file @
d82856fa
66.4 KB
doc/operations/metrics/dashboards/index.md
View file @
d82856fa
...
@@ -72,6 +72,51 @@ NOTE: **Note:**
...
@@ -72,6 +72,51 @@ NOTE: **Note:**
Configuration files nested under subdirectories of
`.gitlab/dashboards`
are not
Configuration files nested under subdirectories of
`.gitlab/dashboards`
are not
supported and won't be available in the UI.
supported and won't be available in the UI.
## Add a new metrics panel to a dashboard
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/228761) in GitLab 13.3 behind a disabled [feature flag](../../../administration/feature_flags.md): `metrics_dashboard_new_panel_page`.
The metrics dashboard supports various
[
multiple panel types
](
../../../operations/metrics/dashboards/panel_types.md
)
.
You can quickly test how a panel configuration would display in your metrics dashboard
with the
**Add Panel**
page:
1.
Sign in to GitLab as a user with Maintainer or Owner
[
permissions
](
../../../user/permissions.md#project-members-permissions
)
on a
project that has the
[
feature flag enabled
](
#enable-or-disable-testing-metrics-panels
)
.
1.
Open the URL
`https://example.com/PROJECT/-/metrics/panel/new`
, replacing
`example.com`
with your domain name, and
`PROJECT`
with the name of your project,
to display the panel configuration page.
1.
In the
**Define and preview panel**
section, paste in the YAML you want to
preview in the
**Panel YAML**
field.
1.
Click
**Preview panel**
, and GitLab displays a preview of the chart below the
`Define and preview panel`
section:
!
[
Monitoring Dashboard Add Panel page
](
img/metrics_dashboard_panel_preview_v13_3.png
)
### Enable or disable testing metrics panels
Testing metrics panels in the UI is under development and not ready for production use. It's
deployed behind a feature flag that's
**disabled by default**
.
[
GitLab administrators with access to the GitLab Rails console
](
../../../administration/feature_flags.md
)
can enable it for your instance. Testing metrics panels in the UI can be enabled or disabled per-project.
To enable it:
```
ruby
# Instance-wide
Feature
.
enable
(
:metrics_dashboard_new_panel_page
)
# or by project
Feature
.
enable
(
:metrics_dashboard_new_panel_page
,
Project
.
find
(
metrics_dashboard_new_panel_page
))
```
To disable it:
```
ruby
# Instance-wide
Feature
.
disable
(
:metrics_dashboard_new_panel_page
)
# or by project
Feature
.
disable
(
:metrics_dashboard_new_panel_page
,
Project
.
find
(
metrics_dashboard_new_panel_page
))
```
## Duplicate a GitLab-defined dashboard
## Duplicate a GitLab-defined dashboard
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/37238) in GitLab 12.7.
> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/37238) in GitLab 12.7.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment