Add metrics discovery HTTP handler
Add test case for HTTP metrics discovery endpoint