dd-trace
    Preparing search index...

    Interface langchain

    This plugin automatically instruments the langchain module

    interface langchain {
        enabled?: boolean;
        llmobs?: boolean;
        measured?: boolean | { [key: string]: boolean };
        service?: any;
    }
    Index
    enabled?: boolean

    Whether to enable the plugin.

    true
    
    llmobs?: boolean

    Whether to capture LLM Observability spans for this integration. When set to false, the integration keeps emitting APM spans and propagating trace context, but no LLM Observability spans are produced. Useful when another integration already captures the same operation and the payloads would otherwise be stored twice.

    true
    
    measured?: boolean | { [key: string]: boolean }

    Whether to measure the span. Can also be set to a key-value pair with span names as keys and booleans as values for more granular control.

    service?: any

    The service name to be used for this plugin.