Skip to content
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

fix: hasError not set true #153

Merged
merged 5 commits into from
Nov 23, 2023
Merged

fix: hasError not set true #153

merged 5 commits into from
Nov 23, 2023

Conversation

makeavish
Copy link
Member

@makeavish makeavish commented Jun 26, 2023

for server kind spans with 4xx errors

fixes(#147)

for server kind spans with 4xx errors
@srikanthccv
Copy link
Member

As discussed on 26th Jun, Please rely on the span status code for hasError.

@nityanandagohain nityanandagohain removed their request for review August 4, 2023 04:37
@makeavish
Copy link
Member Author

As discussed on 26th Jun, Please rely on the span status code for hasError.

@srikanthccv Updated code to only rely on span status code for has error. Here we are checking if span status code is 2 to set hasError to true

@srikanthccv
Copy link
Member

Can you use the symbol ptrace.StatusCodeError from pdata instead of 2 in the linked code?

@makeavish
Copy link
Member Author

Can you use the symbol ptrace.StatusCodeError from pdata instead of 2 in the linked code?

Updated

@makeavish makeavish merged commit daa4c25 into main Nov 23, 2023
2 checks passed
@makeavish makeavish deleted the fix/hasError-server branch November 23, 2023 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hasError must not be set true for server kind spans with 4xx
2 participants