-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(spans): Extract http status code from span data when provided as …
…int (#3491) Some SDKs send this field as an integer, which gets converted to `None` by the `v.as_str()` call. I added code to catch if the value is an integer and convert it to a string. In terms of testing, I tested the function which extracts the status, but also added sample spans to the mobile event to generate a snapshot validating both string or integers are extracted. The issue was identified as a difference between Android and iOS events.
- Loading branch information
1 parent
8c75086
commit cdc7a1f
Showing
4 changed files
with
378 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.