You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-1Lines changed: 10 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -476,7 +476,7 @@ db = XRayFlaskSqlAlchemy(app)
476
476
477
477
### Ignoring httplib requests
478
478
479
-
If you want to ignore certain httplib requests you can do so based on the hostname or URL that is being requsted.
479
+
If you want to ignore certain httplib requests you can do so based on the hostname or URL that is being requsted. The hostname is matched using the Python [fnmatch library](https://docs.python.org/3/library/fnmatch.html) which does Unix glob style matching.
480
480
481
481
```python
482
482
from aws_xray_sdk.ext.httplib import add_ignored as xray_add_ignored
If you use a subclass of httplib to make your requests, you can also filter on the class name that initiates the request. This must use the complete package name to do the match.
498
+
499
+
```python
500
+
from aws_xray_sdk.ext.httplib import add_ignored as xray_add_ignored
0 commit comments