Class MetricData.Point

    • 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.