Class CommitLogMetrics


  • public class CommitLogMetrics
    extends java.lang.Object
    Metrics for commit log
    • Field Summary

      Fields 
      Modifier and Type Field Description
      com.codahale.metrics.Gauge<java.lang.Long> completedTasks
      Number of completed tasks
      static MetricNameFactory factory  
      com.codahale.metrics.Meter oversizedMutations
      Number and rate of oversized mutations
      com.codahale.metrics.Gauge<java.lang.Long> pendingTasks
      Number of pending tasks
      com.codahale.metrics.Gauge<java.lang.Long> totalCommitLogSize
      Current size used by all the commit log segments
      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
      com.codahale.metrics.Timer waitingOnFlush
      Time spent actually flushing the contents of a buffer to disk
      com.codahale.metrics.Timer waitingOnSegmentAllocation
      Time spent waiting for a CLS to be allocated - under normal conditions this should be zero
    • Field Detail

      • completedTasks

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

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

        public com.codahale.metrics.Gauge<java.lang.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 Detail

      • CommitLogMetrics

        public CommitLogMetrics()