Skip to content

Commit 1899334

Browse files
committed
Made headline structure like FastAPI docs and added screenshot
1 parent db97afc commit 1899334

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

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

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "Learn about using Sentry with PyMongo."
44
---
55

66
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.
7+
driver.
88

99
## Install
1010

@@ -44,11 +44,21 @@ automatically.
4444

4545
</Note>
4646

47-
## Other MongoDB libraries
47+
## Behavior
48+
49+
The following information about your MonogDB queries will be available to you on Sentry.io:
50+
51+
- Performance traces for all MongoDB queries
52+
- Breadcrumbs for all MongoDB queryies
53+
- Personal identifiable information (PII) will be stripped from all MongoDB queries. (This was tested for PyMongo 4.2 and below, but "should" also be future proof)
54+
55+
![MongoDB query details are shown as waterfall diagram](mongodb-query-performance-details.png)
56+
57+
### Other MongoDB libraries
4858

4959
PyMongo is an official synchronous driver for MongoDB. It means that many other Python libraries interacting with
5060
MongoDB use it under the hood, like, for example `mongoengine` (always) or `umongo` (if selected from multiple available
51-
drivers). Queries generated by those libraries will also be monitored.
61+
drivers). Queries generated by those libraries will also be instrumented.
5262

5363
If you use a different driver (for example, `motor`, `TxMongo`), this integration won't work.
5464

Loading

0 commit comments

Comments
 (0)