Use ConstMetricTagPtr in class MetricsRecord