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
ddd88a64
Commit
ddd88a64
authored
Jun 11, 2020
by
Dhiraj Bodicherla
Committed by
Amy Qualls
Jun 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update prometheus docs
This MR adds link type to prometheus docs along with the time range feature
parent
dee867c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
doc/user/project/integrations/prometheus.md
doc/user/project/integrations/prometheus.md
+9
-0
No files found.
doc/user/project/integrations/prometheus.md
View file @
ddd88a64
...
...
@@ -397,6 +397,7 @@ Read the documentation on [templating](#templating-variables-for-metrics-dashboa
| -------- | ---- | -------- | ----------- |
|
`url`
| string | yes | The address of the link. |
|
`title`
| string | no | Display title for the link. |
|
`type`
| string | no | Type of the link. Specifies the link type, can be:
`grafana`
|
Read the documentation on
[
links
](
#add-related-links-to-custom-dashboards
)
.
...
...
@@ -844,9 +845,14 @@ templating:
Related links can be added to the top of your metrics dashboard, which can be used for quickly
navigating between dashboards or external services. The links will open in the same tab.
The dashboard's time range is appended to the
`url`
as URL parameters.
The
`url`
attribute is required for the link but the
`title`
attribute is optional; if the
`title`
is missing then the full address of the URL will be displayed.
The
`type`
attribute is optional; if the
`type`
is
`grafana`
, the dashboard's time range values are
converted to Grafana's time range format and appended to the
`url`
.
![
Links UI
](
img/related_links_v13_1.png
)
#### Links Syntax
...
...
@@ -857,6 +863,9 @@ links:
url
:
https://gitlab.com
-
title
:
GitLab Documentation
url
:
https://docs.gitlab.com
-
title
:
Public Grafana playground dashboard
url
:
https://play.grafana.org/d/000000012/grafana-play-home?orgId=1
type
:
grafana
```
### View and edit the source file of a custom dashboard
...
...
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