-
Notifications
You must be signed in to change notification settings - Fork 84
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
message_span_propogation broke top span reporting? #316
Comments
I feel it should use The handler future has a current span from the processing_loop, but it follows from the sender's processing_loop. |
do you have a repro available? it's difficult to see what's going on here, but process-internal actor casualty may be possible with follows_from, however we'd need to see what happens with the span's fields. |
I got a minimum reproducer https://github.com/kanru/ractor-316. Just need to clone it and Expected output:
Actual
Interestingly it seems only |
I've asked someone from Tracing to help out on this one for best practices. They're going to take oa look when they have a chance CC: @davidbarsky. |
Describe the bug
I'm not sure if it's my configuration issue. With the default tracing-subscriber formatter, I can only see one actor in the log and it's not the correct actor when message_span_propogation is enabled.
With message_span_propogation
Without message_span_propogation
Notice the
myself
field, it should match the name in the span, not the message's originator.To Reproduce
Steps to reproduce the behavior:
tracing_subscriber::fmt::init();
Expected behavior
The span in the log should print the correct actor_id and name of the handling actor
Additional context
BTW, I had to patch ractor_cluster to disable message_span_propogation.
The text was updated successfully, but these errors were encountered: