langchain.js
    Preparing search index...

    Configuration options for initializing OpenTelemetry with LangSmith.

    type InitializeOTELConfig = {
        exporterConfig?: LangSmithOTLPTraceExporterConfig;
        globalContextManager?: ContextManager;
        globalTracerProvider?: TracerProvider;
        skipGlobalContextManagerSetup?: boolean;
    }
    Index

    Properties

    Optional configuration passed to the default LangSmith OTLP trace exporter.

    globalContextManager?: ContextManager

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

    globalTracerProvider?: TracerProvider

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

    skipGlobalContextManagerSetup?: boolean

    Skip automatic initialization of a global context manager.

    false