Repository navigation
Add/port metrics to the new Execution interface #45511
Description
Activity
- converted this from a draft issue
on Jan 9, 2025 - addedarea:task-execution-interface-aip72AIP-72: Task Execution Interface (TEI) aka Task SDKAIP-72: Task Execution Interface (TEI) aka Task SDK
on Jan 9, 2025 @kaxil is this still open? If so, can I work on this?
Yes still open, and assigned to you
Thank you
not sure if ti failure metrics are out of scope for this issue? I didn't see it being handled in the associated PR. Otherwise I put up #59072
@kaxil , is the idea to centralise all previously task process emitted metrics (in airflow 2) to supervisor? #59072 follows airflow 2 very closely in that it's emitted from task runner rather than supervisor.
Will
TaskInstanceStartedandTaskInstanceFinishedbe covered in this issue?- moved this from Todo to Icebox in AIP-72 - Task Execution Interface and SDK
on Feb 4, 2026 All the related issues are closed, I think we emit all the metrics we did with Airflow 2 now.
#53722 was the PR that ported over the infra and we have had incremental PRs adding metrics like: #55322, #59731. The intent of this task is complete. However, if there are more issues to be created, follow it on with PRs as you like.
@michaelfu1029 for example ^
- moved this from Icebox to Done in AIP-72 - Task Execution Interface and SDK
on Feb 12, 2026
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Find a way to emit metrics from the new supervisor process.
Some examples of what needs porting over:
airflow/airflow/jobs/local_task_job_runner.py
Line 224 in 84907f1
airflow/airflow/jobs/local_task_job_runner.py
Lines 347 to 361 in 84907f1