Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit 0af1283

Browse files
authored
Merge pull request #21 from anil-grexit/patch-1
Add pymysql to supported libraries list
2 parents 738201c + 1f8433d commit 0af1283

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc-source/xray-sdk-python-patching.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ To instrument downstream calls, use the X\-Ray SDK for Python to patch the libra
1010
+ `[httplib](https://docs.python.org/2/library/httplib.html)`, [https://docs.python.org/3/library/http.client.html](https://docs.python.org/3/library/http.client.html) – Instrument low\-level HTTP clients and the higher level libraries that use them\.
1111
+ `[sqlite3](https://docs.python.org/3/library/sqlite3.html)` – Instrument SQLite clients\.
1212
+ `[mysql\-connector\-python](https://pypi.python.org/pypi/mysql-connector-python)` – Instrument MySQL clients\.
13+
+ `[pymysql](https://pypi.org/project/PyMySQL/)` - Instrument PyMySQL based clients for MySQL & MariaDB\.
1314

1415
When you use a patched library, the X\-Ray SDK for Python creates a subsegment for the call and records information from the request and response\. A segment must be available for the SDK to create the subsegment, either from the SDK middleware or from AWS Lambda\.
1516

@@ -75,4 +76,4 @@ from aws_xray_sdk.core import patch
7576
7677
libraries = ('aioboto3')
7778
patch(libraries)
78-
```
79+
```

0 commit comments

Comments
 (0)