-
Notifications
You must be signed in to change notification settings - Fork 839
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
Add 'trace_flags' to logging MDC #2312
Add 'trace_flags' to logging MDC #2312
Conversation
* Remove 'sampled' flag * Rename MDC keys to the current logging spec convention: trace_id instead of traceId
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm good with this change, or with the existing java-style MDC property names (traceId
, spanId
, traceFlags
).
Some more explanation for my changes: I think that |
Oh... this change broken compatibility with json layout provided by spring-cloud-gcp-logging... Unfortunately... |
Resolves #2304
I'll update the logging doc after release.