Skip to content

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
@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