Python Agent Support
Python Versions
The Python agent supports CPython 2.6, 2.7, 3.4, 3.5, 3.6, and 3.7.
Operating Systems
- Any Linux distribution based on glibc 2.5+
- Mac OS X 10.8+
Python Frameworks and Protocols
Framework/Protocol | Version | Entry Point Type | Default Transaction Naming |
---|
WSGI | 1.0 | Python Web | First two segments of URI |
Tornado | 3.2 - 4.5 | Python Web | First two segments of URI |
AppDynamics has tested the Python Agent on Tornado, Django, Flask, CherryPy, Bottle, and Pyramid.
You can configure the agent to instrument any WSGI-based application or framework as Python Web, including but not limited to those listed below.
At present, the Python agent fully supports exception detection in Django, Flask, CherryPy, Bottle, Pyramid, and Tornado frameworks. Other WSGI frameworks and custom WSGI applications may install exception handlers that effectively hide some exceptions from the agent. In such cases, the agent will only detect exceptions during exit calls, uncaught exceptions which are propagated to the WSGI server, and exceptions reported via the custom business transaction API.
WSGI-Based Frameworks | Notes |
---|
Bottle | |
CherryPy | |
Django | |
Flask | |
PasteDeploy
| |
Pyramid | |
Database Exit Points
Supported Database Exit Points | Version |
---|
cx_Oracle | 5.1.x |
MongoDB | 3.1+ |
MySQL-Python | |
mysqlclient | |
MySQL Connector/Python | |
Psycopg 2 | |
PyMySql | |
TorMySql | |
HTTP Exit Points
Supported HTTP Exit Points |
---|
httplib* |
httplib2 |
requests |
urllib |
urllib2 |
urllib3 |
tornado.httpclient |
* The agent detects calls to any external library built on top of httplib. Therefore, backend calls to such services, such as boto, dropbox, python-twitter, and so on are detected and displayed as HTTP exit calls.
Cache Exit Points
Supported Cache Exit Points |
---|
Memcache |
Redis-py |