Skip to content

Made headline structure like FastAPI docs and added screenshot #1

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
Show file tree
Hide file tree
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
17 changes: 14 additions & 3 deletions src/platforms/python/guides/pymongo/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ title: PyMongo
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. It adds breadcrumbs and performace traces for all queries.
The PyMongo integration adds support for [PyMongo](https://www.mongodb.com/docs/drivers/pymongo/), the official MongoDB driver.


## Install

Expand Down Expand Up @@ -44,7 +44,18 @@ automatically.

</Note>

## Other MongoDB libraries

## Behavior

The following information about your MonogDB queries will be available to you on Sentry.io:

- Performance traces for all MongoDB queries
- Breadcrumbs for all MongoDB queries
- Personal identifiable information (PII) will be stripped from all MongoDB queries if `send_default_pii` is disabled in the SDK. (This was tested for PyMongo 4.2 and below, but "should" also be future proof)

![MongoDB query details are shown as a waterfall diagram](mongodb-query-performance-details.png)

### Other MongoDB libraries

PyMongo is an official synchronous driver for MongoDB. It means that many other Python libraries interacting with
MongoDB use it under the hood, like, for example `mongoengine` (always) or `umongo` (if selected from multiple available
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.