Add coverage dir to gitignore.
Fix metrics reporting.
Move default metrics reporting out of plugins.