When a sender sends a post, I need to notify multiple subscribers. In this case, "sender sends a post" is a HTTP post and create a trace
.
My goal: When looking at my logs, I will know "which subscriber is the method creating this log notifying".
My naive thoughts: For each of the "notify subscriber A", "notify subscriber B", etc, they are a sub-tree of span
s. If I can give tag
onto each of these sub-tree of spans then I am done.
However, I do not know how to do that. Or, is there any other ways to achieve my goal?
Thanks!