public Map<String, Double> getMeasurements(Meter meter) {
        Iterable<Measurement> measures = meter.measure();
        Map<String, Double> measurements =
                measures instanceof Collection<Measurement> measurementCollection
                        ? CollectionUtil.newMapWithExpectedSize(measurementCollection.size())
                        : new HashMap<>(8);
        for (Measurement measurement : measures) {
            String tag = measurement.getStatistic()
                    .getTagValueRepresentation();
            measurements.put(tag, measurement.getValue());
        }
        return measurements;
    }
@author James Chen
@implNote We don't cache because the metrics in the registry may change especially the metrics of
          turms service requests
turms-server-common/src/main/java/im/turms/server/common/infra/metrics/MetricsPool.java