Replies: 1 comment
-
No idea, not really related to axum 🤷 Try asking in #tracing-users in the tokio discord. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am doing some practice with axum.
I built an app with an simple middleware.
below is the Cargo.toml
below is main.rs
start the jaeger with command:
after make a request by curl
visit the jaeger UI http://127.0.0.1:16686
![image](https://user-images.githubusercontent.com/9378469/188706498-adb70bec-e972-4264-a9d7-7176b8a1c670.png)
![image](https://user-images.githubusercontent.com/9378469/188712083-bf7bc945-ea57-47d3-9582-9ba89a56911c.png)
I got the result
But I expect some result like this
have I done something wrong, why the handler's span and middleware's span don't join together? In some way, they must be child-parent relation.
rustup 1.24.3
rustc 1.60.0
axum 0.5.6
Beta Was this translation helpful? Give feedback.
All reactions