couchbase
    Preparing search index...

    Interface ValueRecorder

    Abstract interface for recording metric values.

    Implementations should record values that will be aggregated and tracked over time, typically for latency or performance metrics.

    interface ValueRecorder {
        recordValue(value: number): void;
    }

    Implemented by

    Index

    Methods

    Methods

    • Records a single value.

      Parameters

      • value: number

        The value to record (typically latency in microseconds).

      Returns void