Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Root spans must have a non-empty parent ID field (#1236)
## Which problem is this PR solving? Span's with a `parentID` field with an empty value `""` are considered root spans. This PR updates the logic to determine root spans to check that both the parentID field exists and is not empty for it to be considered a root span. - Fixes #1234 ## Short description of the changes - Check the parentID field is both present and has a value when checking if the span is a root span - Update tests to verify updated behaviour Co-authored-by: Kent Quirk <kentquirk@honeycomb.io>
- Loading branch information