-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Synthetics] fix recovery message (#188461)
## Summary Fixes #188387 We previously relied on state to populate values in alert recovery messages. However, values were removed from state when onboarding the rule with FAAD. Fortunately, onboarding with FAAD means we now have access to the alert document within recovery. This PR uses values from that document, instead of state, to populate the alert recovery message. ### Testing 1. Create an oblt cluster with `/create-ccs-cluster` on slack. Choose `dev-oblt`. 2. Add the configuration values from the oblt command to your kibana.yml 3. Navigate to `app/synthetics/settings/alerting` and add a default connector. The easiest connector to add would be a Server log 4. Create an intentionally down HTTP monitor 5. Wait to receive an alert to your alert connector 6. Update the monitor so that the monitor comes up 7. Wait to receive an alert recovery message to your alert connector. The recovery message data should be completely populated
- Loading branch information
1 parent
ac5beb6
commit b562c8e
Showing
2 changed files
with
48 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters