@Override
    public int hashCode() {
      return Objects.hash(tagNames);
    }
Check whether the keys of tags are same.
iotdb-core/metrics/interface/src/main/java/org/apache/iotdb/metrics/utils/MetricInfo.java