Skip to main content

Overview

Fiddler enables users to set up alert rules to track a model’s health and performance over time. Fiddler alerts also enable users to dig into triggered alerts and perform root-cause analysis to identify what is causing a model to degrade. Users can set up alerts using the Fiddler Python client SDK and the Fiddler UI as demonstrated below. For GenAI applications, see GenAI Alert Rules.

Supported Metric Types

You can get alerts for the following metrics:
  • Traffic
    • The volume of traffic received by the model over time indicates the overall system’s health.
  • Statistics
    • Metrics for monitoring basic column aggregations.
  • Data Drift
    • Model performance can be poor if models trained on a specific dataset encounter different data in production.
  • Data Integrity
    • Three types of violations can occur at model inference: missing feature values, type mismatches (e.g. sending a float input for a categorical feature type) or range mismatches (e.g. sending an unknown US State for a State categorical feature).
  • Performance
    • The model performance tells us how well a model performs on its task. A poorly performing model can have significant business implications.
  • Custom Metrics
    • Create your own custom metric formulas and create Alerts on those metrics giving you ultimate flexibility in alerting behavior.

Alert Configurations

Comparison Types

There are two options for alert threshold comparison:
  • Absolute — Compare the metric to an absolute value
    • Example: if traffic for a given hour is less than a threshold of 1,000, trigger alert.
  • Relative — Compare the metric to a previous period
    • Example: if traffic is down 10% or more than it was at the same time one week ago, trigger alert.

Alert Rule Priority & Severity

  • Priority: Whether you’re setting up an alert rule to keep tabs on a model in a test environment or for production scenarios, Fiddler has you covered. Easily set the Alert Rule Priority to indicate the importance of any given Alert Rule. Users can select from Low, Medium, and High priorities.
  • Severity: Up to two threshold values can be specified for additional flexibility. A Critical severity threshold value is always required when setting up an Alert Rule, and a Warning threshold value is optional.

Why do we need alerts?

  • It’s not possible to manually track all metrics 24/7.
  • Sensible alerts are your first line of defense, and they are meant to warn about issues in production.

Setting up Alert Rules

To create an alert rule in the Fiddler UI, go to Alerts, open the Predictive Alert Rules tab, and select Add Alert Rule.
  1. Under Project and Model, choose the project, model, version, and optionally a segment.
  2. Under Metric Configuration, choose the Metric type (Data Drift, Data Integrity, Performance, Traffic, Statistic, or Custom Metric), the metric, and the Bin size. Then choose the Baseline and Column.
  3. Set the Comparison, Thresholds, Priority, and Notifications, enter an Alert rule name, and select Add Alert Rule.
Add Predictive Alert Rule page with its eight sections filled in for a data drift rule In order to create and configure alerts using the Fiddler Python client SDK see Alerts With the Python Client.

Alert Notification options

In the Notifications section, add email recipients, choose a PagerDuty service and severity, or add a webhook URL. Notifications section with email, PagerDuty, and webhook fields

Edit or Delete an Alert Rule

Each alert rule’s menu (⋯) has View / Edit Alert Rule, Copy Alert ID, Send Test Alert, Pause Notifications, and Delete. To change a rule, select View / Edit Alert Rule, then Edit, then Save Changes. You can change the thresholds, priority, evaluation delay, notifications, and name; for other changes, create a new rule. Alert rules list with a rule's menu open

Triggered Alert Revisions

If new data changes a triggered alert’s value or severity, Fiddler revises the alert and sends a revised notification. To see a triggered alert in context, open the Predictive Triggered Alerts tab on the Alerts page and select Inspect on the alert. Fiddler opens a new chart with Show Alert Context on, marking critical and warning alerts. Chart with Show Alert Context on, marking critical and warning alert points Hover over a point to see the threshold and, if the alert was revised, its revision count. Chart point tooltip with the revision count and threshold

Sample Alert Email

Here’s a sample of an email that’s sent if an alert is triggered:

Integrations

Alert rules can notify by email, PagerDuty, or webhook (Slack, Microsoft Teams, or a custom endpoint). PagerDuty Integration page in Settings listing PagerDuty services Org Admins set up these channels under Integrations on the Settings page: the email provider under Email Configuration, PagerDuty services under PagerDuty, and Slack, Microsoft Teams, or custom endpoints under Webhooks. Email Configuration page with the SMTP Email Service settings

Pause alert notification

This feature allows users to temporarily pause and resume notifications for specific alerts without affecting their evaluation and triggering mechanisms. It enhances user experience by providing efficient notification management.\ How to Use Using the Fiddler User Interface (UI)
  • On the Predictive Alert Rules tab, find the rule.
  • In the rule’s menu (⋯), select Pause Notifications. To turn notifications back on, select Resume Notifications.
Using the Fiddler Python Client SDK For programmatic control, call disable_notifications() or enable_notifications() on an AlertRule object. Note
  • No Impact on Evaluation: Pausing notifications does not affect the evaluation of alert conditions. The alert tool will continue to assess conditions and trigger alerts as usual.