tracers
#
Tracers are classes for tracing runs.
Class hierarchy:
BaseCallbackHandler --> BaseTracer --> <name>Tracer # Examples: LangChainTracer, RootListenersTracer
--> <name> # Examples: LogStreamCallbackHandler
Classes
|
Async Base interface for tracers. |
|
Base interface for tracers. |
Tracer that runs a run evaluator whenever a run is persisted. |
|
Information about a run. |
|
Implementation of the SharedTracer that POSTS to the LangChain endpoint. |
|
A single entry in the run log. |
|
Tracer that streams run logs to a stream. |
|
|
Run log. |
Patch to the run log. |
|
State of the run. |
|
Async Tracer that calls listeners on run start, end, and error. |
|
Tracer that calls listeners on run start, end, and error. |
|
Tracer that collects all nested runs in a list. |
|
|
Tracer that prints to the console. |
Tracer that calls a function with a single str parameter. |
Functions
Collect all run traces in context. |
|
Register a configure hook. |
|
|
Throw an error because this has been replaced by tracing_v2_enabled. |
Instruct LangChain to log all runs in context to LangSmith. |
|
Wait for all tracers to finish. |
|
Get the client. |
|
|
Log an error once. |
Wait for all tracers to finish. |
|
Throw an error because this has been replaced by LangChainTracer. |
|
|
Throw an error because this has been replaced by get_headers. |
Get the elapsed time of a run. |
|
|
Try to stringify an object to JSON. |
Deprecated classes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Deprecated functions