-
Notifications
You must be signed in to change notification settings - Fork 935
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
Make the extra field inserted by virtualfield a transient field #13455
Comments
Are you sure this is because virtual fields or just guessing? To me it looks more likely that you somehow end up serializing request attributes map. |
Seems that we can only use a custom serializer to avoid the case? |
Or can we mark the |
@123liuziming, just in case you were looking into this after our discussion in last week's APAC meeting, wanted to give you a heads up that it looks like @laurit may be exploring options for this in #13493 |
Is your feature request related to a problem? Please describe.
Yes, sometimes users may serialize some Java bean, which may be instrumented by OpenTelemetry Java Agent. Java Agent may insert an extra field through
VirtualField
, and it will led to a serialization failure.Describe the solution you'd like
Make the extra field inserted by virtualfield a transient field and Java will ignore such transient field while doing serialization
Describe alternatives you've considered
No
Additional context
No response
The text was updated successfully, but these errors were encountered: