OpenTelemetry SDK
    Preparing search index...

    FetchPlugin Config

    interface FetchInstrumentationConfig {
        applyCustomAttributesOnSpan?: FetchCustomAttributeFunction;
        clearTimingResources?: boolean;
        enabled?: boolean;
        ignoreNetworkEvents?: boolean;
        ignoreUrls?: (string | RegExp)[];
        measureRequestSize?: boolean;
        propagateTraceHeaderCorsUrls?: PropagateTraceHeaderCorsUrls;
        requestHook?: FetchRequestHookFunction;
    }

    Hierarchy (View Summary)

    Index
    applyCustomAttributesOnSpan?: FetchCustomAttributeFunction

    Function for adding custom attributes on the span

    clearTimingResources?: boolean
    enabled?: boolean

    Whether to enable the plugin.

    true
    
    ignoreNetworkEvents?: boolean
    ignoreUrls?: (string | RegExp)[]

    URLs that partially match any regex in ignoreUrls will not be traced. In addition, URLs that are exact matches of strings in ignoreUrls will also not be traced.

    measureRequestSize?: boolean

    Measure outgoing request size

    propagateTraceHeaderCorsUrls?: PropagateTraceHeaderCorsUrls

    Function for adding custom attributes or headers before the request is handled