Open pavolloffay opened 6 years ago
The MP-OT spec defines that error tag SHOULD be added only for 4xx (client codes). If the server side is not traced and 5xx is returned I would also consider that operation as failed or errored.
Reported in MP-OT https://github.com/eclipse/microprofile-opentracing/issues/114
We could add error tag to client spans for returned 5xx codes.
Related issue for async server API #91