code: public boolean remove(String name) {
          final AsmMetric metric = metrics.remove(name);
          if (metric != null) {
              LOG.info("Successfully unregister metric of {}", name);
              return true;
          }
          return false;
      }
docs: Removes the metric with the given name.
  
  @param name the metric node
  @return whether or not the metric was removed