Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a288086 commit ee8f092Copy full SHA for ee8f092
‎langfuse/_client/client.py‎
@@ -221,6 +221,11 @@ def __init__(
221
self._otel_tracer = otel_trace_api.NoOpTracer()
222
return
223
224
+ if os.environ.get("OTEL_SDK_DISABLED", "false").lower() == "true":
225
+ langfuse_logger.warning(
226
+ "OTEL_SDK_DISABLED is set. Langfuse tracing will be disabled and no traces will appear in the UI."
227
+ )
228
+
229
# Initialize api and tracer if requirements are met
230
self._resources = LangfuseResourceManager(
231
public_key=public_key,
0 commit comments