Dashboard metrics

This is the PR for the dashboard/channel metric graphs
Mocha shouldn't be needed here as it is used for testing.