[fix bug 1067324] Custom snippet metrics.
Merge pull request #68 from glogiotatidis/metric-3

[fix bug 1067324] Custom snippet metrics.