Feature/metrics endpoint

/to @rmg for review

/to @chandadharap to try out, this may make your datadog stuff easier.
fixed