Example alert policy configuration
If you prefer to manage your alerts through configuration files instead of the UI, you can create a YAML file using the following snippets and adjust as needed. To sync the file to your Dagster+ deployment, run:
dagster-cloud deployment alert-policies sync -a /path/to/alert_policies.yaml
Asset alert
Alerting when an asset fails to materialize
- Microsoft Teams
- PagerDuty
- Slack
Alerting when an asset check fails
- Microsoft Teams
- PagerDuty
- Slack
Run alert
Alerting when a run fails
- Microsoft Teams
- PagerDuty
- Slack
Alerting when a run is taking too long to complete
- Microsoft Teams
- PagerDuty
- Slack
Code location alert
- Microsoft Teams
- PagerDuty
- Slack
Automation alert
- Microsoft Teams
- PagerDuty
- Slack
Agent unavailable alert
note
Alerting when a Hybrid agent becomes unavailable is only available for Hybrid deployments.
- Microsoft Teams
- PagerDuty
- Slack
Credit budget alert
note
The example configuration below can be used in both Serverless and Hybrid deployments.
- Microsoft Teams
- PagerDuty
- Slack