Skip to content
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

Fix interceptor order to make sure tracing is set up first #4422

Merged
merged 3 commits into from
Dec 19, 2023

Conversation

aduffeck
Copy link
Contributor

This PR fixes a problem where the appctx logger was using a new traceid instead of picking up the one from the trace parent.

Part of the fix of owncloud/ocis#7928

That fixes a problem where the appctx logger was using a wrong trace id,
not the one from the trace parent.
@aduffeck aduffeck requested a review from labkode as a code owner December 19, 2023 14:01
Copy link

update-docs bot commented Dec 19, 2023

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@aduffeck aduffeck requested review from glpatcern and a team as code owners December 19, 2023 14:04
@butonic
Copy link
Contributor

butonic commented Dec 19, 2023

What about the NewStreamInterceptor ? does that also have tho wrong order of interceptors?

@aduffeck
Copy link
Contributor Author

Streaming doesn't use the opentelemetry interceptor at all at that point. I'll take this to chat to discuss..

@aduffeck aduffeck merged commit 6e8505c into cs3org:edge Dec 19, 2023
9 checks passed
@aduffeck aduffeck deleted the fix-disconnected-traces branch December 19, 2023 14:39
@micbar micbar mentioned this pull request Dec 20, 2023
71 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants