Package org.apache.cassandra.metrics
Class AutoRepairMetrics
java.lang.Object
org.apache.cassandra.metrics.AutoRepairMetrics
Metrics related to AutoRepair.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal com.codahale.metrics.Gauge<Long>final com.codahale.metrics.Gauge<Integer>final com.codahale.metrics.Gauge<Integer>final com.codahale.metrics.Gauge<Integer>final com.codahale.metrics.Gauge<Integer>final com.codahale.metrics.Gauge<Integer>com.codahale.metrics.Countercom.codahale.metrics.Counterfinal com.codahale.metrics.Gauge<Integer>final com.codahale.metrics.Gauge<Integer>com.codahale.metrics.Countercom.codahale.metrics.Countercom.codahale.metrics.Counterfinal com.codahale.metrics.Gauge<Integer>final com.codahale.metrics.Gauge<Integer>final com.codahale.metrics.Gauge<Integer>final com.codahale.metrics.Gauge<Long>final com.codahale.metrics.Gauge<Integer>final com.codahale.metrics.Gauge<Integer>final com.codahale.metrics.Gauge<Integer> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrecordRepairStartLag(long lastFinishTimeInMs) Record perceived lag in scheduling repair.void
-
Field Details
-
repairsInProgress
-
nodeRepairTimeInSec
-
clusterRepairTimeInSec
-
longestUnrepairedSec
-
repairStartLagSec
-
succeededTokenRangesCount
-
failedTokenRangesCount
-
skippedTokenRangesCount
-
skippedTablesCount
-
totalMVTablesConsideredForRepair
-
totalDisabledRepairTables
-
totalBytesToRepair
-
bytesAlreadyRepaired
-
totalKeyspaceRepairPlansToRepair
-
keyspaceRepairPlansAlreadyRepaired
-
repairTurnMyTurn
public com.codahale.metrics.Counter repairTurnMyTurn -
repairTurnMyTurnDueToPriority
public com.codahale.metrics.Counter repairTurnMyTurnDueToPriority -
repairTurnMyTurnForceRepair
public com.codahale.metrics.Counter repairTurnMyTurnForceRepair -
repairDelayedByReplica
public com.codahale.metrics.Counter repairDelayedByReplica -
repairDelayedBySchedule
public com.codahale.metrics.Counter repairDelayedBySchedule
-
-
Constructor Details
-
AutoRepairMetrics
-
-
Method Details
-
recordTurn
-
recordRepairStartLag
public void recordRepairStartLag(long lastFinishTimeInMs) Record perceived lag in scheduling repair. Takes the current time and subtracts it from the given last repair finish time. It then compares the difference with the min repair interval for this repair type, and if that value is greater than 0, records it.
-