@Override
  public int hashCode() {
    return Objects.hash(name, tags);
  }
Convert the metric name and tag into pair.
iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/utils/MetricInfo.java