Skip to main content
Version: 0.3.25

Monitoring

Monitoring and alerting are used together to give a most complete picture of the health of a data product. With monitoring, we look at much more information than we consider when alerting. Monitoring is meant to give a fast, simple overview of the health of the system. How to best monitor a dlt pipeline will depend on your deployment method.

Run monitoring

Airflow

In Airflow, at the top level we can monitor:

  • The tasks scheduled to (not) run.
  • Run history (e.g. success / failure).

Airflow DAGs:

Airflow DAGs

Airflow DAG tasks:

Airflow DAG tasks

GitHub Actions

In GitHub Actions, at the top level we can monitor:

  • The workflows scheduled to (not) run.
  • Run history (e.g. success / failure).

GitHub Actions workflows:

GitHub Actions workflows

GitHub Actions workflow DAG:

GitHub Actions workflow DAG

Sentry

Using dlt tracing, you can configure Sentry DSN to start receiving rich information on executed pipelines, including encountered errors and exceptions.

Data monitoring

Data quality monitoring is considered with ensuring that quality data arrives to the data warehouse on time. The reason we do monitoring instead of alerting for this is because we cannot easily define alerts for what could go wrong.

This is why we want to capture enough context to allow a person to decide if the data looks OK or requires further investigation when monitoring the data quality. A staple of monitoring are line charts and time-series charts that provide a baseline or a pattern that a person can interpret.

For example, to monitor data loading, consider plotting "count of records by loaded_at date/hour", "created at", "modified at", or other recency markers.

This demo works on codespaces. Codespaces is a development environment available for free to anyone with a Github account. You'll be asked to fork the demo repository and from there the README guides you with further steps.
The demo uses the Continue VSCode extension.

Off to codespaces!

DHelp

Ask a question

Welcome to "Codex Central", your next-gen help center, driven by OpenAI's GPT-4 model. It's more than just a forum or a FAQ hub – it's a dynamic knowledge base where coders can find AI-assisted solutions to their pressing problems. With GPT-4's powerful comprehension and predictive abilities, Codex Central provides instantaneous issue resolution, insightful debugging, and personalized guidance. Get your code running smoothly with the unparalleled support at Codex Central - coding help reimagined with AI prowess.