Add missing ti.start and ti.finish metrics in Airflow 3#62019
Conversation
|
cc @kacpermuda @xBis7 apologies if wrongly tagged, but I think you are involved with metrics and could help with reviews |
I'm not, but the code looks good, left an approve, thanks ! |
xBis7
left a comment
There was a problem hiding this comment.
@amoghrajesh Thanks for pinging me! I left two comments.
xBis7
left a comment
There was a problem hiding this comment.
@amoghrajesh Based on the provided context and that this fix is meant for 3.1.8, ignore my comments for using the DualStatsManager. LGTM!
…62019) (cherry picked from commit 8d8048c) Co-authored-by: Amogh Desai <[email protected]>
Backport successfully created: v3-1-testNote: As of Merging PRs targeted for Airflow 3.X In matter of doubt please ask in #release-management Slack channel.
|
…62019) (#62110) (cherry picked from commit 8d8048c) Co-authored-by: Amogh Desai <[email protected]>
…62019) (#62110) (cherry picked from commit 8d8048c) Co-authored-by: Amogh Desai <[email protected]>
Was generative AI tooling used to co-author this PR?
closes: #62015
Some metrics like
ti.startandti.finishwere not ported over to Airflow 3.This PR intends to add those to Airflow 3 and emit it from task execution.
Testing
Deployed Airflow with breeze with
--integration statsdEarlier:
After:
Prometheus
Statsd
Finish:
Start:
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.