Skip to content

Conversation

@ashb
Copy link
Member

@ashb ashb commented Nov 12, 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.

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 owner November 12, 2024 22:17
@boring-cyborg boring-cyborg bot added the area:Scheduler including HA (high availability) scheduler label Nov 12, 2024
@ashb ashb added this to the Airflow 2.11.0 milestone Nov 12, 2024
@ashb ashb changed the title Remove sending of task logs in otel traces Remove sending of task logs in otel traces inside the Scheduler Nov 12, 2024
@potiuk potiuk merged commit bb234dc into main Nov 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:Scheduler including HA (high availability) scheduler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants