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
a3c7b5bd
Commit
a3c7b5bd
authored
Aug 27, 2020
by
rpereira2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update metrics embeds docs to mention new URL format
parent
0eea0526
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
3 deletions
+16
-3
doc/operations/metrics/embed.md
doc/operations/metrics/embed.md
+16
-3
doc/operations/metrics/img/embedded_metrics_markdown_v12_8.png
...perations/metrics/img/embedded_metrics_markdown_v12_8.png
+0
-0
doc/operations/metrics/img/embedded_metrics_rendered_v12_8.png
...perations/metrics/img/embedded_metrics_rendered_v12_8.png
+0
-0
doc/operations/metrics/img/embedded_metrics_rendered_v13_4.png
...perations/metrics/img/embedded_metrics_rendered_v13_4.png
+0
-0
No files found.
doc/operations/metrics/embed.md
View file @
a3c7b5bd
...
...
@@ -20,15 +20,28 @@ metrics to others, and you want to have relevant information directly available.
NOTE:
**Note:**
Requires
[
Kubernetes
](
../../user/project/integrations/prometheus_library/kubernetes.md
)
metrics.
Note:
**Note:**
In GitLab versions 13.3 and earlier, metrics dashboard links were in the form
`https://<root_url>/<project>/-/environments/<environment_id>/metrics`
. These links
are still supported, and can be used to embed metric charts.
To display metric charts, include a link of the form
`https://<root_url>/<project>/-/
environments/<environment_id>/metrics
`
in a field
`https://<root_url>/<project>/-/
metrics?environment=<environment_id>
`
in a field
that supports GitLab-flavored Markdown:
![
Embedded Metrics Markdown
](
img/embedded_metrics_markdown_v12_8.png
)
```
markdown
### Summary
**Start time:**
2020-01-21T12:00:31+00:00
### Metrics
https://gitlab.com/gitlab-org/monitor/tanuki-inc/-/metrics?environment=1118134
```
GitLab unfurls the link as an embedded metrics panel:
![
Embedded Metrics Rendered
](
img/embedded_metrics_rendered_v1
2_8
.png
)
![
Embedded Metrics Rendered
](
img/embedded_metrics_rendered_v1
3_4
.png
)
You can also embed a single chart. To get a link to a chart, click the
**{ellipsis_v}**
**More actions**
menu in the upper right corner of the chart,
...
...
doc/operations/metrics/img/embedded_metrics_markdown_v12_8.png
deleted
100644 → 0
View file @
0eea0526
13.5 KB
doc/operations/metrics/img/embedded_metrics_rendered_v12_8.png
deleted
100644 → 0
View file @
0eea0526
64.5 KB
doc/operations/metrics/img/embedded_metrics_rendered_v13_4.png
0 → 100644
View file @
a3c7b5bd
23.5 KB
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