Skip to content

Remove sending of task logs in otel traces inside the Scheduler - #43943

Merged
potiuk merged 1 commit into
mainfrom
remove-ti-logs-in-otel-spans
Nov 13, 2024
Merged

Remove sending of task logs in otel traces inside the Scheduler#43943
potiuk merged 1 commit into
mainfrom
remove-ti-logs-in-otel-spans

Conversation

@ashb

@ashbashb commented Nov 12, 2024

Copy link
Copy Markdown
Member

This was sending task logs from the scheduler has two problems:

  1. It blocks the scheduling loop reading remote logs -- a huge performance
    foot-gun for anyone that turns this feature on
  2. Sending task logs in a span seems too large, and way too verbose to provide
    any use in a span.

Addresses #43868 (comment)

This was sending task logs from the scheduler has two problems:
1. It blocks the scheduling loop reading remote logs -- a huge performance
foot-gun for anyone that turns this feature on
2. Sending task logs in a span seems too large, and way too verbose to provide
any use in a span.
@ashb
ashb requested a review from XD-DENG as a code ownerNovember 12, 2024 22:17
@boring-cyborgboring-cyborgBot added the area:Scheduler including HA (high availability) scheduler label Nov 12, 2024
@ashbashb added this to the Airflow 2.11.0 milestone Nov 12, 2024
@ashbashb changed the title Remove sending of task logs in otel tracesRemove sending of task logs in otel traces inside the SchedulerNov 12, 2024
@potiuk
potiuk merged commit bb234dc into mainNov 13, 2024
@ashb
ashb deleted the remove-ti-logs-in-otel-spans branch November 13, 2024 09:52
ellisms pushed a commit to ellisms/airflow that referenced this pull request Nov 13, 2024
This was sending task logs from the scheduler has two problems:
1. It blocks the scheduling loop reading remote logs -- a huge performance
foot-gun for anyone that turns this feature on
2. Sending task logs in a span seems too large, and way too verbose to provide
any use in a span.
@Lee-WLee-W mentioned this pull request Nov 18, 2024
2 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Schedulerincluding HA (high availability) scheduler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@ashb@potiuk