private static void removeDeltaMetrics(String dbName, String tblName, String partitionName,
      CompactionMetricsMetricType type, IMetaStoreClient client) throws TException {
    CompactionMetricsDataRequest request = new CompactionMetricsDataRequest(dbName, tblName, type);
    request.setPartitionName(partitionName);
    client.removeCompactionMetricsData(request);
  }
Collect and publish ACID and compaction related metrics.
Everything should be behind 2 feature flags: {@link MetastoreConf.ConfVars#METRICS_ENABLED} and
{@link MetastoreConf.ConfVars#METASTORE_ACIDMETRICS_THREAD_ON}.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/metrics/AcidMetricService.java