apache / apache/airflow

Metric dag.dag_id.task_id.queued_duration missing

Open
#63,503 3 comments 0 reactions 0 assignees View on GitHub
affected_version:3.1 area:core area:metrics good first issue kind:bug priority:upgrade_to_airflow3
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 9h
Merged PRs (30d)
472

Description

### Apache Airflow version

3.1.8

### If "Other Airflow 3 version" selected, which one?

_No response_

### What happened?

The metric `dag.dag_id.task_id.queued_duration` is not being emitted after Airflow 3 upgrade. There are multiple issues like this where metrics are reported missing (we have also noticed ti.finish, ti.start missing, but that has been fixed in 3.1.8).

### What you think should happen instead?

All of the metrics that are described in the documentation https://airflow.apache.org/docs/apache-airflow/stable/administration-and-deployment/logging-monitoring/metrics.html#metric-descriptions should be emitted.

### How to reproduce

Run airflow, run task, observe metrics

### Operating System

Linux

### Versions of Apache Airflow Providers

_No response_

### Deployment

Official Apache Airflow Helm Chart

### Deployment details

_No response_

### Anything else?

_No response_

### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.