When implementing #90574, I added a second startTrace method that uses the active context to link a new span to a parent. In testing, this method invocation was required to create activation events required for inferred span, but they didn't actually create instrumented spans of their own.
When implementing #90574, I added a second
startTrace
method that uses the active context to link a new span to a parent. In testing, this method invocation was required to create activation events required for inferred span, but they didn't actually create instrumented spans of their own.Based on this code: https://github.com/elastic/elasticsearch/blob/73cdc7b80ab42c5335512d86eb09b1ac1a085f85/server/src/main/java/org/elasticsearch/search/SearchService.java#L627-L642
...I would have expected to see a blue span below that was just called
executeQueryPhase
: