describe metrics in ProbeRegistration

* move metrics implementation into metrics package
* move some common functionality into util package