Middleware for propagating distributed tracing context using LangSmith.
This middleware checks for the 'langsmith-trace' header and propagates the
tracing context if present. It does not start new traces by default.
Designed to work with ASGI applications.
TracingMiddleware(
self,
app,
)| Name | Type |
|---|---|
| app | unknown |