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 WithCommandLoggingDisabled to otelmongo tracer #723

Conversation

davidgwcurve
Copy link
Contributor

Add WithCommandLoggingDisabled to otelmongo tracer so the user can opt out of tracing the mongo statements. This is useful for applications which may log sensitive data but still want mongo tracing.

Fixes Issue #712

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 29, 2021

CLA Signed

The committers are authorized under a signed CLA.

@davidgwcurve
Copy link
Contributor Author

hey @dashpole @jmacd @MrAlias @evantorrie @XSAM, this is available for review now with all checks passed. I had issues with getting the CLA signed, EasyCLA was playing up. Please let me know if you have any comments.

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
@davidgwcurve davidgwcurve requested a review from MrAlias April 6, 2021 16:27
@davidgwcurve
Copy link
Contributor Author

thank you @MrAlias for the review!

@MrAlias MrAlias linked an issue Apr 6, 2021 that may be closed by this pull request
@davidgwcurve
Copy link
Contributor Author

what is the process for getting this merged @MrAlias ?

@MrAlias
Copy link
Contributor

MrAlias commented Apr 7, 2021

what is the process for getting this merged @MrAlias ?

Another review from @open-telemetry/go-approvers or @open-telemetry/go-maintainers is required

We are in the process of trying to get an RC released which has diminished our capacity to review things not directly related to that, but hopefully someone else will have some time soon.

Copy link
Member

@XSAM XSAM left a comment

Choose a reason for hiding this comment

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

@davidgwcurve Sorry for the delay. It looks good.

@MrAlias MrAlias merged commit 5b82c08 into open-telemetry:main Apr 8, 2021
@davidgwcurve davidgwcurve deleted the add-option-to-disable-tracing-mongo-command branch April 8, 2021 16:28
plantfansam referenced this pull request in plantfansam/opentelemetry-go-contrib Mar 18, 2022
@pellared pellared added this to the untracked milestone Nov 8, 2024
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.

otelmongo: ability to hide Command attribute
4 participants