Skip to content

Commit

Permalink
Removed subprocess micrometer tag from CompactionCoordinator (#4984)
Browse files Browse the repository at this point in the history
Closes #4955
  • Loading branch information
dlmarion authored Oct 16, 2024
1 parent 14bc7be commit 51b4390
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -647,11 +647,9 @@ protected TExternalCompactionJob createThriftJob(String externalCompactionId,
@Override
public void registerMetrics(MeterRegistry registry) {
Gauge.builder(MAJC_QUEUED.getName(), jobQueues, CompactionJobQueues::getQueuedJobCount)
.tag("subprocess", "compaction.coordinator").description(MAJC_QUEUED.getDescription())
.register(registry);
.description(MAJC_QUEUED.getDescription()).register(registry);
Gauge.builder(MAJC_RUNNING.getName(), this, CompactionCoordinator::getNumRunningCompactions)
.tag("subprocess", "compaction.coordinator").description(MAJC_RUNNING.getDescription())
.register(registry);
.description(MAJC_RUNNING.getDescription()).register(registry);

queueMetrics.registerMetrics(registry);
}
Expand Down

0 comments on commit 51b4390

Please sign in to comment.