public void addOptimizer(OptimizerInstance optimizerInstance) {
    optimizerInstances.put(optimizerInstance.getToken(), optimizerInstance);
  }
Metrics manager for an optimizer group.
amoro-ams/src/main/java/org/apache/amoro/server/optimizing/OptimizerGroupMetrics.java