Plugins added before LogPlugin don't have a plugin build tracing span
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 171
Description
## Bevy version and features
- 0.17
## What you did
Recently we added tracing spans for the plugin lifecycle methods. When running `cargo run --example many_foxes -F trace_tracy`, the plugins that are added before and including `LogPlugin::build` are not logged. This is just the `PanicHandlerPlugin` and the `LogPlugin` in `DefaultPlugins`.
I don't think this is easily fixable, but thought it should be noted somewhere.
Contributor guide
Research direction
Run `cargo run --example many_foxes -F trace_tracy` and inspect the plugin lifecycle tracing around `DefaultPlugins`, especially `PanicHandlerPlugin` and `LogPlugin`. Determine whether spans can cover plugins added before `LogPlugin::build`; done means those plugins are represented in the tracing output, or the limitation is documented if it cannot be fixed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- observability
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100