Recall & Review
beginner
What is the purpose of integrating Prometheus with Airflow?
Prometheus collects and stores metrics from Airflow to monitor its performance and health in real time.
Click to reveal answer
beginner
Which Airflow component exposes metrics for Prometheus to scrape?
The Airflow webserver exposes metrics on an HTTP endpoint that Prometheus scrapes.
Click to reveal answer
beginner
Name one common Airflow metric that Prometheus can collect.
One common metric is the number of running DAG runs, which helps track active workflows.
Click to reveal answer
intermediate
How do you enable Prometheus metrics in Airflow's configuration?
Set `metrics.prometheus.enabled = True` in the airflow.cfg file or environment variables.
Click to reveal answer
intermediate
What is the role of the Prometheus scrape config in monitoring Airflow?
It tells Prometheus where and how often to collect metrics from the Airflow metrics endpoint.
Click to reveal answer
Which Airflow component typically exposes metrics for Prometheus?
✗ Incorrect
The Airflow webserver exposes the metrics endpoint that Prometheus scrapes.
What configuration setting enables Prometheus metrics in Airflow?
✗ Incorrect
The correct setting is metrics.prometheus.enabled = True in airflow.cfg or environment variables.
What does Prometheus use to find Airflow metrics?
✗ Incorrect
Prometheus scrapes metrics from the HTTP endpoint specified in its scrape config.
Which metric would help monitor how many workflows are currently running in Airflow?
✗ Incorrect
The number of running DAG runs metric shows active workflows.
Why is monitoring Airflow with Prometheus useful?
✗ Incorrect
Prometheus helps monitor Airflow's health and performance by collecting metrics.
Explain how Prometheus collects metrics from Airflow and why this is helpful.
Think about how Prometheus finds and uses Airflow data.
You got /4 concepts.
Describe the steps to enable and configure Prometheus metrics in Airflow.
Focus on configuration changes and Prometheus setup.
You got /4 concepts.