-
-
Notifications
You must be signed in to change notification settings - Fork 606
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
Log Synapse-Trace-Id
header on requests
#1868
Comments
I'm not sure I understand the intention behind this issue, if you could provide additional info @bwindels, that would be really helpful.
Thanks! |
Sorry that I didn't see this before! Synapse can be configured to trace how it processes incoming requests using a tool called Jaeger. This provides detailed insight in how a request was processed. On matrix.org, currently 1% of requests are traced. Specific users can also be configured to always have their requests traced. Ideally, whenever a request is traced, the trace-id would be logged on the client side in such a way that it is contained in debug logs. That way client and server logs can be put together and you might be a better understanding of a bug.
Yes, only 1% if requests are traced on the server-side, so this should not flood the logs.
Not sure, anything will do as long as it ends up in the rageshake/debug logs.
Yeah, ideally at least the url and the method.
|
matrix-js-sdk shouldn't really house Synapse-specific idioms, it should be [made] flexible enough to do this at the application level |
This allows correlating the logs with the synapse logs in case of a problem.
See matrix-org/synapse#9480
The text was updated successfully, but these errors were encountered: