CDAP 544 - MetricsTable API Put to use Long instead of byte array

https://issues.cask.co/browse/CDAP-544
You might want to make this Function a static field, rather than the `LONG_TO_BYTES`.