In this guide, we'll walk you through managing alert policies in Dagster+.
Prefer to work in code? You can also define and set alert policies using the dagster-cloud
CLI.
To follow the steps in this guide, you'll need:
Sign in to your Dagster+ account.
In the top navigation, click Deployment.
Click the Alerts tab.
Click + Create alert policy.
In the Create alert policy window, select an alert type and enter a name and description for the alert.
If creating an asset or run alert policy, you'll be prompted to fill in the following:
level:critical
or team:sales
In the Notification service section, select how the alert will be delivered. Refer to the Supported notification services section for information about setting up these services.
Note: If creating an asset alert, an additional Email asset owners (experimental) option will be available.
When finished, click Save policy.
You can also edit policies in bulk by making changes to the policies' underlying YAML.
Click ⌄ (More actions) > Edit policies, which is next to the Create alert policy button:
This will open a window displaying all alert policies in YAML format:
Make changes as desired.
When finished, click Save Schema to save the changes.
To enable or disable an alert, use the toggle on the left side of the alert policy.
To delete an alert policy, click the Delete button next to the policy. When prompted, confirm the deletion.