Interface MetricGroup<T>

A group of related metrics loosely based on the interfaces exposed by the prom-client module

interface MetricGroup<T> {
    decrement(values): void;
    increment(values): void;
    reset(): void;
    timer(key): StopTimer;
    update(values): void;
}

Type Parameters

  • T extends string = any

Methods