Skip to content

Commit

Permalink
Code location alerting docs (#12411)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpeng817 committed Feb 17, 2023
1 parent 074ae45 commit 4a04e26
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/content/dagster-cloud/account/setting-up-alerts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ In this guide, we'll walk you through configuring job alerts in Dagster Cloud.

Alert policies define which events will trigger an alert, the conditions under which an alert will be sent, and how the alert will be sent.

Currently, alerts can be triggered by job run failure/success, schedule/sensor tick failure, and agent downtime.
Currently, alerts can be triggered by job run failure/success, schedule/sensor tick failure, code location load error, and agent downtime.

- **Job run based alert policies** include a set of configured tags. If an alert policy has no configured tags, all jobs will be eligible for that alert. Otherwise, only jobs that contain all the tags for a given alert policy are eligible for that alert.
- **Alert policies created for schedule/sensor tick failure will apply to all schedules/sensors**. However, you will only receive alerts when the schedule/sensor changes from a state of succeeding to failing, so subsequent failures will not trigger new alerts.
- **Code location error alert policies** will trigger when a code location fails to load due to an error.
- **Agent downtime alert policies** will trigger when a Hybrid agent stops heartbeating.

Alert policies are configured on a per deployment basis. For example, alerts configured in a `prod` deployment are only applicable to jobs in that deployment.
Expand Down Expand Up @@ -48,7 +49,7 @@ Currently, Slack and email notifications are supported.

4. Click **+ Create alert policy**.

5. From the **Alert Policy type** drop-down, select **Run alert**, **Schedule/Sensor alert**, or **Agent downtime alert**.
5. From the **Alert Policy type** drop-down, select **Run alert**, **Schedule/Sensor alert**, **Code location error alert**, or **Agent downtime alert**.

6. In the **Create alert policy** window, fill in the following:

Expand Down

1 comment on commit 4a04e26

@vercel
Copy link

@vercel vercel bot commented on 4a04e26 Feb 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.