InitializeOTELConfig: {
    exporterConfig?: LangSmithOTLPTraceExporterConfig;
    globalContextManager?: ContextManager;
    globalTracerProvider?: TracerProvider;
}

Configuration options for initializing OpenTelemetry with LangSmith.

Type declaration

  • OptionalexporterConfig?: LangSmithOTLPTraceExporterConfig

    Optional configuration passed to the default LangSmith OTLP trace exporter.

  • OptionalglobalContextManager?: ContextManager

    Optional custom OTEL ContextManager to use instead of creating and globally setting a new one with AsyncHooksContextManager.

  • OptionalglobalTracerProvider?: TracerProvider

    Optional custom OTEL TracerProvider to use instead of creating and globally setting a new one.