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

NH-29380 Remove unused enable_sanitize_sql config #164

Merged
merged 7 commits into from
Jun 9, 2023

Conversation

tammy-baylis-swi
Copy link
Contributor

@tammy-baylis-swi tammy-baylis-swi commented Jun 8, 2023

EDIT: 2 PRs in one now yay


Similar to #163

This removes enable_sanitize_sql from APM Python config. It is not used for anything at the moment. Sanitization of sql statements used for any span attributes is partially handled by the Python query libraries at the moment (prepared statements). Further sanitization (e.g. hardcoded statements) should be handled upstream by the Otel instrumentation libraries and an Otel configuration. Issues are out there for this already:


Similar to #163 and #164

This removes is_grpc_clean_hack_enabled from APM Python config. It is not currently used and I don't think it's needed since liboboe 12.0.0 (https://swicloud.atlassian.net/browse/NH-28555) but please let me know if I'm wrong! The value is not used to config Reporter nor anything else. This value was copied from AO which I think used it as a hidden option to re-activate a hack (https://github.com/librato/python-appoptics/pull/254).

@tammy-baylis-swi tammy-baylis-swi marked this pull request as ready for review June 8, 2023 19:25
@tammy-baylis-swi tammy-baylis-swi requested a review from a team June 8, 2023 19:25
swi-jared
swi-jared previously approved these changes Jun 8, 2023
@tammy-baylis-swi
Copy link
Contributor Author

Oh man peanut brain move with the merge conflicts today 🙈

@tammy-baylis-swi tammy-baylis-swi merged commit d6e29c1 into main Jun 9, 2023
@tammy-baylis-swi tammy-baylis-swi deleted the NH-29380-rm-unused-enablesanitizesql branch June 9, 2023 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants