Skip to content

Python: Added supported PyMongo/Python versions. #5775

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

Merged
merged 2 commits into from
Nov 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/platforms/python/guides/pymongo/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ description: "Learn about using Sentry with PyMongo."

The PyMongo integration adds support for [PyMongo](https://www.mongodb.com/docs/drivers/pymongo/), the official MongoDB driver.


## Install

Install `sentry-sdk` from PyPI with the `pymongo` extra:
Expand Down Expand Up @@ -44,7 +43,6 @@ automatically.

</Note>


## Behavior

The following information about your MonogDB queries will be available to you on Sentry.io:
Expand All @@ -68,3 +66,8 @@ If you use a different driver (for example, `TxMongo`), this integration won't w

While `mongomock` can be used to replace `PyMongo` in tests, it doesn't implement all features available in the official
driver. This integration will not generate any breadcrumbs or spans from `mongomock`'s clients.

## Supported Versions

- PyMongo: 3.1+, 4.0, 4.1, 4.2
- Python: 2.7 (PyMongo 3.1+), Python 3.6+ (PyMongo 4.0), Python 3.7+ (PyMongo 4.1+)