Related pages:

Python Agent Support

Python Versions

The Python agent supports these Python versions:

  • Linux: Python 3.4, 3.5, 3.6, 3.7, 3.8, and 3.9
  • Alpine Linux: Python 3.6, 3.7, 3.8, and 3.9

Operating Systems

The Python agent operates on:

  • Linux distribution based on glibc 2.12+ and x86 32-bit or x86 64-bit architecture
  • Alpine Linux (3.13+) distribution based on musl 1.2.2+ and x86 64-bit architecture
  • Support for Mac OS X will be deprecated from the 20.7.0 version of the Python Agent.
  • Support for centos5 has been deprecated.

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 (all versions), Tornado 5.x without asyncio library, Tornado 6 (for Python 3.5.3+)

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, missed exceptions that are propagated to the WSGI server, and exceptions reported via the custom business transaction API.

WSGI-Based Frameworks

Notes

Bottle

0.12.19

CherryPy

18.6.1

Django

3.1.6

Flask

1.1.2

PasteDeploy

2.1.0

Pyramid

2.0
mod_wsgi4.7.1

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 are detected and displayed as HTTP exit calls.

Cache Exit Points

Supported Cache Exit Points

Memcache

Redis-py