-
Notifications
You must be signed in to change notification settings - Fork 895
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
PII data can be present in exception messages that are captured #3039
Comments
I have ended up here after raising a similar issue RE exception messages in spans with Spring Framework. They have suggested I raise an issue with the OTel agent but I see there are already a few related issues open. Are you happy adding an additional case to this issue or would you like me to open a new, dedicated one? |
It's fine to keep it in this one, it's the same problem after all. |
hi @aaronjamesford! can you share more details about the span on which this exception is captured? (in particular I'm curious if it's the top-most SERVER span, or an INTERNAL span) also, does this exception bubble up and get logged in your application logs? or is it captured somewhere and so avoids getting logged? |
It is appearing in an internal span and it looks as if the span name is the controller class and method ( Library info on the span: This isn't bubbling up or showing in logs as we have a controller advice that handles this specific exception |
thanks! this is really helpful. @mateuszrzeszutek @laurit another check against controller spans 😞 |
@aaronjamesford if you don't need these controller spans, you can suppress them: https://opentelemetry.io/docs/instrumentation/java/automatic/agent-config/#suppressing-controller-andor-view-spans |
Reported via technical committee responsible disclosure inbox:
The text was updated successfully, but these errors were encountered: