libp2p
    Preparing search index...

    Interface CounterGroup<T>

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

    interface CounterGroup<T extends string = any> {
        increment(values: Partial<Record<T, number | true>>): void;
        reset(): void;
    }

    Type Parameters

    • T extends string = any
    Index

    Methods