Use non-OTEL wrapAISDK from langsmith/experimental/vercel instead.
Initializes OpenTelemetry with LangSmith-specific configuration for tracing.
Call this once at the start of your application to enable tracing integration. Sets global
OpenTelemetry components including the tracer provider and context manager.
Requires the following peer dependencies to be installed:
Deprecated
Use non-OTEL
wrapAISDKfromlangsmith/experimental/vercelinstead.Initializes OpenTelemetry with LangSmith-specific configuration for tracing.
Call this once at the start of your application to enable tracing integration. Sets global OpenTelemetry components including the tracer provider and context manager.
Requires the following peer dependencies to be installed:
Example
Example: With custom tracer provider