tauri-apps / wry

Cross-platform WebView library in Rust for Tauri.
Apache License 2.0
3.32k stars 243 forks source link

feat(tracing): IPC and custom protocol spans should not have a parent #1247

Closed lucasfernog closed 1 month ago

lucasfernog commented 1 month ago

IPC and custom protocol tracing spans are treated as root for these operations, so they should not have a parent.

When an IPC is being executed on the main thread, and another IPC message is received, the second IPC span might be added as a child of the first IPC call, which can be misleading.