summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlauraMon <lmontemayor@gitlab.com>2019-08-16 00:58:17 -0400
committerlauraMon <lmontemayor@gitlab.com>2019-08-16 00:58:20 -0400
commit0a5d49f7ba2298da02a13ad627990f6a82dbec07 (patch)
tree4d5fbebe0b48d9c12c111aac4e7e06887ecb2ecb
parent146243da16108d22efd30b649c95091ada0a7cc1 (diff)
downloadgitlab-ce-0a5d49f7ba2298da02a13ad627990f6a82dbec07.tar.gz
Adds docs for embedding chart
-rw-r--r--doc/user/project/integrations/img/generate_link_to_chart.pngbin0 -> 146189 bytes
-rw-r--r--doc/user/project/integrations/prometheus.md5
2 files changed, 5 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
new file mode 100644
index 00000000000..fd9c12391b5
--- /dev/null
+++ b/doc/user/project/integrations/img/generate_link_to_chart.png
Binary files differ
diff --git a/doc/user/project/integrations/prometheus.md b/doc/user/project/integrations/prometheus.md
index aa7db97c413..054ebaf5d7b 100644
--- a/doc/user/project/integrations/prometheus.md
+++ b/doc/user/project/integrations/prometheus.md
@@ -363,6 +363,11 @@ 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 can 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.