We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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