ruby metrics