Move default metrics reporting out of plugins.