-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
A-tokioArea: The main tokio crateArea: The main tokio crateC-enhancementCategory: A PR with an enhancement or bugfix.Category: A PR with an enhancement or bugfix.M-taskModule: tokio/taskModule: tokio/taskM-tracingTracing support in TokioTracing support in Tokio
Description
This is to track the currently unstable tokio::task::Builder API. To use it, you must pass --cfg tokio_unstable to rustc.
RFC: https://hackmd.io/Vm0UXvrNTg6HleGlD8C8sg
PR: #3881
Roadmap
- Include code from PR in a crates.io release
- Resolve open questions
Open questions
- How do we allow adding more context to the spawned task's
tracingspan?- If
tracingis at 1.0, we could allow passingBuilder::spandirectly. - To hide
tracing, we could use some imaginaryBuilder::tag(name, value)that usesSpan::recordinternally. - Or we could maybe make use of valuable
- If
fogti, passcod, fulmicoton and theoparis
Metadata
Metadata
Assignees
Labels
A-tokioArea: The main tokio crateArea: The main tokio crateC-enhancementCategory: A PR with an enhancement or bugfix.Category: A PR with an enhancement or bugfix.M-taskModule: tokio/taskModule: tokio/taskM-tracingTracing support in TokioTracing support in Tokio