LangChainTracer
A tracing component in langchain-core responsible for reporting runtime events such as chains, tool calls, and LLM requests to LangSmith. It supports passing an address parameter at initialization to specify the reporting endpoint.
Timeline (last 90 days)
In 1.6.11, LangChainTracer supports accepting an address parameter at initialization, corresponding to PR #41006.
By passing address as a LangChainTracer constructor parameter, you can implement routing logic in code that sends different trace data to different LangSmith endpoints, without having to repeatedly switch environment variables.
When managing multiple tracing targets in parallel within the same process, the constructor-parameterized approach is safer than global environment variable configuration, avoiding data cross-contamination caused by environment variables being accidentally overwritten.
All Facts (3)
In 1.6.11, LangChainTracer supports accepting an address parameter at initialization, corresponding to PR #41006.
50%UnverifiedBy passing address as a LangChainTracer constructor parameter, you can implement routing logic in code that sends different trace data to different LangSmith endpoints, without having to repeatedly switch environment variables.
50%UnverifiedWhen managing multiple tracing targets in parallel within the same process, the constructor-parameterized approach is safer than global environment variable configuration, avoiding data cross-contamination caused by environment variables being accidentally overwritten.
50%