Feature/metrics endpoint

/to @rmg for review

/to @chandadharap to try out, this may make your datadog stuff easier.
should probably end in "to FILE".