Class LongPointData

  • All Implemented Interfaces:
    PointData

    @Immutable
    public abstract class LongPointData
    extends Object
    implements PointData
    LongPoint is a single data point in a timeseries that describes the time-varying values of a int64 metric.

    In the proto definition this is called Int64Point.

    • Method Detail

      • getValue

        public abstract long getValue()
        Returns the value of the data point.
        Returns:
        the value of the data point.
      • create

        public static LongPointData create​(long startEpochNanos,
                                           long epochNanos,
                                           io.opentelemetry.api.metrics.common.Labels labels,
                                           long value)