Skip to main content

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

Alerting when an asset check fails

Run alert

Alerting when a run fails

Alerting when a run is taking too long to complete

Code location alert

Automation alert

Agent unavailable alert

note

Alerting when a Hybrid agent becomes unavailable is only available for Hybrid deployments.

Credit budget alert

note

The example configuration below can be used in both Serverless and Hybrid deployments.

Ask Dagster AI