Class SnapshotMetrics

Object
io.delta.kernel.internal.metrics.SnapshotMetrics

public class SnapshotMetrics extends Object
Stores the metrics for an ongoing snapshot construction. These metrics are updated and recorded throughout the snapshot query using this class.

At report time, we create an immutable SnapshotMetricsResult from an instance of SnapshotMetrics to capture the metrics collected during the query. The SnapshotMetricsResult interface exposes getters for any metrics collected in this class.

  • Field Details

    • loadSnapshotTotalTimer

      public final Timer loadSnapshotTotalTimer
    • computeTimestampToVersionTotalDurationTimer

      public final Timer computeTimestampToVersionTotalDurationTimer
    • loadProtocolMetadataTotalDurationTimer

      public final Timer loadProtocolMetadataTotalDurationTimer
    • loadLogSegmentTotalDurationTimer

      public final Timer loadLogSegmentTotalDurationTimer
    • loadCrcTotalDurationTimer

      public final Timer loadCrcTotalDurationTimer
  • Constructor Details

    • SnapshotMetrics

      public SnapshotMetrics()
  • Method Details