-
Notifications
You must be signed in to change notification settings - Fork 81
[langchain] flag to enable context propagation (composability) #1544
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
Labels
bug
Something isn't working
instrumentation: langchain
language: python
Related to Python integration
Comments
Going to try to see if it works on conjunction with: https://github.com/langchain-ai/langchain-mcp-adapters |
OTEL context doesn't seem to be able to be attached in a meaningful way:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
instrumentation: langchain
language: python
Related to Python integration
Right now context propagation is disabled for langchain as it can become troublesome when spans get orphaned (I believe). This is the line in question (https://github.com/Arize-ai/openinference/blob/6f8ec172647c48d9a15218cf248651df37f[…]angchain/src/openinference/instrumentation/langchain/_tracer.py)
This makes langchain not composable however and we need to solve this problem as it seems to come up often. Notably the more recent MCP propagation is impossible.
The text was updated successfully, but these errors were encountered: