code: public boolean deleteMetric(Metric metric) {
          String metricName = metric.getName();
          checkMetricIsEmpty(metricName);
          QueryPart<Metric> queryPart = new Query<Metric>("metrics")
                  .path(metricName, true);
          return httpClientManager.updateMetaData(queryPart, delete());
      }
docs: delete metric
  
  @param metric metric
  @return is success