PDFs


This page applies to an earlier version of the AppDynamics App IQ Platform.
See the latest version of the documentation.


Skip to end of metadata
Go to start of metadata

On this page:

Related pages:

Python Agent Support

Python Versions

  • The Python agent supports CPython 2.6, 2.7, 3.3, 3.4, 3.5, and 3.6.

Operating Systems

Python Frameworks and Protocols

Framework/ProtocolVersionEntry Point TypeDefault Transaction Naming
WSGI1.0Python WebFirst two segments of the URI
Tornado3.2 - 4.5Python WebFirst two segments of the 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 FrameworksNotes
Bottle 
CherryPy 
Django 
Flask 
PasteDeploy
 
Pyramid 

Database Exit Points

Supported Database Exit PointsVersion
cx_Oracle5.1.x
MongoDB3.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, etc. are detected and displayed as HTTP exit calls.

Cache Exit Points

Supported Cache Exit Points

Memcache

Redis-py