Skip to content

Include deferral in Task Instance Duration monitor #43822

@Veldhoen

Description

@Veldhoen

Description

The Task Instance Duration monitor displays task duration, distinguishing queued duration and total duration.
However, we have a task that spends a lot of time in deferred state, and would like the monitor to display that too (in a similar fashion as the queing time).
Actually, after being deferred the task can get queued again, and I think the monitor currently shows the last time the task was queued, rather than the total time the task instance spent in queued state. In fact, I guess you could consider that a bug.

Use case/motivation

We have an external service that a task depends on. If the Airflow monitor can display deferred state duration, we would be able monitor the service's response time through the Airflow UI.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:UIRelated to UI/UX. For Frontend Developers.kind:featureFeature Requests

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions