From bc4c27f84fdd91ab615a2a063afe58906e45bd61 Mon Sep 17 00:00:00 2001 From: Paul Bianciardi <70908889+paulb-elastic@users.noreply.github.com> Date: Thu, 9 Nov 2023 10:11:21 +0000 Subject: [PATCH] Fix browser project monitor alert config (#3300) (cherry picked from commit 653bbdd275df241062c213d912f0a322a2021c8f) # Conflicts: # docs/en/observability/synthetics-configuration.asciidoc --- .../observability/synthetics-configuration.asciidoc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/en/observability/synthetics-configuration.asciidoc b/docs/en/observability/synthetics-configuration.asciidoc index 39e465c839..6ec833f62b 100644 --- a/docs/en/observability/synthetics-configuration.asciidoc +++ b/docs/en/observability/synthetics-configuration.asciidoc @@ -209,6 +209,7 @@ 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'`. +<<<<<<< HEAD `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 <>. + @@ -217,6 +218,18 @@ Enable monitor status alerts. + `tls.enabled` (`boolean`)::: Enable TLS certificate alerts. +======= +`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`. ++ +By default, monitors are automatically retested if the monitor goes from "up" to "down". +If the result of the retest is also "down", an error will be created, and if configured, an alert sent. +Then the monitor will resume running according to the defined schedule. +Using `retestOnFailure` can reduce noise related to transient problems. +>>>>>>> 653bbdd2 (Fix browser project monitor alert config (#3300)) // end::monitor-config-options[] For information on configuring monitors individually, refer to: