-
Notifications
You must be signed in to change notification settings - Fork 863
Open
Labels
crate/attributesRelated to the `tracing-attributes` crateRelated to the `tracing-attributes` cratecrate/tracingRelated to the `tracing` crateRelated to the `tracing` cratemeta/breakingThis is a breaking change, and should wait until the next breaking release.This is a breaking change, and should wait until the next breaking release.
Milestone
Description
Feature Request
Crates
tracing
Motivation
In order to reduce churn throughout the ecosystem, we intend to synchronize the tokio 0.3 and tracing-core 0.2 releases. When we release tracing-core 0.2, updating tracing to use the new tracing-core will be a breaking change, so we should make other breaking API changes in tracing at the same time.
This issue tracks breaking tracing changes that we want to make in 0.2.
tracing-attributes changes
- Make
instrumentfields opt-in rather than opt-out (instrument macro: omitselfby default #651, etc) - Replace empty field shorthand with local variable shorthand for consistency with function-like macros (needs issue)
tracing main crate API changes
- Make
Entered!Send(tracing:Enteredguards should be!Send#698) - Remove
Into<Option<Id>>impl for by-valueSpans (fixes "Tried to clone Id(1), but no span exists with that ID" when setting parent span #688) - Remove legacy macro syntax (after deprecating it in a point release, see tracing: deprecate outdated macro syntax #674)
- Try to figure out more consistent macro syntax? (API inconsistency between event and span argument order #456)
Metadata
Metadata
Assignees
Labels
crate/attributesRelated to the `tracing-attributes` crateRelated to the `tracing-attributes` cratecrate/tracingRelated to the `tracing` crateRelated to the `tracing` cratemeta/breakingThis is a breaking change, and should wait until the next breaking release.This is a breaking change, and should wait until the next breaking release.