diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2019-08-21 09:06:33 +0000 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2019-08-21 09:06:33 +0000 |
commit | aed489bf901745ced6618e680913d0d213998923 (patch) | |
tree | 143045af7214ae6746e7b7c9df647c71ec2bd675 | |
parent | 1ac34762741a4004d137aaa771c8342fe5ade386 (diff) | |
parent | ff3e9930cb118cd02d19407d7ed68992f5a77a33 (diff) | |
download | gitlab-ce-aed489bf901745ced6618e680913d0d213998923.tar.gz |
Merge branch '62971-embed-specific-metrics-chart-in-issue-docs' into 'master'
Embed specific metrics chart in issue docs
See merge request gitlab-org/gitlab-ce!31900
-rw-r--r-- | doc/user/project/integrations/img/generate_link_to_chart.png | bin | 0 -> 35573 bytes | |||
-rw-r--r-- | doc/user/project/integrations/prometheus.md | 4 |
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/user/project/integrations/img/generate_link_to_chart.png b/doc/user/project/integrations/img/generate_link_to_chart.png Binary files differnew file mode 100644 index 00000000000..03e018969b1 --- /dev/null +++ b/doc/user/project/integrations/img/generate_link_to_chart.png diff --git a/doc/user/project/integrations/prometheus.md b/doc/user/project/integrations/prometheus.md index aa7db97c413..3ddda802796 100644 --- a/doc/user/project/integrations/prometheus.md +++ b/doc/user/project/integrations/prometheus.md @@ -363,6 +363,10 @@ It is possible to display metrics charts within [GitLab Flavored Markdown](../.. To display a metric chart, include a link of the form `https://<root_url>/<project>/environments/<environment_id>/metrics`. +A single chart may also be embedded. You can generate a link to the chart via the dropdown located on the right side of the chart: + +![Generate Link To Chart](img/generate_link_to_chart.png) + The following requirements must be met for the metric to unfurl: - The `<environment_id>` must correspond to a real environment. |