Implementation

This section covers creating, configuring, and managing Application Alerts from the console.

Create an Alert

To create a new alert:

  1. Navigate to DevOps in the left pane of the Catalyst console and click Application Alerts.

  2. Click Create Alert in the Application Alerts component. This will open a pop-up.
    app-alerts

  3. Select the component to associate with the alert and provide a name for the alert. Based on the component you select, you must configure the other values.

    Cron: Select the schedule point to filter crons based on function executions or third-party URL executions. You can then select one or more crons from the drop-down list to configure the alert for.
    create-alert
    Event Listener: Select an event bus. You can select the Catalyst Component Event Listener or a custom event listener. Select one or more rules of the event listener to associate with the alert.

    create-alert
    Logs: There will be no further entities to select for a Logs alert.
    create-alert

  4. You must now configure the alert details.

    Cron or Event Listener: Select one or more of the alert conditions from the drop-down list. Select the criteria comparator and provide a threshold value. You must then specify the alert frequency. You can select a time frequency, or configure the alert to be sent on a particular hour and minute everyday.
    create-alert
    Logs: Click the Logs Query text field to open the Logs Query Generator. Select the log type, and one or more functions from the list. Enter the keyword to search for in the query. If you select Application logs, you must select a log level. Click Apply. This will automatically generate a query string.
    create-alert
    You can then select the criteria comparator and provide a threshold value. Specify the alert frequency as a time range, or configure the alert to be sent a particular hour and minute everyday.
    create-alert
    The pop-up displays the configuration interpretation of the alert.

  5. Enter the email addresses of all the recipients to be notified of the alert. You can add up to 10 emails. Click the (+) icon to add more. You must add atleast one email address. create-alert

  6. Click Create.

    The alert will be created and the details will be displayed. A unique Alert ID will be automatically generated for each alert that is created.

    alert-created

For Event and Cron alerts, you can directly add more entities of the event listener or other crons to associate the alert with respectively, by clicking +Configure in its details page.

This will open a pop-up where you can select more event listener rules or crons for the alert. Click Configure after making the selection.

alert-configure

The entities will be added and you will receive alerts for these entities as well.

alert-configure

You can find a list of all the alerts you create, as well as their details, by navigating back to the index page of Application Alerts. You can filter the alerts to view based on the component using the drop-down above.

alerts-list

Note: Catalyst offers you the flexibility to configure alerts for Cron, Event Listeners and Logs from the respective components. You don't necessarily have to navigate to the Application Alert component to do so.

Edit an Alert

You can modify an alert and edit any of its configurations in the following way:

  1. Click the ellipsis icon for an alert from the alerts list, then click Edit. You can also open an alert and click Edit from its details page.
    alert-edit
  2. Modify the required configurations, then click Edit.
    alert-edit

The alert will then be sent based on the modified configurations. If you change the frequency, the alert will be triggered based on it starting from the time of its modification.

Disable an Alert

You can temporarily disable an alert if you don’t need to be notified of it. You can re-enable it later whenever you need to.

  1. Click the ellipsis icon for an alert from the alerts list, then click Disable. You can also access this option from its details page by opening the alert.
    alert-disable
  2. Click Yes, Proceed in the confirmation pop-up.
    alert-disable

The alert will be disabled. You can enable it again by clicking Enable from the index page or its details page in the same way.

Delete an Alert

You can permanently delete an alert in the following way:

  1. Click the ellipsis icon for an alert from the alerts list, then click Delete. You can also access this option from its details page by opening the alert.

alert-delete

  1. Click Yes, Proceed in the confirmation pop-up.

alert-delete

Last Updated 2023-06-09 21:17:32 +0530 +0530