You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation is entirely silent on the fact that block expressions are an absolute requirement for setting up spans in addition to the #[trace] attribute.
The text was updated successfully, but these errors were encountered:
The records of LocalSpan are submitted to the collector once the guard of set_local_parent gets dropped. So, if you collect the trace when the guard is alive, the LocalSpan will have no chance to get collected. And yes, we need to update the document for this behavior.
The documentation is entirely silent on the fact that block expressions are an absolute requirement for setting up spans in addition to the
#[trace]
attribute.The text was updated successfully, but these errors were encountered: