Skip to content

Commit ed35045

Browse files
authored
Made headline structure like FastAPI docs and added screenshot
2 parents a81e709 + 73856af commit ed35045

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

src/platforms/python/guides/pymongo/index.mdx

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: PyMongo
33
description: "Learn about using Sentry with PyMongo."
44
---
55

6-
The PyMongo integration adds support for [PyMongo](https://www.mongodb.com/docs/drivers/pymongo/), the official MongoDB
7-
driver. It adds breadcrumbs and performace traces for all queries.
6+
The PyMongo integration adds support for [PyMongo](https://www.mongodb.com/docs/drivers/pymongo/), the official MongoDB driver.
7+
88

99
## Install
1010

@@ -44,7 +44,18 @@ automatically.
4444

4545
</Note>
4646

47-
## Other MongoDB libraries
47+
48+
## Behavior
49+
50+
The following information about your MonogDB queries will be available to you on Sentry.io:
51+
52+
- Performance traces for all MongoDB queries
53+
- Breadcrumbs for all MongoDB queries
54+
- 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)
55+
56+
![MongoDB query details are shown as a waterfall diagram](mongodb-query-performance-details.png)
57+
58+
### Other MongoDB libraries
4859

4960
PyMongo is an official synchronous driver for MongoDB. It means that many other Python libraries interacting with
5061
MongoDB use it under the hood, like, for example `mongoengine` (always) or `umongo` (if selected from multiple available
Loading

0 commit comments

Comments
 (0)