Skip to content

Commit

Permalink
Rename metric to avoid unecessary name
Browse files Browse the repository at this point in the history
- also fix a comment

Issue: BB-601
  • Loading branch information
williamlardier committed Sep 19, 2024
1 parent ccd7d42 commit 44bb359
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions extensions/oplogPopulator/OplogPopulatorMetrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ class OplogPopulatorMetrics {
labelNames: ['connector'],
});
this.bucketsExceedingLimit = ZenkoMetrics.createGauge({
name: 's3_oplog_populator_connector_buckets_exceeding_limit',
name: 's3_oplog_populator_buckets_exceeding_limit',
help: 'Total number of buckets exceeding the limit for all connectors',
});
this.retainedBuckets = ZenkoMetrics.createGauge({
name: 's3_oplog_populator_connector_retained_buckets',
name: 's3_oplog_populator_retained_buckets',
help: 'Current number of buckets still listened to by immutable connectors despite intended removal',
});
this.requestSize = ZenkoMetrics.createCounter({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class RetainBucketsDecorator extends AllocationStrategy {
super(params);
this._strategy = strategy;

// Stores buckets that should are removed from the connector
// Stores buckets that should be removed from the connector
// but still in use
this._retainedBuckets = new Map();
}
Expand Down

0 comments on commit 44bb359

Please sign in to comment.