1. 22
  1. 3

    I wonder what is the advantages over using the tracing crate with #[tracing::instrument].

    1. 4

      I’d guess you don’t need the whole tracing setup (can be quite a lot of stuff) and you get insights into stuff that’s in-flight, so you can observe problems as they happen, and not afterwards

      (see also tokio console)

      Can tracing even tell you anything about scheduler load ? I haven’t seen anything about that in my traces at least. Maybe that is different if you enable tracing for everything and sort out the load of data that’s not from your code.

      1. 1

        Can tracing even tell you anything about scheduler load ? I haven’t seen anything about that in my traces at least.

        Sorry for the late reply. Yeah, I didn’t see anything about the scheduler with tracing. Thanks!