schema: metric + metric_view + metric_view_item