Added "long" as metric type. Until now we supported double, float and int.