bullmq - v5.71.0
    Preparing search index...

    Interface Gauge

    Gauge metric interface

    A gauge is a synchronous instrument which can be used to record non-additive value(s) (e.g. the current queue size) when changes occur.

    interface Gauge {
        record(value: number, attributes?: Attributes): void;
    }
    Index

    Methods

    Methods

    • Records a value for the gauge.

      Parameters

      • value: number

        the value to record

      • Optionalattributes: Attributes

        optional attributes to associate with this measurement

      Returns void