Class MetricData.LongPoint

  • Enclosing class:
    MetricData

    @Immutable
    public abstract static class MetricData.LongPoint
    extends MetricData.Point
    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 MetricData.LongPoint create​(long startEpochNanos,
                                                  long epochNanos,
                                                  io.opentelemetry.api.common.Labels labels,
                                                  long value)