We could add error tag to client spans for returned 5xx codes. Related issue for async server API #91