add metrics reporting