@VisibleForTesting
    static String getFlinkMetricIdentifierString(MetricKey metricKey) {
        MetricName metricName = metricKey.metricName();
        ArrayList<String> scopeComponents = getNameSpaceArray(metricKey);
        List<String> results = scopeComponents.subList(0, scopeComponents.size() / 2);
        results.add(metricName.getName());
        return String.join(METRIC_KEY_SEPARATOR, results);
    }
@Test
    void testGetFlinkMetricIdentifierString() {
        MetricKey key = MetricKey.create("step", MetricName.named(DEFAULT_NAMESPACE, "name"));
        assertThat(FlinkMetricContainer.getFlinkMetricIdentifierString(key))
                .isEqualTo("key.value.name");
    }