public Map<MetricInfo, IMetric> getAllMetrics() {
    return metrics;
  }
Get all metrics.

@return [name, [tags...]] -> metric
iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/AbstractMetricManager.java