Skip to content

[DJM-812] Airflow task logs child pipeline #20233

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

aboitreaud
Copy link

@aboitreaud aboitreaud commented May 7, 2025

What does this PR do?

This PR updates the Airflow integration logs pipeline to extract dag_id, run_id, and task_id from the dirname tag. Extraction is performed in a children subpipeline, which query checks for the presence of dag_id in dirname tag so that it's guaranteed that pipeline will find the attributes to be extracted.

Motivation

Airflow DJM traces to logs correlation is made on dag_id, run_id, and task_id attributes so they need to be present on the logs. See correlation logic here.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Add the qa/skip-qa label if the PR doesn't need to be tested during QA.
  • If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

@aboitreaud aboitreaud force-pushed the adrien.boitreaud/airflow-task-logs-subpipeline branch from 4394592 to 9fb4333 Compare May 9, 2025 17:05
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.

1 participant