-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Re-enable missing metric: dag_processing.last_duration.<dag_file> #61079
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Re-enable missing metric: dag_processing.last_duration.<dag_file> #61079
Conversation
This metric was intentionally disabled during AIP-66 development. These changes bring the metric back using relative_fileloc instead of dag_path.file
|
@jedcunningham As the original author, can you have a look at this one? Specifically curious to hear your thoughts on using |
That is the right thing to use, yes! |
- Include bundle name in the metric so that there is uniqueness if two bundles contain a dag file with the same name. - Normalize the filename to exclude invalid characters for metrics names.
jedcunningham
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM, but I'm not confident in reviewing shared stuff. Tagging @amoghrajesh!
ferruzzi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This metric was intentionally disabled during AIP-66 development. These changes bring the metric back using relative_fileloc instead of dag_path.file
Was generative AI tooling used to co-author this PR?
Cline - Claude Opus 4.5
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.