-
I am seeing an issue with getting spans to show up correctly. Here is what I am doing (sorry if this is confusing).
When I look at the data in the UI (Jaeger), the spans are nested correctly. But there are two problems with the events. 1) I don't see event4 anywhere. 2) event3 is showing up under spanA instead of spanB. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
With "At the end of functionB" do you mean after exiting the functionB, or just before exiting the functionB? Sorry if it was supposed to be obvious, and I am the only one confused :) |
Beta Was this translation helpful? Give feedback.
-
Got it working now. thanks. |
Beta Was this translation helpful? Give feedback.
@ramgdev Thanks for sharing the sample code. Looking into the example, the output is as expected. If we look into the
function_b
, which is called asynchronously fromfunction_a
with an explicit contextcontext_a
: