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
2f4cecfb
Commit
2f4cecfb
authored
May 14, 2020
by
Jose Vargas
Committed by
rpereira2
May 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move files to the `dashboard` dir
parent
62930b38
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
doc/user/project/integrations/prometheus.md
doc/user/project/integrations/prometheus.md
+1
-1
doc/user/project/metrics/dashboard/templating.md
doc/user/project/metrics/dashboard/templating.md
+2
-2
No files found.
doc/user/project/integrations/prometheus.md
View file @
2f4cecfb
...
...
@@ -331,7 +331,7 @@ The following tables outline the details of expected properties.
| -------- | ---- | -------- | ----------- |
|
`variables`
| Hash | no | Variables can be defined here. |
Read the documentation on
[
templating
](
../m
onitoring_dashboards
/templating.md
)
.
Read the documentation on
[
templating
](
../m
etrics/dashboard
/templating.md
)
.
##### **Panel group (`panel_groups`) properties**
...
...
doc/user/project/m
onitoring_dashboards
/templating.md
→
doc/user/project/m
etrics/dashboard
/templating.md
View file @
2f4cecfb
...
...
@@ -11,13 +11,13 @@ Templating variables can be used to make your metrics dashboard more versatile.
## Templating variable types
`templating`
is a top-level key in the
[
dashboard YAML
](
../integrations/prometheus.md#dashboard-top-level-properties
)
.
[
dashboard YAML
](
../
../
integrations/prometheus.md#dashboard-top-level-properties
)
.
Define your variables in the
`variables`
key, under
`templating`
. The value of
the
`variables`
key should be a hash, and each key under
`variables`
defines a templating variable on the dashboard.
A variable can be used in a Prometheus query in the same dashboard using the syntax
described
[
here
](
../integrations/prometheus.md#using-variables
)
.
described
[
here
](
../
../
integrations/prometheus.md#using-variables
)
.
### `text` variable type
...
...
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