From d142ecdb9781ef6978ff7e6ed8f73e3d9b27ccf9 Mon Sep 17 00:00:00 2001 From: Brandon Morelli Date: Wed, 27 Jan 2021 14:16:38 -0800 Subject: [PATCH] docs: conditionally display videos in obs-docs (#350) --- docs/en/observability/analyze-metrics.asciidoc | 10 ++++++++++ docs/en/observability/apm.asciidoc | 10 ++++++++++ docs/en/observability/monitor-logs.asciidoc | 10 ++++++++++ docs/en/observability/user-experience.asciidoc | 10 ++++++++++ 4 files changed, 40 insertions(+) diff --git a/docs/en/observability/analyze-metrics.asciidoc b/docs/en/observability/analyze-metrics.asciidoc index 8533eae27c..62345e461c 100644 --- a/docs/en/observability/analyze-metrics.asciidoc +++ b/docs/en/observability/analyze-metrics.asciidoc @@ -16,6 +16,10 @@ Using {metricbeat} modules, you can ingest and analyze metrics from servers, Docker containers, Kubernetes orchestrations, explore and analyze Prometheus-style metrics or application telemetries, and many more. +// Conditionally display a screenshot or video depending on what the +// current documentation version is. + +ifeval::["{is-current-version}"=="true"] ++++
++++ +endif::[] + +ifeval::["{is-current-version}"=="false"] +[role="screenshot"] +image::images/metrics-app.png[Metrics app in Kibana] +endif::[] diff --git a/docs/en/observability/apm.asciidoc b/docs/en/observability/apm.asciidoc index 94f6756896..eab506db25 100644 --- a/docs/en/observability/apm.asciidoc +++ b/docs/en/observability/apm.asciidoc @@ -6,6 +6,10 @@ It allows you to monitor software services and applications in real time, by collecting detailed performance information on response time for incoming requests, database queries, calls to caches, external HTTP requests, and more. +// Conditionally display a screenshot or video depending on what the +// current documentation version is. + +ifeval::["{is-current-version}"=="true"] ++++
++++ +endif::[] + +ifeval::["{is-current-version}"=="false"] +[role="screenshot"] +image::images/apm-app-landing.png[APM app in Kibana] +endif::[] To learn more, see {apm-overview-ref-v}[APM Overview]. diff --git a/docs/en/observability/monitor-logs.asciidoc b/docs/en/observability/monitor-logs.asciidoc index a8db80858b..e1bd89a990 100644 --- a/docs/en/observability/monitor-logs.asciidoc +++ b/docs/en/observability/monitor-logs.asciidoc @@ -14,6 +14,10 @@ for quick navigation. You can also use machine learning to detect specific log anomalies automatically and categorize log messages to quickly identify patterns in your log events. +// Conditionally display a screenshot or video depending on what the +// current documentation version is. + +ifeval::["{is-current-version}"=="true"] ++++
++++ +endif::[] + +ifeval::["{is-current-version}"=="false"] +[role="screenshot"] +image::images/logs-app.png[Logs app in Kibana] +endif::[] To view the {logs-app}, go to *Observability > Logs*. diff --git a/docs/en/observability/user-experience.asciidoc b/docs/en/observability/user-experience.asciidoc index 234beb6e7a..18180601ca 100644 --- a/docs/en/observability/user-experience.asciidoc +++ b/docs/en/observability/user-experience.asciidoc @@ -11,6 +11,10 @@ all of which can impact how your application performs on end-user machines. Powered by the APM Real user monitoring (RUM) agent, all it takes is a few lines of code to begin surfacing key user experience metrics. +// Conditionally display a screenshot or video depending on what the +// current documentation version is. + +ifeval::["{is-current-version}"=="true"] ++++
++++ +endif::[] + +ifeval::["{is-current-version}"=="false"] +[role="screenshot"] +image::images/user-experience-tab.png[User experience tab] +endif::[] [discrete] [[why-user-experience]]