You can set up notifications to alert your team whenever new, resurfaced, or critical events occur. These events can include exceptions, log events, or custom events. With these alerts, you can ensure that your team is aware of important events and take appropriate action as needed.
To set up notifications in CET:
In your Harness project, navigate to Continuous Error Tracking > Monitored Services, and then select the monitored service to set up notifications.
In the monitored service details page, go to the Notifications tab, and select + New Notification Rule.
In the New Notification wizard, do the following:
Enter a name for the notification and select Continue.
On the Conditions page, select Code Errors from the Condition dropdown list, choose the desired Events (such as new, critical, or resurfaced events), and the Event Type (such as log errors). You can choose multiple events and event types.
Optionally, you can add multiple conditions by selecting + Add Condition.
Select Next to go to the Notification Method page.
Select a Notification Method, such as Slack or Email, and complete the following settings:
Notification Method Settings Slack Enter the Slack Webhook URL to which the notification should be sent. Enter the email addresses to which the notifications should be sent.
If you choose Slack as your notification method, you can select a Harness user group that is part of a Harness project, organization, or an account. Notifications are sent to the Slack or Microsoft Teams channels that are associated with the selected user group.
To create a new user group, click on Select User Group(s) and then + User Group. In the New User Group dialog, enter a name for the group, an optional description and tags, and then Add Users. Select Save. The new user group appears in the user groups list.
Select Test to verify that the alert is functioning correctly.
Select Finish to save the settings. You should now see the notification rule displayed in the Notifications section.
Enable the notification rule using toggle switch to start receiving alert notifications.