Context: event-driven system where objects go through a bunch of subsystems (Tokio architecture, communication over channels). I want to have spans that track the object through the system, from start to finish. Is the idiomatic way to do this just attaching a span to the object and entering / exiting it each time it arrives at a different subsystem?
Asked
Active
Viewed 153 times
2
-
1Sounds like a perfectly reasonable thing to do. The alternative would be to attach some event identifier to each span that handles it with throughout the system and filter by it in your trace-viewing tool of choice. – kmdreko Jan 08 '23 at 22:14