Class CommitLogMetrics

java.lang.Object
org.apache.cassandra.metrics.CommitLogMetrics

public class CommitLogMetrics extends Object
Metrics for commit log
  • Field Details

    • factory

      public static final MetricNameFactory factory
    • completedTasks

      public com.codahale.metrics.Gauge<Long> completedTasks
      Number of completed tasks
    • pendingTasks

      public com.codahale.metrics.Gauge<Long> pendingTasks
      Number of pending tasks
    • totalCommitLogSize

      public com.codahale.metrics.Gauge<Long> totalCommitLogSize
      Current size used by all the commit log segments
    • waitingOnSegmentAllocation

      public final com.codahale.metrics.Timer waitingOnSegmentAllocation
      Time spent waiting for a CLS to be allocated - under normal conditions this should be zero
    • waitingOnCommit

      public final com.codahale.metrics.Timer waitingOnCommit
      The time spent waiting on CL sync; for Periodic this is only occurs when the sync is lagging its sync interval
    • waitingOnFlush

      public final com.codahale.metrics.Timer waitingOnFlush
      Time spent actually flushing the contents of a buffer to disk
    • oversizedMutations

      public final com.codahale.metrics.Meter oversizedMutations
      Number and rate of oversized mutations
  • Constructor Details

    • CommitLogMetrics

      public CommitLogMetrics()
  • Method Details