-
Notifications
You must be signed in to change notification settings - Fork 33
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
Include the traceID (& parent trace id if available) in logs #438
Comments
This is already the case for limitador:
@guicassolato do you know if the traceid is logged out in authorino (even if log levels need to be increased)? |
The trace id is not logged in Authorino currently. Authorino logs the request id, which in the traces will link to the trace id as a fixed attribute of all traces generated in the request flow. |
Thanks @guicassolato Where I'm coming from here is having some info about how you might use tracing e2e to troubleshoot a request. |
If you have both enabled (tracing and logs), I supposed it doesn't really matter if you start from one of the other. I imagine the problem is when you don't have tracing enabled in Authorino, then the request id is pretty much useless, unless you also check the gateway logs where request id and the trace id must also show up linked together. Probably, the best thing to do is make sure the trace id is present in the Authorino logs and avoid all this trouble. |
Thanks @guicassolato |
WHAT: Include TraceID in data plane component logs when tracing is enabled.
WHY: To allow logs to be correlated to tracing information for specific requests
The text was updated successfully, but these errors were encountered: