Idiomatic way of tracing an object through your system with `tracing`?

273 Views Asked by At

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?

0

There are 0 best solutions below