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.
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.
Enable DQM in your feature_store.yaml:
data_quality_monitoring:
auto_baseline: trueAuto mode (recommended for production):
feast monitor runThis 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:
feast monitor run --feature-view driver_statsExplicit date range:
feast monitor run \
--feature-view driver_stats \
--start-date 2025-01-01 \
--end-date 2025-01-07 \
--granularity weeklySet a manual baseline:
feast monitor run \
--feature-view driver_stats \
--start-date 2025-01-01 \
--end-date 2025-03-31 \
--granularity daily \
--set-baselineIf your feature services have logging configured, you can compute metrics from the actual features served to models in production:
feast monitor run --source-type logMetrics are accessible via the REST API:
GET /monitoring/metrics/features?project=my_project&feature_view_name=driver_stats&granularity=daily
See the Feature Quality Monitoring guide for full API reference, UI integration, and orchestrator examples.