couchbase
    Preparing search index...

    Interface MetricsConfig

    Specifies metrics logging options for the client.

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

    interface MetricsConfig {
        emitInterval?: number;
        enableMetrics?: boolean;
    }
    Index

    Properties

    emitInterval?: number

    Specifies the interval after which metrics information is logged, specified in millseconds. Defaults to 10 minutes if not specified.

    enableMetrics?: boolean

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