Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
layer: on_event respects event's explicit parent
One can want to have an event added from outside context of a span, especially in an async code (e.g. between polls of the future, or between polling multiple futures instrumented with that span). Then it is expected that the event will be attached indeed to the span specified as the parent and not the contextual one.
- Loading branch information