A group of tracked counters loosely based on the Counter interface exposed by the prom-client module - counters are metrics that only go up

Hierarchy

  • CounterGroup

Properties

Properties

increment: ((values: Record<string, unknown>) => void)

Type declaration

    • (values: Record<string, unknown>): void
    • Increment the metric group keys by the passed number or any non-numeric value to increment by 1

      Parameters

      • values: Record<string, unknown>

      Returns void

reset: (() => void)

Type declaration

    • (): void
    • Reset the passed key in this metric group to its default value or all keys if no key is passed

      Returns void