Fix broken error traces, they now require additional metrics
Use correct function to transform statman metrics
Only send error metric if error count is above zero
Merge pull request #5 from chrisavl/master

Fix broken error reporting