Alerts

Alerts

Overview

This feature enables you to set up alerts for specific orchestrations and receive instant notifications when those orchestrations are in a certain state, such as in the case of failures.

Define an alert in the Data catalog mode

An alert contains the following properties:

  • Name: The name of the alert
  • Trigger: This property defines the conditions that will activate the alert. It contains two sub-properties:
    • Orchestrations: Can choose one or more schedule builds that you wish to monitor.
    • Status: This represents the orchestration states that will trigger the alert. Possible statuses include Ready, Partially Invalid, Invalid.
  • Destinations: the email addresses of the team or individual maintainer who will receive the alert notifications.
Add an alert.

Define an alert in the Code editor mode

If you create a new scheduled build in Data Catalog mode, Y42 automatically generates a YAML file with the necessary configurations. In Code Editor mode, you have the option to modify existing scheduled builds or define new ones. Any changes you make will be reflected in both development modes.

Name the alert

Define the orchestration you wish to monitor.

Define the statuses that will trigger the alert.

Define the email addresses to be notified

Turn the alert on/off

alerts/marketing_alert.yml

_18
version: 2
_18
_18
alerts:
_18
- name: marketing_alert
_18
config:
_18
trigger:
_18
type: orchestration_status
_18
orchestrations:
_18
- marketing_orchestration
_18
triggered_on:
_18
- ready
_18
- partially_ready
_18
- invalid
_18
destinations:
_18
email:
_18
email_addresses:
_18
- marketing@y42.com
_18
enabled: true