Acceldata
Acceldata XDP

Last updated: Oct 28, 2026 12:01 IST

Jobs

Explanation (Core Concepts)

What are job alerts?

As a Data Engineer, you attach an alert to a job so a failed run, a cancelled run, or a run that takes too long reaches Slack, Microsoft Teams, or email. The steps are the same for every job.

You do this in two parts. First create a channel group, which is the list of places that receive the message. Then add an alert rule on the job that points at that group. You can add the rule while you create the job, on the Alerts step, or later from the job page. xDP checks the rule on a schedule and raises an alert when a run matches.

Key Concepts

  • Channel group — Where the message goes. Turn on Slack, Teams, email, or any combination. Every enabled channel receives the alert.
  • Event type — What xDP watches for on this job: Job failed, Job long running, Job unsuccessful, or Job Long Duration.
  • Threshold — For a long-running or long-duration rule, the number of minutes the run must exceed before the rule matches.
  • Evaluation window — How far back, in minutes, xDP looks for a matching run. The default is 5.
  • Evaluation interval — How often, in minutes, xDP runs the check. The default is 5, so a new match is not instant.
  • Raised alert — The open item under Alerts after a match, including severity and an occurrence count.

Capabilities

  • Notify on failure(monitoring) — Use Job failed when the run ends in Failed.
  • Notify while a run is still going(monitoring) — Use Job long running and set the minute threshold. The run must still be in progress.
  • Notify on cancel(monitoring) — Use Job unsuccessful and set the status to match to Cancelled.
  • Notify when a finished run was slow(monitoring) — Use Job Long Duration and set the minute threshold. The run must already have finished.
  • Fan out one rule(configuration) — Put Slack, Teams, and email in one channel group. You do not create a separate rule per channel.

Note

A run that fails in a few seconds does not match a long-duration rule whose threshold is higher than that runtime. Lower the threshold if you are testing with a short job.

Tutorial (Getting Started)

Prerequisites

  • A job already exists on the cluster you are using, or you are about to create one.
  • You can open that job and you can open Alerts.
  • You have one destination ready:
  • Slack: an incoming webhook URL. The URL must be https.
  • Email: the addresses that should receive the message.
  • Teams: a standard channel, and a Workflow created in that channel. See the note below.

Note

Teams delivers the alert only after a Workflow exists in that channel. Open the channel, select Workflows, and choose Send webhook alerts to a channel. Copy the https webhook and paste it into the channel group. Classic Office 365 connector URLs no longer deliver. Private channels are not supported. Add a co-owner on the Workflow so it keeps working if the person who created it leaves. Slack and email do not use this step.

Note

Select the cluster in the header before you create the group or read raised alerts. The group and the alerts you see belong to that cluster.

Your first job alert

Create one channel group, attach a Job failed rule to one job, and confirm the raised alert.

Example: The nightly orders job should post to the data-engineering Slack channel and email the on-call list when a run fails.

  1. Open Alerts, then Channel Groups.
  2. Select New channel group.

New channel group, and the channels already attached to an existing groupNew channel group, and the channels already attached to an existing group

  1. Enter a group name, for example Data engineering. A description is optional.
  2. Turn on the channels you will use. At least one channel must be on.
  3. Slack: paste the webhook URL. Channel name is optional.
  4. Teams: paste the webhook URL from the Send webhook alerts to a channel Workflow.
  5. Email: turn the channel on and enter To. Separate extra addresses with commas. CC and BCC are optional.

Teams webhook and the email addresses on a channel groupTeams webhook and the email addresses on a channel group

  1. Select Create channel group. The group appears in the list.
  2. Open the job. In Alerts, select Add alert. You can do the same on the Alerts step while creating the job.
  3. Enter an alert name, for example Orders job failed.
  4. Set Severity. Medium is the default. Use High or Critical when the job is on a production path.
  5. Open Event Type and select Job failed. The same list has the other three job conditions.

The four job event types. Job failed is the one to select for this tutorial.The four job event types. Job failed is the one to select for this tutorial.

  1. Open Channel Groups and select the group from step 5. You can select more than one group.
  2. Leave Evaluation Window (min) and Evaluation Interval (min) at 5. Keep the window at or below the interval so the same run is not sent again on the next check.
  3. Leave Alert is enabled on, and select Save alert. The rule is listed under Configured Alerts on the job.

Run the job so that it fails. Wait for the next check, about five minutes with the defaults. Times in the message are UTC.

  1. Open Alerts, then View Alerts. The rule is listed with status Open. You can filter by severity, status, or category, or search by name. The row shows the rule, type, severity, status, how many times it has matched, how many are still open, how many are resolved, and when it was last raised.

A raised Job failed alert, with the rule name, status, and occurrence count markedA raised Job failed alert, with the rule name, status, and occurrence count marked

Note

The same open alert can gain occurrences. Each later check that still sees a matching run adds one and can send another message. A single failed run often shows more than one occurrence when the window is longer than the interval.

