From ff3e9930cb118cd02d19407d7ed68992f5a77a33 Mon Sep 17 00:00:00 2001 From: Simon Knox Date: Wed, 21 Aug 2019 09:06:31 +0000 Subject: Adds specific metric styles and prop This MR adds the styles for displaying a single chart next to another one when embedding them in an issue. --- .../project/integrations/img/generate_link_to_chart.png | Bin 0 -> 35573 bytes doc/user/project/integrations/prometheus.md | 4 ++++ 2 files changed, 4 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..03e018969b1 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..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:////environments//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 `` must correspond to a real environment. -- cgit v1.2.1