code: protected void regenerateMetrics() {
      if (isInstrumentationEnabled()) {
        this.datasetsCleanFailureMeter =
            Optional.of(this.metricContext.meter(DatasetCleanerMetrics.DATASETS_CLEAN_FAILURE));
        this.datasetsCleanSuccessMeter =
            Optional.of(this.metricContext.meter(DatasetCleanerMetrics.DATASETS_CLEAN_SUCCESS));
      }
    }
docs: Generates metrics for the instrumentation of this class.