thrift: Add metrics assertions to observability tests
thrift: Add metrics assertions to observability tests

Similar to the previous commit for logs, this subtest ensures that the
Thrift encoding is correctly setting the code and name of the
exception in metrics.

All Thrift exceptions should now have a name, but an optional code.

yarpc/yarpc-go,yarpc/yarpc-go