langfuse_config
module wittgenstein_observability.langfuse_config
Functions
-
is_langfuse_enabled — Check if Langfuse is configured and active via env vars.
-
get_langfuse_client — Retrieve or initialize the global Langfuse client instance.
-
observe_langfuse_trace — Decorator to automatically trace a function execution to Langfuse.
wittgenstein_observability.langfuse_config.is_langfuse_enabled
is_langfuse_enabled() → bool
Check if Langfuse is configured and active via env vars.
wittgenstein_observability.langfuse_config.get_langfuse_client
get_langfuse_client() → Optional[Any]
Retrieve or initialize the global Langfuse client instance.
wittgenstein_observability.langfuse_config.observe_langfuse_trace
observe_langfuse_trace(name: str)
Decorator to automatically trace a function execution to Langfuse.
Raises
-
e