File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 20
20
import importlib
21
21
22
22
from .version import VERSION
23
+ from instana .collector .helpers .runtime import is_autowrapt_instrumented , is_webhook_instrumented
23
24
24
25
__author__ = 'Instana Inc.'
25
26
__copyright__ = 'Copyright 2020 Instana Inc.'
@@ -186,7 +187,7 @@ def boot_agent():
186
187
else :
187
188
# Automatic gevent monkey patching
188
189
# unless auto instrumentation is off, then the customer should do manual gevent monkey patching
189
- if ("instana" in os . environ . get ( "AUTOWRAPT_BOOTSTRAP" , "" ) and
190
+ if (( is_autowrapt_instrumented () or is_webhook_instrumented () ) and
190
191
"INSTANA_DISABLE_AUTO_INSTR" not in os .environ and
191
192
importlib .util .find_spec ("gevent" )):
192
193
apply_gevent_monkey_patch ()
Original file line number Diff line number Diff line change 3
3
4
4
# Module version file. Used by setup.py and snapshot reporting.
5
5
6
- VERSION = "2.5.0 "
6
+ VERSION = "2.5.1 "
You can’t perform that action at this time.
0 commit comments