couchbase
    Preparing search index...

    Interface TracingConfig

    Specifies threshold logging options for the client.

    NOTE: These options are used to configure the underlying C++ core threshold logging.

    interface TracingConfig {
        analyticsThreshold?: number;
        emitInterval?: number;
        enableTracing?: boolean;
        eventingThreshold?: number;
        kvThreshold?: number;
        managementThreshold?: number;
        queryThreshold?: number;
        sampleSize?: number;
        searchThreshold?: number;
        viewsThreshold?: number;
    }
    Index

    Properties

    analyticsThreshold?: number

    Threshold over which the request is taken into account for the analytics service, specified in millseconds. Defaults to 1000ms if not specified.

    emitInterval?: number

    Specifies the interval after which the aggregated trace information is logged, specified in millseconds. Defaults to 10000 (10 seconds) if not specified.

    enableTracing?: boolean

    Specifies to enable or disable threshold logging. Defaults to true (enabled) if not specified.

    eventingThreshold?: number

    Threshold over which the request is taken into account for eventing service, specified in millseconds. Defaults to 1000ms if not specified.

    kvThreshold?: number

    Threshold over which the request is taken into account for the KV service, specified in millseconds. Defaults to 500ms if not specified.

    managementThreshold?: number

    Threshold over which the request is taken into account for management operations, specified in millseconds. Defaults to 1000ms if not specified.

    queryThreshold?: number

    Threshold over which the request is taken into account for the query service, specified in millseconds. Defaults to 1000ms if not specified.

    sampleSize?: number

    Specifies how many entries to sample per service in each emit interval. Defaults to 64 if not specified.

    searchThreshold?: number

    Threshold over which the request is taken into account for the search service, specified in millseconds. Defaults to 1000ms if not specified.

    viewsThreshold?: number

    Threshold over which the request is taken into account for the views service, specified in millseconds. Defaults to 1000ms if not specified.