-
Notifications
You must be signed in to change notification settings - Fork 538
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
Don't save pg.values on span #11
Comments
For the record |
Storing If you agree, I will immediately submit a PR to make it optional unless a |
What does the spec say about it currently? It was my understanding that data scrubbing was supposed to happen in the collector? |
On the one hand, Semantic conventions for General Identity Attributes says the following about
On the other hand, Semantic conventions for database Call-level attributes:
IMHO, despite you can filter it out later in the collector/exporter, the data is so sensitive that we should not store it nor send it anywhere unless it is explicitly requested; as MongoDB plugin does with Anyway, I think that the plugin should warn that it currently logs query parameters by default. |
I think that spec wording is sufficient to change to scrub by default. We may want to provide a config option to capture query values, but I agree it is very sensitive and we shouldn't export it if we can avoid it. |
In that case, I would like to contribute submitting that pull request before the end of the week. The plugin will not add that I will replicate as well the behavior in the plugins that @vmarchaud said once this one is approved. |
@pauldraper I think #174 should have resolved this - can this issue be closed now? |
Yes, thanks! |
Or at least make it a configuration option.
They are frequently sensitive. (There is more general issue with masking sensitive information, but query values are very often sensitive.)
They can be extremely large. Especially arrays.
The text was updated successfully, but these errors were encountered: