From 836a286499d0f0b994238f8850915907ec944d01 Mon Sep 17 00:00:00 2001 From: paulb-elastic Date: Thu, 19 Oct 2023 17:40:14 +0100 Subject: [PATCH 1/2] Fix browser project monitor alert config --- docs/en/observability/synthetics-configuration.asciidoc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/en/observability/synthetics-configuration.asciidoc b/docs/en/observability/synthetics-configuration.asciidoc index 364522f054..c772966124 100644 --- a/docs/en/observability/synthetics-configuration.asciidoc +++ b/docs/en/observability/synthetics-configuration.asciidoc @@ -212,11 +212,7 @@ Control whether or not to capture screenshots. Options include `'on'`, `'off'`, `alert` (https://github.com/elastic/synthetics/blob/{synthetics_version}/src/dsl/monitor.ts#L47-L54[`AlertConfig`]):: Enable or disable alerts. Read more about alerts in <>. + -`status.enabled` (`boolean`)::: -Enable monitor status alerts. -+ -`tls.enabled` (`boolean`)::: -Enable TLS certificate alerts. +`alert: {status: {enabled: [true|false]}}` // end::monitor-config-options[] For information on configuring monitors individually, refer to <>. From 73200f5085f7b764fce1f223a51ff5665be651f7 Mon Sep 17 00:00:00 2001 From: Paul Bianciardi <70908889+paulb-elastic@users.noreply.github.com> Date: Fri, 3 Nov 2023 19:44:06 +0000 Subject: [PATCH 2/2] Simplified syntax as per Colleen's suggestion --- docs/en/observability/synthetics-configuration.asciidoc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/en/observability/synthetics-configuration.asciidoc b/docs/en/observability/synthetics-configuration.asciidoc index f5428a0f8c..7cb8ea0276 100644 --- a/docs/en/observability/synthetics-configuration.asciidoc +++ b/docs/en/observability/synthetics-configuration.asciidoc @@ -209,10 +209,8 @@ Control the monitor's download speeds, upload speeds, and latency to simulate yo `screenshot` (https://github.com/elastic/synthetics/blob/{synthetics_version}/src/common_types.ts#L192[`ScreenshotOptions`]):: Control whether or not to capture screenshots. Options include `'on'`, `'off'`, or `'only-on-failure'`. -`alert` (https://github.com/elastic/synthetics/blob/{synthetics_version}/src/dsl/monitor.ts#L47-L54[`AlertConfig`]):: -Enable or disable alerts. Read more about alerts in <>. -+ -`alert: {status: {enabled: [true|false]}}` +`alert.status.enabled` (`boolean`):: +Enable or disable monitor status alerts. Read more about alerts in <>. `retestOnFailure` (`boolean`):: Enable or disable retesting when a monitor fails. Default is `true`.