@tigorhutasuhut/telemetry-js - v0.7.3
    Preparing search index...

    Interface UpDownCounter<AttributesTypes>

    interface UpDownCounter<
        AttributesTypes extends MetricAttributes = MetricAttributes,
    > {
        add(
            value: number,
            attributes?: AttributesTypes,
            context?: Context,
        ): void;
    }

    Type Parameters

    • AttributesTypes extends MetricAttributes = MetricAttributes
    Index

    Methods

    Methods

    • Increment value of counter by the input. Inputs may be negative.

      Parameters

      Returns void