-
Notifications
You must be signed in to change notification settings - Fork 86
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
Logs do not get attached to trace_id
when using `#[instrument]
#77
Comments
Anyone have any ideas for a potential solution here? |
Sorry for the late response, but looking over the linked issue on opentelemetry-rust, it seems like the short-term solution might be open-telemetry/opentelemetry-rust#1394, but I think a longer-term solution would require some sort of API on (I'll close this for now, but let me know if this should be re-opened.) |
@ewoolsey did you ever find a workaround for this? I see you're collecting both logs and traces, how are you correlating them? I've spend a while trying to figure it out to no avail, any help would be much appreciated. |
No plan? |
Please see this issue for more context
When looking at the output of the logging pipeline, the
Trace ID
field is blank for all logs emitted inside a function marked by#[instrument]
This does not emit a trace id
But this does
I'm not sure exactly what's going wrong under the hood.
Here is my initial setup
The text was updated successfully, but these errors were encountered: