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
{{ message }}
This repository was archived by the owner on Aug 14, 2024. It is now read-only.
Trigger an unknown HTTP response code (that does not match any span status code) or an exception so span either won't have a status or it'll diverge across SDKs
Expected Result
All SDKs match the default status in such cases:
an exception was thrown, maybe INTERNAL_ERROR
HTTP response code does not match any span status code, set maybe UNKNOWN? we could also make this based on HTTP code range.
eg HTTP response code is 502, we don't have such span status code, what's the default for 5xx range?
eg HTTP response code is 402, same as above, what's the default for 4xx range?
This should be aligned across SDKs for a better experience.
Actual Result
Android OkHttp sets INTERNAL_ERROR as status if there was an error or HTTP response code does not match span status code;
Java Spring sets no status at all;
.NET sets Unknown;