We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3adc1ab + 86f7a7e commit 99d3c7bCopy full SHA for 99d3c7b
ddtrace/contrib/requests/patch.py
@@ -10,7 +10,7 @@
10
from .legacy import _distributed_tracing, _distributed_tracing_setter
11
from .constants import DEFAULT_SERVICE
12
from .connection import _wrap_request
13
-
+from ...ext import AppTypes
14
15
# requests default settings
16
config._add('requests',{
@@ -29,6 +29,8 @@ def patch():
29
_w('requests', 'Session.request', _wrap_request)
30
Pin(
31
service=config.requests['service_name'],
32
+ app='requests',
33
+ app_type=AppTypes.web,
34
_config=config.requests,
35
).onto(requests.Session)
36
0 commit comments