Skip to content

Commit

Permalink
Damn
Browse files Browse the repository at this point in the history
  • Loading branch information
ines potier committed Sep 23, 2024
1 parent 7324a47 commit f8a6e18
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/java/org/apache/cassandra/metrics/ColumnFamilyMetrics.java
Original file line number Diff line number Diff line change
Expand Up @@ -730,12 +730,12 @@ public Long getValue()
casPrepare = new LatencyMetrics(factory, "CasPrepare", cfs.keyspace.metric.casPrepare);
casPropose = new LatencyMetrics(factory, "CasPropose", cfs.keyspace.metric.casPropose);
casCommit = new LatencyMetrics(factory, "CasCommit", cfs.keyspace.metric.casCommit);
casLockWait = new LatencyMetrics(factory, "CasLock", cfs.keyspace.metric.casLockWait);
casLockWait = new LatencyMetrics(factory, "CasLockWait", cfs.keyspace.metric.casLockWait);

casLock = Metrics.meter(factory.createMetricName("casLock"));
casPrepareAttempts = Metrics.meter(factory.createMetricName("casPrepareAttempts"));
casProposeAttempts = Metrics.meter(factory.createMetricName("casProposeAttempts"));
casCommitAttempts = Metrics.meter(factory.createMetricName("casCommitAttempts"));
casLock = Metrics.meter(factory.createMetricName("CasLock"));
casPrepareAttempts = Metrics.meter(factory.createMetricName("CasPrepareAttempts"));
casProposeAttempts = Metrics.meter(factory.createMetricName("CasProposeAttempts"));
casCommitAttempts = Metrics.meter(factory.createMetricName("CasCommitAttempts"));

droppableTombstoneRatio = createColumnFamilyGauge("DroppableTombstoneRatio", cfs::getDroppableTombstoneRatio);
liveTombstoneRatio = createColumnFamilyGauge("LiveTombstoneRatio", cfs::getLiveTombstoneRatio);
Expand Down

0 comments on commit f8a6e18

Please sign in to comment.