[fix bug 1067324] Custom snippet metrics.