-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Don't set STATUS on SpanKind SERVER for 4XX status #776
Conversation
Status(http_status_to_status_code(int(params.response.status))) | ||
Status( | ||
http_status_to_status_code( | ||
int(params.response.status), server_span=True |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be excluded since this is HTTP Client?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, good catch.
@lzchen @lonewolf3739 @owais
any chance you guys have some idea? not sure what further details to provide |
@talboren could you please create an issue for this and share the output of |
That was exactly it. |
@owais so seems like it wasn't that, I'm opening an issue and will post pip freeze results in there. |
From spec
For HTTP status codes in the 4xx range span status MUST be left unset in case of SpanKind.SERVER