Feature/metrics endpoint

/to @rmg for review

/to @chandadharap to try out, this may make your datadog stuff easier.
remnant of me trying to get the test to work, removed now.