-
Notifications
You must be signed in to change notification settings - Fork 183
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 db.statement sanitization/masking examples #708
Comments
The given examples (if they actually contain |
Yeah, those are after sanitization. Let me correct myself, I meant something like that:
|
@mateuszrzeszutek (maybe it requires a dedicated issue) |
The parameter `maxExportBatchSize` refers to "export", but `exporterTimeoutMillis` refers to the "exporter." This unifies on "export" since they are both in reference to the same process.
Rolling this issue into #717 |
What are you trying to achieve?
The trace DB spec mentions that the
db.statement
attribute valuemay be sanitized to exclude sensitive information
but provides no example of such sanitization.The aim of this issue is to add several examples of how we should sanitize database statements, e.g.
INSERT INTO payment_cards (CC, EXP_DATE) values (?, ?)
for SQL orHMSET cards cc ? exp_date ?
for Redis.Additional context.
See: open-telemetry/opentelemetry-java-instrumentation#1405
The text was updated successfully, but these errors were encountered: