OTEL-based Python SDK v3 released in beta #6993
hassiebp
announced in
Announcements
Replies: 3 comments 19 replies
-
Beta Was this translation helpful? Give feedback.
14 replies
-
|
The V3 Python SDK is way too complicated, and using it with LangChain isn't fun at all anymore. |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
I personally welcome the idea of going with OTEL, as we are migrating other stuff to OTEL as well, I appreciate you are trying to fit into existing ecosystem! However, I struggled with integrating trace propagation from TS->Python. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
We're introducing the Langfuse Python SDK v3 (OpenTelemetry-based) in beta.
This is a significant update to our Python SDK as it is now built on the OpenTelemetry (OTEL) standard and designed to improve developer experience and enhance integration capabilities for tracing your LLM applications.
Key Improvement: OpenTelemetry foundation
The foundation of the v3 SDK is OpenTelemetry, which brings several practical advantages:
Simplified Tracing and Global Client Access
The new SDK aims to make tracing more straightforward. Here's an example of how tracing can be implemented across different modules, leveraging automatic context propagation and global client access:
In this example:
Langfuseis initialized once.@observedecorator creates spans forhandle_user_requestandprocess_data.other_module.pyaccesses the same client instance viaget_client().We encourage you to try the new Python SDK v3 beta and welcome your feedback here in this discussion!
Learn more
Beta Was this translation helpful? Give feedback.
All reactions