You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When firing a request using a Jersey Client, a span is generated and visible in e.g. Jaeger if the server manages to reply. However, if the server does not reply (e.g. in the case of a client timeout being reached), no span is visible.
The problem is easily reproducible using the attached example: I have created two endpoints that each call example.org One is located at /test/works and has a generous timeout value. The other is located at /test/broken and is set to timeout the connection after 1 millisecond.
By calling each of these endpoints, we will see the following for /test/works and /test/broken respectively:
Note the missing spans on the second picture (that are actually the reason for the entire trace being marked as having an error - yet the root cause of the error disappears).
Steps to reproduce
Build and run the attached sample code while having an active Jaeger All-in-One instance running locally.
Environment Details
Problem Description
When firing a request using a Jersey Client, a span is generated and visible in e.g. Jaeger if the server manages to reply. However, if the server does not reply (e.g. in the case of a client timeout being reached), no span is visible.
The problem is easily reproducible using the attached example: I have created two endpoints that each call example.org One is located at /test/works and has a generous timeout value. The other is located at /test/broken and is set to timeout the connection after 1 millisecond.
By calling each of these endpoints, we will see the following for /test/works and /test/broken respectively:
![image](https://user-images.githubusercontent.com/3593183/144491652-3a6a0979-d6cb-401b-b82d-4faf6e368b5e.png)
Note the missing spans on the second picture (that are actually the reason for the entire trace being marked as having an error - yet the root cause of the error disappears).
Steps to reproduce
timeout-no-span-sample.zip
The text was updated successfully, but these errors were encountered: