The schema of the data table is,
The m_tags column stores metric tags. The reason for storing metric tags in the data table was to make querying for data points more efficient. When querying for data points, we want to include any metric tags in the results. We currently store all data points for a metric in a single, physical partition. With HWKMETRICS-189 however, data points will be bucketed by day, meaning data points for each day will go into separate partitions. This makes storing metric tags in the data table impractical.
When we query for data points, we should instead query the metrics_idx table in parallel to load tags and any other metric meta data like data retention settings.