From 0a5d49f7ba2298da02a13ad627990f6a82dbec07 Mon Sep 17 00:00:00 2001 From: lauraMon Date: Fri, 16 Aug 2019 00:58:17 -0400 Subject: Adds docs for embedding chart --- .../integrations/img/generate_link_to_chart.png | Bin 0 -> 146189 bytes doc/user/project/integrations/prometheus.md | 5 +++++ 2 files changed, 5 insertions(+) create mode 100644 doc/user/project/integrations/img/generate_link_to_chart.png 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 Binary files /dev/null and b/doc/user/project/integrations/img/generate_link_to_chart.png 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:////environments//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 `` must correspond to a real environment. -- cgit v1.2.1