Skip to content

Commit cd13fc1

Browse files
author
Emanuele Palazzetti
committed
[docs] including futures and pymysql documentation; minor changes on boto
1 parent 8306e72 commit cd13fc1

File tree

4 files changed

+18
-12
lines changed

4 files changed

+18
-12
lines changed

ddtrace/contrib/boto/__init__.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
"""
2-
Boto integration will trace all aws calls made via boto2
3-
4-
This integration ignores autopatching, it can be enabled via
5-
`patch_all(boto=True)`
6-
::
2+
Boto integration will trace all AWS calls made via boto2.
3+
This integration is automatically patched when using ``patch_all()``::
74
85
import boto.ec2
96
from ddtrace import patch

ddtrace/contrib/botocore/__init__.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
"""
2-
The Botocore integration will trace all aws calls made with the botocore
3-
library. Libraries like Boto3 that use Botocore will also be patched
2+
The Botocore integration will trace all AWS calls made with the botocore
3+
library. Libraries like Boto3 that use Botocore will also be patched.
44
5-
This integration ignores autopatching, it can be enabled via
6-
`patch_all(botocore=True)`
7-
::
5+
This integration is automatically patched when using ``patch_all()``::
86
97
import botocore.session
108
from ddtrace import patch

ddtrace/contrib/futures/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66
The integration doesn't trace automatically threads execution, so manual
77
instrumentation or another integration must be activated. Threads propagation
88
is not enabled by default with the `patch_all()` method and must be activated
9-
as follows:
9+
as follows::
1010
1111
from ddtrace import patch, patch_all
1212
13-
1413
patch(futures=True)
1514
# or, when instrumenting all libraries
1615
patch_all(futures=True)

docs/index.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,11 @@ Tornado
186186
Other Libraries
187187
---------------
188188

189+
Futures
190+
~~~~~~~
191+
192+
.. automodule:: ddtrace.contrib.futures
193+
189194
Boto2
190195
~~~~~~~~~
191196

@@ -245,6 +250,10 @@ MySQL
245250

246251
.. automodule:: ddtrace.contrib.mysqldb
247252

253+
**pymysql**
254+
255+
.. automodule:: ddtrace.contrib.pymysql
256+
248257
Postgres
249258
~~~~~~~~
250259

@@ -619,6 +628,7 @@ soon as possible in your Python entrypoint.
619628
* sqlite3
620629
* mysql
621630
* mysqldb
631+
* pymysql
622632
* psycopg
623633
* redis
624634
* cassandra
@@ -627,6 +637,8 @@ soon as possible in your Python entrypoint.
627637
* elasticsearch
628638
* pylibmc
629639
* celery
640+
* boto
641+
* botocore
630642
* aiopg
631643
* aiohttp (only third-party modules such as ``aiohttp_jinja2``)
632644

0 commit comments

Comments
 (0)