Skip to content
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

Add log_url to OpenLineage AirflowRunFacet #40797

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

dolfinus
Copy link
Contributor

@dolfinus dolfinus commented Jul 15, 2024

Related: OpenLineage/OpenLineage#2852

It is quite useful to have an URL of Airflow task log as a part of AirflowRunFacet. Currently I have to reimplement the logic present in Airflow on OpenLineage backend side, and keep it in sync with a particular Airflow version, e.g.:
https://github.com/apache/airflow/blob/2.9.0/airflow/models/taskinstance.py#L1719-L1731
https://github.com/apache/airflow/blob/2.1.0/airflow/models/taskinstance.py#L524-L528

Add TaskInstances's log_url field to AirflowRunFacet.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@mobuchowski mobuchowski merged commit 2f0bba0 into apache:main Jul 15, 2024
52 checks passed
@dolfinus dolfinus deleted the feature/openlineage-ti-log-url branch July 15, 2024 17:47
romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants