[8.19] [Discover][Traces] Fix processed OTel waterfall flyout (#224548)#224574
Merged
kibanamachine merged 2 commits intoelastic:8.19from Jun 20, 2025
Merged
[8.19] [Discover][Traces] Fix processed OTel waterfall flyout (#224548)#224574kibanamachine merged 2 commits intoelastic:8.19from
kibanamachine merged 2 commits intoelastic:8.19from
Conversation
## Summary Relates to elastic#208707 While reviewing the Traces in Discover feature, we noticed a couple of issues affecting processed OTel data in the waterfall flyout: - The data wasn’t properly formatted because we were pulling it directly from `_source`, which meant the UI wasn’t receiving the processed version. Now we're using `fields` the same way it's used in Discover. - The logic used to set the flyout title (to determine whether the document was a span or a transaction) relied entirely on the presence of `parent.id`. However, since transactions can also be children of other transactions, we’ve added an extra check using `transaction.name` (spans reference the parent transaction via `transaction.id`) to ensure we're correctly identifying spans. ||Discover|Transaction|Span| |-|-|-|-| |Before|||| |After|Same than before.||| (cherry picked from commit e0a4b63)
Contributor
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
History
cc @iblancof |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto8.19:Questions ?
Please refer to the Backport tool documentation