Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Implement checking for suppression key in pymongo instrumentation #736

Merged
merged 7 commits into from
Oct 15, 2021

Conversation

andrew-matteson
Copy link
Contributor

Description

Fixes #687

Check for suppression key and return early from pymongo monitoring hooks if it is set.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Added a test that suppression key results in early return.

  • test_suppression_key

Does This PR Require a Core Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

I don't think any doc needs to be updated.

Add test for suppression key with pymongo


changelog update
@andrew-matteson andrew-matteson requested a review from a team October 13, 2021 16:18
@owais owais enabled auto-merge (squash) October 15, 2021 00:18
@owais owais merged commit b5d3074 into open-telemetry:main Oct 15, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

opentelemetry-instrumentation-pymongo is not checking suppress_information
4 participants