-
Notifications
You must be signed in to change notification settings - Fork 713
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
Local correlation fields not logged #1376
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
Hello, as I understand and as explained in Micrometer Tracing, correlation fields should be logged in the tracing context (i.e SFL4J MDC).
The issue is that using brave implementation requires them to be defined as remote fields in order to be logged in the MDC.
Steps to Reproduce
issues/brave
branchYou will see that only the standard
traceId
andspanId
baggages are logged.If you edit the
application.yaml
file and uncomment the following configuration:The custom baggages
myBaggageFilter
andmyBaggageController
are now correctly logged.Expected Behaviour
The custom baggages
myBaggageFilter
andmyBaggageController
should be logged without being declared as remote fields.Thanks for the help.
The text was updated successfully, but these errors were encountered: