lakehouse-monitoring-comprehensive

Set up Databricks Lakehouse Monitoring for Gold layer tables with custom metrics.

1|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/prashsub/vibe_coding_lakehouse_starter_repo --skill lakehouse-monitoring-comprehensive-prashsub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lakehouse-monitoring-comprehensive
Source: https://github.com/prashsub/vibe_coding_lakehouse_starter_repo/tree/main/data_product_accelerator/skills/monitoring/01-lakehouse-monitoring-comprehensive
Command: npx skills add https://github.com/prashsub/vibe_coding_lakehouse_starter_repo --skill lakehouse-monitoring-comprehensive-prashsub

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a comprehensive solution for setting up and managing Databricks Lakehouse Monitoring, enabling you to track data quality, business metrics, and detect drift in your Gold layer tables.

Core Features & Use Cases

  • Custom Business Metrics: Define and monitor KPIs like revenue, velocity, and custom business logic.
  • Drift Detection: Track changes and deviations in your data over time.
  • Production Deployment: Includes patterns for setup, monitoring initialization, querying output tables, and cleanup.
  • Use Case: Implement daily revenue monitoring for your fact_sales_daily table, track its drift compared to the previous day, and set up alerts for significant drops.

Quick Start

Use the lakehouse-monitoring-comprehensive skill to set up monitoring for the 'my_catalog.gold.fact_sales_daily' table.

Frequently Asked Questions about lakehouse-monitoring-comprehensive

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Databricks Lakehouse Monitoring for Gold layer tables?

To set up Databricks Lakehouse Monitoring for Gold layer tables, you use the Data Quality API and Python SDK to initialize monitoring, define custom metrics, and generate output tables for dashboards. This skill guides you through the complete setup process.

What types of custom metrics can I define for data quality and drift detection?

You can define custom business metrics using AGGREGATE, DERIVED, and DRIFT types for data quality monitoring. These allow you to track KPIs like revenue, monitor business logic, and detect data deviations over time in your Gold layer tables.

Why does my Databricks Lakehouse Monitoring initialization fail?

Databricks Lakehouse Monitoring initialization failures can be troubleshot using the Data Quality API and Python SDK. This skill provides patterns to diagnose common initialization issues, verify table configurations, and resolve setup errors for Gold layer monitoring.

Can I track daily revenue drift and set up alerts for significant drops?

Yes, you can track daily revenue drift and set up alerts for significant drops by defining DRIFT metrics on tables like fact_sales_daily. The monitoring output tables capture deviations over time, enabling you to query results and trigger alerts when values fall below thresholds.

How do I query monitoring tables to build data quality dashboards?

You query monitoring tables by accessing the output tables generated during Lakehouse Monitoring initialization. These tables contain data profiling results, custom metric values, and drift detection data that can be directly used to build dashboards in Databricks SQL.