_tracing_v2_is_enabled() — langchain Function Reference
Architecture documentation for the _tracing_v2_is_enabled() function in context.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 73d7cc8c_bdec_b9fe_bab5_fb304aec22a5["_tracing_v2_is_enabled()"] b631c948_af4b_1ae8_be2d_c334ff40ecef["context.py"] 73d7cc8c_bdec_b9fe_bab5_fb304aec22a5 -->|defined in| b631c948_af4b_1ae8_be2d_c334ff40ecef f1271626_ef97_53db_898a_b2873112b894["_get_trace_callbacks()"] f1271626_ef97_53db_898a_b2873112b894 -->|calls| 73d7cc8c_bdec_b9fe_bab5_fb304aec22a5 style 73d7cc8c_bdec_b9fe_bab5_fb304aec22a5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/langchain_core/tracers/context.py lines 132–135
def _tracing_v2_is_enabled() -> bool | Literal["local"]:
if tracing_v2_callback_var.get() is not None:
return True
return ls_utils.tracing_is_enabled()
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does _tracing_v2_is_enabled() do?
_tracing_v2_is_enabled() is a function in the langchain codebase, defined in libs/core/langchain_core/tracers/context.py.
Where is _tracing_v2_is_enabled() defined?
_tracing_v2_is_enabled() is defined in libs/core/langchain_core/tracers/context.py at line 132.
What calls _tracing_v2_is_enabled()?
_tracing_v2_is_enabled() is called by 1 function(s): _get_trace_callbacks.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free