bullmq - v5.68.0
    Preparing search index...

    Interface Histogram

    Histogram metric interface

    A histogram is a metric that samples observations and counts them in configurable buckets. Typically used for measuring durations or sizes.

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

    Methods

    Methods

    • Records a value in the histogram.

      Parameters

      • value: number

        the value to record

      • Optionalattributes: Attributes

        optional attributes to associate with this measurement

      Returns void