Apache Airflow monitoring

Use scheduler and executor metrics to distinguish stalled scheduling from execution backlog.

Last updated

On this page (5)

Apache Airflow ยท Monitoring

Before you start

  • StatsD collector and the Airflow StatsD extra.
  • Staging DAG and known scheduler topology.

Procedure

  1. Set statsd_on, statsd_host, statsd_port and statsd_prefix in the metrics configuration for the deployed components.
  2. Graph scheduler_heartbeat alongside executor queue and running-slot metrics available in the deployed version.
  3. Measure a healthy heartbeat interval and queue drain time, and alert on sustained heartbeat loss or backlog rather than a single sample.

Verify the result

  • The sample DAG generates scheduler and executor samples.
  • Stopping a staging scheduler produces a missing-heartbeat signal; restoration resumes scheduling and the queue drains.

Official documentation

Have Pilae operate Apache Airflow

We agree what to monitor, how to recover and who responds when something breaks. Bring your existing deployment or start with a new one.