Class MetricData.Point

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract long getEpochNanos()
      Returns the epoch timestamp in nanos when data were collected, usually it represents the moment when Instrument.getData() was called.
      abstract io.opentelemetry.api.common.Labels getLabels()
      Returns the labels associated with this Point.
      abstract long getStartEpochNanos()
      Returns the start epoch timestamp in nanos of this Instrument, usually the time when the metric was created or an aggregation was enabled.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getStartEpochNanos

        public abstract long getStartEpochNanos()
        Returns the start epoch timestamp in nanos of this Instrument, usually the time when the metric was created or an aggregation was enabled.
        Returns:
        the start epoch timestamp in nanos.
      • getEpochNanos

        public abstract long getEpochNanos()
        Returns the epoch timestamp in nanos when data were collected, usually it represents the moment when Instrument.getData() was called.
        Returns:
        the epoch timestamp in nanos.
      • getLabels

        public abstract io.opentelemetry.api.common.Labels getLabels()
        Returns the labels associated with this Point.
        Returns:
        the labels associated with this Point.