batch Metrics updates in transaction of 1000 records at a time to reduce db load
Merge pull request #1 from heythisisnate/master

do one database commit per batch of metrics record