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

    Interface Histogram<AttributesTypes>

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

    Type Parameters

    • AttributesTypes extends MetricAttributes = MetricAttributes
    Index

    Methods

    Methods

    • Records a measurement. Value of the measurement must not be negative.

      Parameters

      Returns void