-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC: tokio-tracing compatible layer #191
Comments
@dotansimha I noticed mix usage of minitrace and tokio-tracing in Conductor, would the compatible layer help? |
At the moment we are using Regarding your question, I don't see a real need at the moment to have a unified setup, as we are using each library for different purposes. |
By reversing your initial thought, we might be able to realize performance gains: minitrace is in charge of span generation, and tokio-tracing collects the spans produced by minitrace. |
Both direction have their use case, but I think it's a fact that only application could include a compat layer, and most libraries are using tokio-tracing, therefore only the direction of tokio-tracing to minitrace is needed in practise. |
So low-overhead cannot be achieved. Are there any scenarios for this requirement? |
it's temporary for transition. The ultimate goal will be completly removing the compat layer in the build graph. |
By adding a tokio-tracing compatible layer to minitrace, we can provide a low-overhead tracing solution for tokio applications, combining the performance benefits of minitrace with the convenience and familiarity of tokio-tracing.
Initial thoughts:
cc @zhongzc
The text was updated successfully, but these errors were encountered: