-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: extract decision span from full span (#1338)
## Which problem is this PR solving? Extract only necessary information that's needed for trace decision from a full span so that we can forward only the key fields to peers later part of #1318 ## Short description of the changes - add a method on `Span` to extract only necessary information into a new types.Event - add a method to differentiate a full span from a decision span - store `IsRoot` information on `Span` - simplify naming for span annotation types
- Loading branch information
Showing
6 changed files
with
240 additions
and
96 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.