bullmq - v5.71.0
    Preparing search index...

    Interface Meter

    Meter interface

    The meter is responsible for creating metric instruments.

    interface Meter {
        createCounter(name: string, options?: MetricOptions): Counter;
        createGauge?(name: string, options?: MetricOptions): Gauge;
        createHistogram(name: string, options?: MetricOptions): Histogram;
    }
    Index

    Methods

    • Creates a new Gauge metric instrument.

      A gauge is a metric that represents a single numerical value that can arbitrarily go up and down. Gauges are typically used for measured values like queue sizes.

      Parameters

      • name: string

        the name of the gauge

      • Optionaloptions: MetricOptions

        optional configuration for the gauge

      Returns Gauge

      a Gauge instance