PythonAgent 支持矩阵
注意
使用环境中若有其他 Python 导入器实现,可能与探针导入器冲突。
本表仅测试验证了每个大版本的最低小版本号和最大小版本号。
CPU架构
| 架构 | 支持说明 |
|---|---|
| amd64/i386 | 支持 |
| aarch64(ARM) | 从 SmartAgent 9.3.0 开始支持 |
操作系统
| 系统类型 | 支持版本 |
|---|---|
| CentOS/Red Hat Linux | 7 x86_64 |
| CentOS/Red Hat Linux | 6 x86_64 |
| Ubuntu | 16.04 |
| Ubuntu | 14.04 |
| 腾讯云 Serverless | |
| Docker 镜像 python:3.10-alpine | alpine 3.15.0+python3.10+ldd1.2.2 |
容器
| 容器类型 | 支持版本 |
|---|---|
| Apache | 2.4.54 ~ 2.4.56 |
| uWSGI | 2.0.0 ~ 2.0.24 |
| Gunicorn | 19.10.0 ~ 21.2.0 |
| Uvicorn | 0.16.0 ~ 0.17.6 |
| Daphne | 2.3.0 ~ 3.0.2 |
Python 版本
| 类型 | 支持版本 |
|---|---|
| Python | 2.6 |
| Python | 2.7 |
| Python | 3.4 |
| Python | 3.5 |
| Python | 3.6 |
| Python | 3.7 |
| Python | 3.8 |
| Python | 3.9 |
| Python | 3.10 |
| Python | 3.11 从 8.4.0【SmartAgent:9.6.0】开始支持 |
| Python | 3.12 从 8.4.0【SmartAgent:9.6.0】开始支持 |
| Python | 3.13 从 8.9.0【SmartAgent:10.4.0】开始支持 |
| Python | 3.14 从 8.9.0【SmartAgent:10.4.0】开始支持 |
Profiling
| 项目 | 说明 |
|---|---|
| Profiling | Python 3.7、3.8、3.9、3.10,glibc >= 2.14,仅支持 x86 架构 64 位操作系统 从 SmartAgent 9.0.0 版本开始支持 |
数据库
| 类型 | 支持版本 |
|---|---|
| PyMySQL | 0.7.1 ~ 0.10.1 |
| mysqlclient | 1.3.0 ~ 2.0.1 |
| mysql-connector-python | 8.0.5 ~ 8.0.22 |
| psycopg2 | 2.6.2 ~ 2.8.6 |
| SQLAlchemy | 0.6.0 ~ 1.4.26 |
| cx-Oracle | 6.0 ~ 8.0.1 |
| PyHive | 0.1.6 ~ 0.6.3 |
NoSQL
| 类型 | 支持版本 |
|---|---|
| PyMongo | 2.7.0 ~ 3.11.1 |
| python-memcached | 1.57 ~ 1.5.9 |
| pyssdb | 0.4.0 ~ 0.4.2 |
| Redis | 2.10.0 ~ 3.5.3 |
| redis-py-cluster | 0.1.0 ~ 2.1.0 |
消息队列
| 类型 | 支持版本 |
|---|---|
| kafka-python | 1.3.0 ~ 2.0.2 |
| stomp.py | 4.1.20 ~ 6.1.0 |
| kombu | 3.0.30 ~ 5.0.2 |
| librabbitmq | 1.6.0 ~ 2.0.0 |
远程调用
| 类型 | 支持版本 |
|---|---|
| urllib3 | 1.18 ~ 1.26.2 |
| requests | 2.12.0 ~ 2.25.0 |
| httplib | Python(语言内置) |
| tornado_httpclient | 3.1 ~ 6.1 |
| elasticsearch | 5.2.0 ~ 7.10.0 |
| grpcio | 1.0.0 ~ 1.33.2 |
| xmlrpclib | Python 2.6/2.7 |
| xmlrpc | Python 3.4/3.5/3.6/3.7/3.8/3.9 |
| Thrift | 0.10.0 ~ 0.13.0 |
| httpx | 0.24.1 从 8.4.0【SmartAgent:9.6.0】开始支持 |
| aiohttp | 3.0.0 ~ 3.7.3(Python 3.7+) |
框架
| 框架类型 | 支持版本 |
|---|---|
| Flask | 0.10 ~ 1.1.2 |
| Django | 1.5/1.6/1.7/1.8/1.9/1.10/1.11/2.0/2.1/2.2/3.0/3.1 |
| Tornado | 3.0 ~ 6.1 |
| Web.py | 0.33/0.34/0.35/0.36/0.37/0.38/0.39/0.40/0.5.1/0.6.1/0.6.2 |
| Pyramid | 1.3 ~ 1.10.5 |
| Bottle | 0.12 ~ 0.12.19 |
| CherryPy | 10.0 ~ 18.6.0 |
| Sanic | 0.5.0 ~ 21.9.1 |
| FastAPI | 0.23.0 ~ 0.63.0(Python 3.6+) |
| Quart | 0.11.0 ~ 0.14.1(Python 3.7+) |
| Starlette | 0.12.0 ~ 0.14.1(Python 3.6+) |
| WebOb | 1.0.0 ~ 1.8.7 |
| Gevent | 1.0.0 ~ 21.8.0 |
平台
| 类型 | 支持版本 |
|---|---|
| Odoo | 8、9、10、11、12、13、14 |
| OpenStack | 云计算系统 Pike 版本 |
日志模块
| 类型 | 支持版本 |
|---|---|
| Logging | Python(语言内置) |
| Logbook | 1.3.0 ~ 1.5.3 |
| Eliot | 0.8.0 ~ 1.12.0 |
后台任务
| 类型 | 支持版本 |
|---|---|
| Invoke | 0.12.0 ~ 1.4.1 |
LLM
从探针 python 8.7.0 【SA 10.0.0】开始支持
| 类型 | 支持版本 |
|---|---|
| openai | 2.26.0、2.31.0 |
| langchain | 1.2.10、1.2.15 |
| dify | 1.4.3、1.11.0、1.11.2 |
| mcp | 1.25.0、1.27.0 |
| a2a-sdk | 1.1.0 langchain 使用场景 |