Data Quality Monitoring
Feast's Data Quality Monitoring (DQM) system computes, stores, and serves statistical metrics for every registered feature. It gives you visibility into feature health — distributions, null rates, percentiles, histograms — across batch data and feature serving logs.
Its goal is to address several complex data problems:
Data consistency — new training datasets can differ significantly from previous datasets, potentially requiring changes in model architecture.
Upstream pipeline bugs — bugs in upstream pipelines can cause invalid values to overwrite existing valid values in an online store.
Training/serving skew — distribution shift between training and serving data can decrease model performance.
Overview
Feast's DQM system works natively with your configured offline store — no additional infrastructure or external dependencies are required. The workflow is:
Register features — run
feast applyto register feature views. Ifauto_baseline: trueis configured, baseline metrics are computed automatically.Schedule monitoring — run
feast monitor runon a schedule (daily recommended) to compute metrics across multiple time windows.Read metrics — query metrics via the REST API or view them in the Feast UI.
Configuration
Enable DQM in your feature_store.yaml:
data_quality_monitoring:
auto_baseline: trueComputing Metrics
Auto mode (recommended for production):
This detects the latest event timestamp in the source data and computes metrics for 5 time windows: daily, weekly, biweekly, monthly, and quarterly.
Target a specific feature view:
Explicit date range:
Set a manual baseline:
Monitoring Feature Serving Logs
If your feature services have logging configured, you can compute metrics from the actual features served to models in production:
Reading Metrics
Metrics are accessible via the REST API:
See the Feature Quality Monitoring guide for full API reference, UI integration, and orchestrator examples.
Last updated
Was this helpful?