1. Why is the agent not able to inject into the Python Application by itself, like it does for .NET, Java etc.?
2. Is it planned to support automatic injection into Python and if so, can you maybe name a release date? Changes to the code are always … meh.
I was really surprised when someone told me, that AppDynamics has a Python Agent which is able to monitor every request of a python app to the method level including db calls without any code changes. I couldn’t belive this because Dynatrace and the provided features are always better than AppD in my opinion. But yeah that seems to be true and I’m wondering if you guys are planning something similar as well.
Edit: for clarification purposes - AppDynamics needs a library and a pyagend which needs to be started with the application. It is not like the Dynatrace OneAgent automatic injection for e.g. JAVA but works without changing the code.
AppDynamics DOES NOT automatically inject into python processes, you have to install the library and instrument the app. They even suggest you run a ‘pyagent’ wrapper around your application.
From the documentation of the others, they may not require explicit code change as such. However, the amount of configuration change required appears to be a similar burden for manual effort.
In any case, David’s autodynatrace for Python looks like a good option if it’s too much to add the small number of lines manually as per the blog post you linked for the Flask / WSGI-based app examples.
I looked the “autodynatrace” project and the effort to integrate it at least for flask is pretty low. What I would need is this kind of wrapper for Django and PostgreSQL but atm I’m not so familiar with Django so I probably won’t be able to write a wrapper by myself.
Do you have any news about any support out of the box of Python language ? More and more microservices use python and you don’t support out of the box.
For us, it is the only minus point using Dynatrace. All other features are top notch.
I really hope something will be announced in the near future. Other APM solutions support Python (Instana) and so should Dynatrace as the current leader of APM. Also Dynatrace plugins are based on Python only but the OneAgent can not instrument it automatically.
Hello,
I have seen python is now supported out of the box if the code is in AWS lambda function. Is one agent going be able to auto instrument the code soon by default like all others platform.