dd-trace
    Preparing search index...

    Interface aws_lambda

    Configuration for AWS Lambda invocation instrumentation in Lambda runtimes.

    interface aws_lambda {
        addSpanPointers?: boolean;
        apiKeyKms?: string;
        apiKeySecretArn?: string;
        captureLambdaPayload?: boolean;
        captureLambdaPayloadMaxDepth?: number;
        coldStartTraceSkipLib?: string;
        coldStartTracing?: boolean;
        createInferredSpan?: boolean;
        dataStreamsEnabled?: boolean;
        decodeAuthorizerContext?: boolean;
        enabled?: boolean;
        encodeAuthorizerContext?: boolean;
        enhancedMetrics?: boolean;
        fipsMode?: boolean;
        forceWrap?: boolean;
        logForwarding?: boolean;
        measured?: boolean | { [key: string]: boolean };
        mergeXrayTraces?: boolean;
        minColdStartTraceDurationMs?: number;
        service?: any;
        serviceRepresentationEnabled?: boolean;
    }
    Index
    addSpanPointers?: boolean
    true
    

    DD_TRACE_AWS_ADD_SPAN_POINTERS

    apiKeyKms?: string

    DD_KMS_API_KEY

    apiKeySecretArn?: string

    DD_API_KEY_SECRET_ARN

    captureLambdaPayload?: boolean
    false
    

    DD_CAPTURE_LAMBDA_PAYLOAD

    captureLambdaPayloadMaxDepth?: number
    10
    

    DD_CAPTURE_LAMBDA_PAYLOAD_MAX_DEPTH

    coldStartTraceSkipLib?: string
    './opentracing/tracer'
    

    DD_COLD_START_TRACE_SKIP_LIB

    coldStartTracing?: boolean
    true
    

    DD_COLD_START_TRACING

    createInferredSpan?: boolean
    true
    

    DD_TRACE_MANAGED_SERVICES

    dataStreamsEnabled?: boolean
    false
    

    DD_DATA_STREAMS_ENABLED

    decodeAuthorizerContext?: boolean
    true
    

    DD_DECODE_AUTHORIZER_CONTEXT

    enabled?: boolean

    Whether to enable the plugin.

    true
    
    encodeAuthorizerContext?: boolean
    true
    

    DD_ENCODE_AUTHORIZER_CONTEXT

    enhancedMetrics?: boolean
    true
    

    DD_ENHANCED_METRICS

    fipsMode?: boolean

    Defaults to true in AWS GovCloud regions.

    DD_LAMBDA_FIPS_MODE

    forceWrap?: boolean

    Force a second wrapper even when the handler carries the shared wrapped marker.

    logForwarding?: boolean
    false
    

    DD_FLUSH_TO_LOG

    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.

    mergeXrayTraces?: boolean
    false
    

    DD_MERGE_XRAY_TRACES

    minColdStartTraceDurationMs?: number
    3
    

    DD_MIN_COLD_START_DURATION

    service?: any

    The service name to be used for this plugin.

    serviceRepresentationEnabled?: boolean
    true
    

    DD_TRACE_AWS_SERVICE_REPRESENTATION_ENABLED