forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ObsUX] [APM-OTEL] Filter by trace.id instead of transaction.if for d…
…ependency spans (elastic#198781) Closes elastic#193672 ### Summary of the issue The trace waterfall for dependencies operations is filled querying to span documents using term query for `span.destination.service.resource` and `span.name` fields, and where `transaction.id` exist. The results for this query were empty, in otel, span documents don't have the `transaction.id` field. After this query another one is made to retrieve the transactions for those spans, querying the transaction ids ### Fix The query has been changed, so we will check for the `trace.id` instead of the `transaction.id` On the second query, we will get from those trace ids the ones with `transaction.id` and retrieve the transactions data https://github.com/user-attachments/assets/fba25f61-0646-4071-b49f-422eab7ff18e
- Loading branch information
1 parent
69c1e5a
commit c83e6db
Showing
2 changed files
with
9 additions
and
10 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