Skip to content

Commit 4ac61e6

Browse files
Agalinimatwawana
andauthored
Align with style guidelines
Co-authored-by: Isabel <[email protected]>
1 parent 25c16b6 commit 4ac61e6

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

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

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
---
22
title: PyMongo
3-
redirect_from:
4-
- /clients/python/integrations/pymongo/
5-
- /platforms/python/pymongo/
63
description: "Learn about using Sentry with PyMongo."
74
---
85

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

129
## Install
@@ -19,7 +16,7 @@ pip install --upgrade 'sentry-sdk[pymongo]'
1916

2017
## Configure
2118

22-
To configure the SDK, initialize it before creating any PyMongo's MongoClient instances:
19+
To configure the SDK, initialize it before creating any of PyMongo's MongoClient instances:
2320

2421
```python
2522
import sentry_sdk
@@ -50,12 +47,12 @@ automatically.
5047
## Other MongoDB libraries
5148

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

56-
If a different driver is used (`motor`, `TxMongo`) this integration will not work.
53+
If you use a different driver (for example, `motor`, `TxMongo`), this integration won't work.
5754

5855
### Mongomock
5956

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

src/wizard/python/pymongo.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ support_level: production
55
type: library
66
---
77

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

1111
1. Install `sentry-sdk` from PyPI with the `pymongo` extra:
@@ -14,7 +14,7 @@ driver. It adds breadcrumbs and performace traces for all queries.
1414
pip install --upgrade 'sentry-sdk[pymongo]'
1515
```
1616

17-
2. To configure the SDK, initialize it before creating any PyMongo's MongoClient instances:
17+
2. To configure the SDK, initialize it before creating any of PyMongo's MongoClient instances:
1818

1919
```python
2020
import sentry_sdk

0 commit comments

Comments
 (0)