Python Supported Components & Versions

AutoTrace

Python AutoTrace will automatically instrument your 64bit Python processes on Linux hosts that match the configured whitelist in the configuration.yaml.

Runtimes

Python Versions
CPython (>=2.7 <3.0) or (>=3.3 <3.9)

Platforms, Operating Systems & Ecosystems

The Instana Python package supports a wide range of environments such as:

Platform
Linux OSX
AWS Fargate AWS Lambda
Kubernetes OpenShift
Google Cloud Microsoft Azure
IBM Bluemix Digital Ocean
VMWare Cloud Docker

Tracing

The Instana Python sensor supports distributed tracing across other Instana instrumented platforms, technologies and languages. It offers automatic tracing of all requests and supports OpenTracing. See the OpenTracing page for more details.

Frameworks Versions
ASGI >= 2.0
Celery >= 4.3.0
Django >= 1.9
FastAPI >= 0.51.0
Flask >= 0.12.0
Pyramid >= 1.6.5
Starlette >= 0.12.13
Tornado >= 4.5.3; < 6.0.0
Webapp2 >= 1.5; < 3.0
WSGI PEP 333 >= 1.0
Clients Versions
aiohttp >=3.1.0
asynqp >=0.5.1
boto3 >=1.15.0
couchbase >=2.3.5
google-cloud-storage >=1.24.0
grpcio >=1.14.1
MySQL-python >= 1.2.5
mysqlclient >= 1.3.14
PyMySQL >= 0.6.7
pymongo >= 3.7.0
psycopg2 >= 2.7.2
redis >= 2.10.6
requests >= 2.16.1
SQLAlchemy >= 1.1.5
suds-jurko >= 0.6
urllib3 >= 1.18.1
Logging Versions
logging >= 0.4.9.x
Other Versions
gevent >=1.4

Webservers

  • uWSGI
  • Gunicorn
  • mod_wsgi
  • Nginx WSGI
  • uvicorn

Sensor Data Collection

Tracked Configuration Metrics
Name GC Activity
Runtime Memory Usage
PID Threads
Loaded Modules Paging
I/O
Events
Context Switching

AutoProfile

Profiles Python versions Platforms
CPU usage >=2.7; >=3.4 Linux, macOS
Memory allocation rate >=3.4 Linux, macOS
Blocking calls >=2.7; >=3.4 Linux, macOS

See Also