Skip to content
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 a JDBC-specific sanitizer property #6472

Merged
merged 1 commit into from
Aug 17, 2022
Merged

Add a JDBC-specific sanitizer property #6472

merged 1 commit into from
Aug 17, 2022

Conversation

trask
Copy link
Member

@trask trask commented Aug 15, 2022

I'd like to have a jdbc-specific sanitizer property since disabling the sanitizer is a PII/data sensitivity concern.

I wouldn't mind removing the common property altogether and only supporting instrumentation-specific ones (jedis, lettuce, cassandra, etc), with the thought that users should be very clear about the scope that they are disabling for the sanitizer.

Although I can see the common property being handy in dev environments where there are no data sensitivity concerns.

@trask trask requested a review from a team August 15, 2022 15:25
Copy link
Contributor

@breedx-splk breedx-splk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the flexibility that this affords. Users will be able to control the sanitization of jdbc independently from other db flavors, with the default still being to fall back to sanitization enabled. Sounds good to me.

I would argue in favor of keeping the common setting, though, since I think most users benefit from it and I don't necessarily want users to have to know the specifics of their db flavor to find the specific control.

@trask trask merged commit 9564dbb into open-telemetry:main Aug 17, 2022
@trask trask deleted the jdbc-specific-sanitizer-property branch August 17, 2022 16:21
LironKS pushed a commit to helios/opentelemetry-java-instrumentation that referenced this pull request Oct 23, 2022
LironKS pushed a commit to helios/opentelemetry-java-instrumentation that referenced this pull request Oct 31, 2022
LironKS pushed a commit to helios/opentelemetry-java-instrumentation that referenced this pull request Dec 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants