Comments (3)
Hi @bman7777 - thanks for reporting.
gevent
does have some issues filed on this and the general solution seems to be "monkey patch earlier" (re: gevent.monkey.patch_all()
):
gevent/gevent#1531
gevent/gevent#1141
But this might also be related to AUTOWRAPT_BOOTSTRAP
. If you are using this method to instrument your python applications, there is a known issue where autowrapt
doesn't work correctly with gevent
. This is because autowrapt
loads the instana
package before gevent
can do its own monkey patching.
I added a note on this here:
https://www.instana.com/docs/ecosystem/python/#activating-without-code-changes
This method of activation will not work with applications based on gevent. This is because gevent must be activated and monkey.patch_all() called first.
If this is the case, then you should either migrate to Python AutoTrace or if you are using any custom calls, the manual installation method (by adding import instana
to your code):
https://www.instana.com/docs/ecosystem/python/troubleshooting/#migrating-to-python-autotrace
https://www.instana.com/docs/ecosystem/python/#activating-with-code-changes
Let me know if this is the case for you and if this helps!
from python-sensor.
I'm not completely sure yet if the AUTOWRAPT_BOOTSTRAP
issue affects you but I added a new section in our documentation to at least explain the known issue:
https://www.instana.com/docs/ecosystem/python/troubleshooting/#autowrapt_bootstrap-gevent--recursionerror
from python-sensor.
This did end up resolving my issue. Thank you!
from python-sensor.
Related Issues (20)
- Python 2.6.6: pkg_resources HOT 1
- Django: Instrumentation can get activated even when django not in use
- aiohttp middleware returns None if handler raises HOT 7
- Automatic memcached instrumentation HOT 1
- Syntax warning and deprecation warning in Python 3.8
- ModuleNotFoundError instrumentation.google on v1.26.0 HOT 1
- Typo in Pika instrumentation
- Check implication of __init__ for rabbitmq span type HOT 4
- Sqlalchemy will drop support for Python 2 after v.1.4 HOT 2
- Pub/Sub emulator on v.2.3.0 has issues with SSL handshake
- urllib3 will drop support for Python 2.7 & 3.5 in v.2.0 HOT 1
- pip & Python 2 support HOT 1
- Importing ABC directly from collections has been removed in Python 3.10 in favor of collections.abc HOT 1
- threading.Thread.setDaemon has been deprecated in favor of setting daemon attribute directly in Python 3.10 HOT 1
- Not passing command line arguments to the script HOT 2
- AttributeError when extracting tags from pika BlockingChannel
- [Bug]: Instana interferes with exception raised when connecting to database HOT 3
- [Bug]: Instana AutoTrace causes patroni process to hang HOT 16
- Is Python 3.10 supported? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-sensor.