Skip to content

fix: Add asyncio task context propagation to env vars#884

Open
CagriYonca wants to merge 1 commit into
mainfrom
fix/asyncio
Open

fix: Add asyncio task context propagation to env vars#884
CagriYonca wants to merge 1 commit into
mainfrom
fix/asyncio

Conversation

@CagriYonca

Copy link
Copy Markdown
Contributor

Some of LLM technologies, such as Open WebUI and LiteLLM, use asyncio internally, so when we don't set asyncio task context propagation to True manually (which is False by default), internal async threads are created with individual Trace IDs. As a result, you were seeing SOURCE: Not monitored by Instana on the Instana UI, instead of appearing as a child of the Open WebUI request.

@CagriYonca CagriYonca self-assigned this Jun 19, 2026
@CagriYonca CagriYonca added the do NOT merge Depends on another PR or WIP label Jun 19, 2026
@CagriYonca CagriYonca marked this pull request as ready for review June 23, 2026 13:55
@CagriYonca CagriYonca requested a review from a team as a code owner June 23, 2026 13:55
@CagriYonca CagriYonca removed the do NOT merge Depends on another PR or WIP label Jun 23, 2026
Signed-off-by: Cagri Yonca <cagri@ibm.com>
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant