class FlinkMetricContainer {

	@VisibleForTesting
	static ArrayList getNameSpaceArray(MetricKey metricKey) {
		MetricName metricName = metricKey.metricName();
		try {
			return new ObjectMapper().readValue(metricName.getNamespace(), ArrayList.class);
		} catch (JsonProcessingException e) {
			throw new RuntimeException(
				String.format("Parse namespace[%s] error. ", metricName.getNamespace()), e);
		}
	}

	public  FlinkMetricContainer(MetricGroup metricGroup);

}