PREP WITH PROOF
Menu
MICROSOFT FABRIC / PRACTICAL GUIDE

Microsoft Fabric Pipeline Duration Alerts for Slow Successful Runs

Use workspace monitoring, KQL and Fabric Activator to alert on slow completed pipeline runs. Check threshold units, repeat alerts and the DP-700 scenario.

THE QUICK ANSWER

For a Microsoft Fabric pipeline that completes successfully but runs too slowly, enable workspace monitoring and query ItemJobEventLogs for completed runs above your duration threshold. Use the KQL Queryset as a trigger in Fabric Activator and send an email or Teams notification. A scheduled failure notification will miss a successful run. To detect a run that is still in progress, monitor elapsed time against its start separately.

Choose a duration signal that matches the deadline

Start with the decisions your on-call team must make. A completion alert tells them the finished run exceeded its expected duration. An in-progress alert gives them time to intervene before a dependent job starts. A completion alert can still be useful for spotting repeat regressions, but log ingestion and query polling add a delay.

Consider a sales ingest that usually finishes in 12 to 14 minutes. The next step expects the data in 30 minutes. Start with a 20-minute threshold for completed runs. An 18-minute completion stays quiet, while a 24-minute completion raises an alert. If the team must act at minute 20 while ingestion is still running, the completion rule cannot meet that requirement.

Source: Microsoft Learn — Create alerts for pipeline runs ↗

Return one row per slow completed run

Create a KQL Queryset against the workspace monitoring Eventhouse. Start with one pipeline and replace the example ItemId with its actual ID. The query selects the latest completed record per job instance inside the ingestion window. It returns the run ID and end time so the responder can find the execution in Monitoring hub.

DurationMs is measured in milliseconds. For the example, 20 minutes is 1,200,000 ms. The strict greater-than filter leaves a run of exactly 20 minutes quiet. Failed runs belong in the failure rule. If you want to monitor several pipelines, define thresholds for workloads with comparable expectations or maintain a separate threshold per item.

let Lookback = 10m;
let ThresholdMs = 20 * 60 * 1000;
let PipelineId = "REPLACE_WITH_PIPELINE_ITEM_ID";
ItemJobEventLogs
| where ingestion_time() >= ago(Lookback)
| where ItemKind == "Data Pipeline" and ItemId == PipelineId
| where JobStatus == "Completed" and isnotempty(JobInstanceId)
| summarize arg_max(Timestamp, *) by JobInstanceId
| where DurationMs > ThresholdMs
| extend DurationMinutes = round(todouble(DurationMs) / 60000.0, 1)
| project JobInstanceId, ItemName, WorkspaceName,
          JobStartTime, JobEndTime, DurationMinutes

Source: Microsoft Learn — Item job event logs and schema ↗

Test the rule for repeat alerts and late records

Run the query first and inspect the selected rows. In the Queryset, select Set alert and choose email or Teams. Include the pipeline and job instance in the notification. Set the poll interval shorter than the query window. For example, a five-minute poll over a ten-minute window can return the same run on two polls.

Activator’s default On each event behavior can notify for every returned row on each poll. Deduplicating within the KQL output addresses duplicate rows in a single evaluation. If one message per run is required, validate grouped behavior keyed by JobInstanceId in the Activator item or deduplicate at the notification destination. Test one slow completion, one fast completion, and one failure with a test destination before enabling the rule for on-call staff.

Source: Microsoft Learn — Activator ingestion from KQL Querysets ↗

Apply the decision in DP-700 practice

In a scenario about an increasingly slow ingestion, identify the symptom before choosing the tool. A deployment rule acts at promotion time. A timeout changes execution behavior. A duration alert observes actual runs and can notify the team when a threshold is crossed.

Open the free DP-700 practice sample below and choose Study mode. It includes an ingestion scenario in which successful runs can threaten downstream timing. Decide which monitoring signal the team should use, then compare your reasoning with the explanation.

Source: Microsoft Learn — DP-700 study guide ↗

KEEP THESE THREE THINGS

Your next steps

  1. Match the alert to either completed runtime or elapsed time on a running job.
  2. Check units and keep a run ID in both the query and notification.
  3. Test repeat polls and failure handling before routing alerts to on-call staff.

Sources & official resources

Linked resources checked on 2026-11-26. Technical behavior and provider guidance can change; check the documentation for the version you use.

About this guide and its recommendations

Published by Prep With Proof with AI-assisted drafting. Study routines and examples are editorial suggestions, not official exam instructions or claims of a learner's personal results. Cited provider facts are linked; ownership of recommended Prep With Proof products is disclosed. No competitor endorsement or guaranteed certification outcome is implied.

Suggest a correction →