-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow user to convert datatype if valid (#585)
## Which problem is this PR solving? - When datatype is specified, attempt to convert span data to given data type. #541 ## Short description of the changes - This change allows a data check to the rules condition to see if input span/trace data matches the type specified on the data condition. If it is not, then attempt to convert the data to specified type (e.g. int to float, string to int, etc). If it cannot be converted, then do not convert the data. --------- Co-authored-by: Faith Chikwekwe <faithchikwekwe@honeycomb.io>
- Loading branch information
1 parent
17a2f39
commit 809cd9f
Showing
3 changed files
with
865 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
Oops, something went wrong.