Add metrics function
Merge pull request #8 from tidepool-org/kjq/addMetrics

Add metrics function