How-to Guides

Alert when a job runs too long

Use this when the job is still running and has already passed the time you care about.

  1. On the job, select Add alert.
  2. Name the alert, for example Orders job still running.
  3. Set Event Type to Job long running.
  4. Set Long-running threshold (minutes). The default is 120. Use a smaller number, such as 5, when you are proving the rule with a short test job.
  5. Select the channel group and save.

The rule matches only while the run is still in progress and older than the threshold. A run that finishes first does not match.

Alert when a job is cancelled

  1. On the job, select Add alert.
  2. Set Event Type to Job unsuccessful.
  3. Set Status to match to CANCELLED.
  4. Select the channel group and save.
  5. Start a run and cancel it. After the next check, the raised alert is open under Alerts.

Leave Status to match empty only when you want the default, which is a failed run. For a cancel, set it explicitly.

Alert when a finished run took too long

  1. On the job, select Add alert.
  2. Set Event Type to Job Long Duration.
  3. Set the minute threshold. The default is 240. The run must finish, and the time from start to end must be greater than this number.
  4. Select the channel group and save.

When the message does not arrive

What you see

What to check

Nothing in Teams, and email or Slack did arrive

The Teams webhook is missing, it is an old connector URL, the channel is private, the Workflow owner has left, or the organization has disabled Workflows. Use a standard channel, add a co-owner, and paste a new Send webhook alerts to a channel URL.

The same run notifies again a few minutes later

The evaluation window is longer than the evaluation interval. Set the window at or below the interval.

No alert under View Alerts

The rule is disabled, the channel group is not selected, or the run did not match the event type. A cancel does not match Job failed. A finished run does not match Job long running.

The email is missing

Check junk, and confirm every address on To is valid.

Reference

Event types

Event type

Matches when

Extra field

Default

Job failed

The run status is Failed

None

—

Job long running

The run is still in progress and started longer ago than the threshold

Long-running threshold (minutes)

120

Job unsuccessful

The run status equals the value you set

Status to match

FAILED

Job Long Duration

The run has finished and lasted longer than the threshold

Long-running threshold (minutes)

240

Alert fields

Field

Description

Default

Required

Alert name

Name shown on the raised alert and in the message

—

Yes

Severity

Critical, High, Medium, or Low

Medium

No

Description

Text stored with the rule

—

No

Event type

Which condition to watch

—

Yes

Channel groups

Where to send the message. One or more.

—

Yes

Evaluation window (min)

How far back to look for a matching run

5

No

Evaluation interval (min)

How often to check

5

No

Max results

How many matching runs one check returns

100

No

Tags

Comma-separated labels stored on the rule

—

No

Alert is enabled

Off keeps the rule and does not notify

On

No

Channel group fields

Field

Description

Required

Group name

Name you pick when attaching the rule to a job

Yes

Description

Shown on the group

No

Slack webhook URL

Slack incoming webhook. Must be https.

Yes, if Slack is on

Slack channel

Channel name

No

Teams webhook URL

Webhook from a Send webhook alerts to a channel Workflow in a standard channel. Must be https.

Yes, if Teams is on

Email To

One or more addresses, separated by commas

Yes, if Email is on

Email CC, BCC

Extra recipients

No

At least one of Slack, Teams, or email must be turned on.

View Alerts columns

Column

Meaning

Alert Rule

The rule that matched

Type

Job or workflow

Severity

Critical, High, Medium, or Low

Status

Open while the alert is still raised

Occurrences

How many checks have matched

Open count

How many of those are still open

Resolved count

How many have been resolved

Last raised

When the latest match was recorded. Times in the message itself are UTC.

Best Practices

Tip

Create one channel group for the team and reuse it. Do not paste the same webhook into a new group for every job.

  • Pick the event type for the outcome you care about. Job failed does not fire for a cancel. Job long running does not fire after the run has already finished.
  • Set the threshold below the runtime you want to catch. A 10-minute job never matches a 120-minute threshold.
  • Keep the evaluation window at or below the evaluation interval. A longer window sends the same run again on the next check. The defaults, 5 and 5, are the right starting point.
  • Read occurrences as a count of checks, not a count of runs. One failed run can show several occurrences while it remains inside the window.
  • Add a co-owner to the Teams Workflow. The workflow belongs to the person who created it.
  • Turn the rule off instead of deleting it when you are debugging a noisy job. Disabled rules stay on the job and do not send.

Notification examples

The same Job failed alert, as it arrives in each channel. You cannot change this wording yet.

Slack

Slack message for a failed jobSlack message for a failed job

Email

Email message for a failed jobEmail message for a failed job

Microsoft Teams

Note

This card is posted by the Workflow you created in the channel. Create Send webhook alerts to a channel in that channel first, then paste its webhook into the channel group. The title colour follows severity: Critical and High are red, Medium is amber, and Low is green.

Teams message for a failed job, sent by the channel WorkflowTeams message for a failed job, sent by the channel Workflow