OpenTelemetry SDK
    Preparing search index...

    Interface DataPoint<T>

    Represents an aggregated point data with start time, end time and their associated attributes and points.

    interface DataPoint<T> {
        attributes: Attributes;
        endTime: HrTime;
        startTime: HrTime;
        value: T;
    }

    Type Parameters

    • T
    Index
    attributes: Attributes

    The attributes associated with this DataPoint.

    endTime: HrTime

    The end epoch timestamp when data were collected, usually it represents the moment when MetricReader.collect was called.

    startTime: HrTime

    The start epoch timestamp of the DataPoint, usually the time when the metric was created when the preferred AggregationTemporality is CUMULATIVE, or last collection time otherwise.

    value: T

    The value for this DataPoint. The type of the value is indicated by the DataPointType.