Skip to content

Wrap async QL task execution in new tracing context#89029

Merged
pugnascotia merged 1 commit intoelastic:mainfrom
pugnascotia:use-more-tracing-contexts-part5
Aug 2, 2022
Merged

Wrap async QL task execution in new tracing context#89029
pugnascotia merged 1 commit intoelastic:mainfrom
pugnascotia:use-more-tracing-contexts-part5

Conversation

@pugnascotia
Copy link
Copy Markdown
Contributor

Part of #84369. Split out from #88443. This PR wraps parts logic in
AsyncTaskManagementService in a new tracing context. This is
necessary so that a tracing implementation can use the thread context
to propagate tracing headers, but without the code attempting to set the
same key twice in the thread context, which is illegal.

@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-ql (Team:QL)

@elasticsearchmachine elasticsearchmachine added the Team:QL (Deprecated) Meta label for query languages team label Aug 2, 2022
@astefan astefan requested a review from bpintea August 2, 2022 09:49
@astefan astefan added :Analytics/EQL EQL querying and removed :Analytics/SQL SQL querying labels Aug 2, 2022
Copy link
Copy Markdown
Contributor

@bpintea bpintea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm.

@pugnascotia pugnascotia merged commit 241f1bc into elastic:main Aug 2, 2022
@pugnascotia pugnascotia deleted the use-more-tracing-contexts-part5 branch August 2, 2022 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/EQL EQL querying >refactoring Team:QL (Deprecated) Meta label for query languages team v8.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants