Skip to main content
The Exception module captures the individual records that caused a metric to fail, not just the aggregate count. Where a metric tells you “12 rows failed the null check,” Exceptions show you those 12 rows: what failed, who owns them, how old they are, and what was done to fix them. Exceptions bridge the gap between data observability (detecting the problem) and data remediation (fixing it record by record).

How exceptions are generated

Exception writing must be enabled on each metric. When it is enabled, every failed metric run also executes a Failed Rows Query, a companion SQL query that returns the individual records contributing to the failure. Each returned row becomes an exception record.
Exception records are written incrementally. Each run adds newly failing records without duplicating existing open records. When a later run fails on a row that already has a record, Prizm keeps that record and logs an Exception seen again event with an incremented Occurrence count. Unresolved records from previous runs stay on the page until a user explicitly resolves them.

Prerequisites

Check the following before you expect exception records to appear.
1

Use a supported storage provider

Exception data is written to cloud storage. GCP, Azure, and AWS storage providers are supported. An administrator sets the provider in Organization → Platform → Storage.
Storage Configuration page showing the Storage Provider and Authentication Type fields

Storage provider in Organization → Platform → Storage

2

Turn on Write Exception under Remediation

Open Organization → Remediation and turn on Write Exception in the Exception section. You can limit it to selected sources and set a row limit and exception categories. Write Exception must also be enabled on each metric (see the metric step below). It is required at both levels.
3

Define the schema under Remediation

In the Compute section of Organization → Remediation, enter the Schema that Prizm uses for exception processing.
Remediation page showing the Write Exception toggle, sources, row limit, exception categories, and the Compute schema field

Write Exception and Compute schema in Organization → Remediation

4

Set up the Spark configuration

The Spark agent must be registered and deployed. Check it in Organization → Platform → Configuration → Agent Settings, where the spark agent should show a status of ACTIVE and an update status of DEPLOYED.
Agent Settings table with the spark agent shown as deployed

Spark agent in Agent Settings

5

Use verified metrics with scoring enabled

The metric must be in VERIFIED status, and Scoring must be turned on for it. Exception writing must also be enabled at the metric level. In the metric’s Query Metric Configuration, this appears as the Export toggle with a row limit.
Metric list row showing a verified metric with Active and Export turned on and an export row limit

A verified metric with Export on in the Metric list

Query Metric Configuration showing the Scoring and Export toggles with weightage and row limit

Scoring and Export in Query Metric Configuration

6

Have an alert and invalid records

An alert must be present for the exception to be fixed, and the metric run must return invalid records. The metric header shows the number of alerts and the valid and invalid record counts.
Exception by Metric view showing status counts and exception records grouped under a metric

Exception by Metric view with records grouped under the metric

Where to find exceptions

Open the Exception tab in Prizm. The view switcher at the top right of the page has three views.

Exception record statuses

SLA status

Each exception record carries an SLA Status that tracks whether remediation is on time based on the metric’s configured SLA window. The SLA clock starts when the record is first created and freezes when the record is resolved or closed.

Enabling exception writing

Exception records are only created when Write Exception is turned on both in Organization → Remediation and for the metric. At the metric level, the setting appears as the Export toggle, with a row limit, in Query Metric Configuration.
1

Open the metric configuration

Open the metric’s detail page and click the pencil (edit) icon in Metric Detail.
2

Enable Write Exception

In the Configuration tab, find the Exception section and toggle Write Exception on.
3

Add a Failed Rows Query

In Query Metric Configuration, select the Failed Rows tab (next to Custom Query and Total Records) and write a SQL query that returns the individual rows contributing to a failure. This query runs automatically whenever the metric fails. The results become exception records.
Failed Rows Query editor in the metric edit view

Failed Rows tab in a metric’s Query Metric Configuration

4

Save

Click Save Changes. Exception writing takes effect on the next metric run.
Data access privileges apply to exception records. Users can only see exception records for assets they have permission to access.

Exception Records

Viewing, filtering, editing, and managing individual exception records.

Exception reports

Building, scheduling, and delivering exception reports.

Notifications

How exception record notifications are sent and configured.

Exception Dashboard

Analytics and KPIs across all exception records.

Escalation

Escalation uses a member reporting hierarchy so exception records reach the right people.
  • Reports To: Each member has a Reports To manager, set in Access → Member. The Member hierarchy view (the second icon at the top right of the Access page) shows the tree with each member’s role and number of direct reports, and a search box to find a member.
  • Role display names and owner mapping: In Access → Role, each role has a Display name and a Show in owner mapping switch (off by default). When it is on, the display name appears as a row on the asset’s Owners panel, and the user picker for that row lists only members who hold the role.
  • Owner filter: The Exception dashboard in Analytics has a Member filter that shows the hierarchy, so you can view exceptions for a member or their reporting team. Exceptions without an owner appear under Unassigned.
  • Notifications: Notifications are sent when an owner or status changes. See Exception notifications.
Member hierarchy tree showing members, roles, and direct report counts

Member hierarchy in Access

Role list with Display Name and Owner Mapping columns

Role display name and owner mapping in Access → Role

Asset Owners panel with an extra row labeled with a role display name

A role display name shown on the asset Owners panel

Exception dashboard with the Member filter open showing the hierarchy

Member filter on the Exception dashboard

Comparison and distribution report templates

Exception reports support three report types. Open Exception → Reports, select a report, and choose the type in the Type list on the Configuration tab:
  • Exception (Default): the standard exception report.
  • Distribution: a distribution table of exceptions. The table uses Metric Criteria in place of the former rule column. Columns appear in this order: Critical, High, Medium, Low, followed by Critical %, High %, Medium %, and Low %.
  • Comparison: a comparison-style report for exception results.
Exception report editor with the Type list showing Exception (Default), Distribution, and Comparison

Report type list in the exception report editor