Alerts for chaos experiment
Configure rules to receive alerts for your chaos experiments.
This topic describes how you can create email alerts for your chaos experiments.
Experiment Alerts
Alerts provide crucial updates about your experiment runs, keeping you informed about the start, stop, and completion of your chaos experiments based on the experiment event you have configured to receive the alerts for).
Importance of Alerts
Alerts provide the status of the chaos experiments and other details, including run details, fault configurations, probes used, and so on). These updates can be valuable for making informed business decisions and serve as historical data for previous experiment runs.
Create and Use Alerts
You can setup alerts by creating a channel and defining conditions. Once setup, you can apply these conditions to a rule.
Ensure SMTP is Configured
To verify SMTP configuration for your account, navigate to Administrative Settings.

Check if SMTP Configuration is marked as Configured.

Create a Channel
Navigate to Chaos Engineering module. Select Project Settings, then under Notifications and alerts, select Notification Channels.

Click + New Channel.

Enter a Channel Name, select Channel Type (currently supports email only), and provide the associated value for channel type (email in this case). Select Apply.

This creates a new channel.

Create a Rule
Navigate to Project Settings, then under Notifications and alerts, select Notification Rules. To create a new rule, click + New Notification.

Enter a Notification Name and select Continue. Select Chaos Experiments as Resource Type because HCE currently supports alerting for chaos experiments only. Click Continue.

You can associate a rule with one or more conditions. Select + Add Condition. In the modal that appears, you can either create a condition or select one or more existing conditions. Select Continue.
Create a Condition
Provide a Condition Name, select the events (such as chaos experiment started, stopped, or completed) for which you want to receive the alerts. Select Apply.

Review the conditions configured for your rule and click Continue.
Select Channel for Alerts
Click Select Channels. Choose channel/s that you configured earlier and select Apply Selected. To create a new channel, select New Channel.

Select Apply Selected.

You can Enable or disable the rule based by selecting or deselecting the radio button. By default, it is set to Enable on Save. Select Submit.

Sample Run report
Once you've set up your email to receive alerts for completed chaos experiments (as part of creating conditions) and the feature flag is enabled, you'll receive a run report as an attachment. This report will include details like run information, fault details, and more.

Delete a Rule
Select the rule and click Delete. Confirm by selecting Delete.

Next Steps
Last updated
Was this helpful?