Class MetricData.DoublePoint

  • Enclosing class:
    MetricData

    @Immutable
    public abstract static class MetricData.DoublePoint
    extends MetricData.Point
    DoublePoint is a single data point in a timeseries that describes the time-varying value of a double metric.
    • Method Detail

      • getValue

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

        public static MetricData.DoublePoint create​(long startEpochNanos,
                                                    long epochNanos,
                                                    io.opentelemetry.api.common.Labels labels,
                                                    double value)