private void deregisterCompactorGauges(String storeId) {
    String prefix = storeId + SEPARATOR;
    registry.remove(MetricRegistry.name(BlobStoreCompactor.class, prefix + "CompactionInProgress"));
    registry.remove(MetricRegistry.name(BlobStoreCompactor.class, prefix + "CompactionCost"));
    registry.remove(MetricRegistry.name(BlobStoreCompactor.class, prefix + "CompactionBenefit"));
  }
Deregister the CompactorGauges for given {@code store}.
@param storeId the {@link BlobStore} for which the CompactorGauges should be deregistered.
ambry-store/src/main/java/com/github/ambry/store/StoreMetrics.java