Add metric table to the metric view. It still needs some work.