跳到主要内容

PythonAgent 支持矩阵

注意

使用环境中若有其他 Python 导入器实现,可能与探针导入器冲突。
本表仅测试验证了每个大版本的最低小版本号和最大小版本号。

CPU架构​

架构支持说明
amd64/i386支持
aarch64(ARM)从 SmartAgent 9.3.0 开始支持

操作系统​

系统类型支持版本
CentOS/Red Hat Linux7 x86_64
CentOS/Red Hat Linux6 x86_64
Ubuntu16.04
Ubuntu14.04
腾讯云 Serverless
Docker 镜像 python:3.10-alpinealpine 3.15.0+python3.10+ldd1.2.2

容器​

容器类型支持版本
Apache2.4.54 ~ 2.4.56
uWSGI2.0.0 ~ 2.0.24
Gunicorn19.10.0 ~ 21.2.0
Uvicorn0.16.0 ~ 0.17.6
Daphne2.3.0 ~ 3.0.2

Python 版本​

类型支持版本
Python2.6
Python2.7
Python3.4
Python3.5
Python3.6
Python3.7
Python3.8
Python3.9
Python3.10
Python3.11
从 8.4.0【SmartAgent:9.6.0】开始支持
Python3.12
从 8.4.0【SmartAgent:9.6.0】开始支持
Python3.13
从 8.9.0【SmartAgent:10.4.0】开始支持
Python3.14
从 8.9.0【SmartAgent:10.4.0】开始支持

Profiling​

项目说明
ProfilingPython 3.7、3.8、3.9、3.10,glibc >= 2.14,仅支持 x86 架构 64 位操作系统
从 SmartAgent 9.0.0 版本开始支持

数据库​

类型支持版本
PyMySQL0.7.1 ~ 0.10.1
mysqlclient1.3.0 ~ 2.0.1
mysql-connector-python8.0.5 ~ 8.0.22
psycopg22.6.2 ~ 2.8.6
SQLAlchemy0.6.0 ~ 1.4.26
cx-Oracle6.0 ~ 8.0.1
PyHive0.1.6 ~ 0.6.3

NoSQL​

类型支持版本
PyMongo2.7.0 ~ 3.11.1
python-memcached1.57 ~ 1.5.9
pyssdb0.4.0 ~ 0.4.2
Redis2.10.0 ~ 3.5.3
redis-py-cluster0.1.0 ~ 2.1.0

消息队列​

类型支持版本
kafka-python1.3.0 ~ 2.0.2
stomp.py4.1.20 ~ 6.1.0
kombu3.0.30 ~ 5.0.2
librabbitmq1.6.0 ~ 2.0.0

远程调用​

类型支持版本
urllib31.18 ~ 1.26.2
requests2.12.0 ~ 2.25.0
httplibPython(语言内置)
tornado_httpclient3.1 ~ 6.1
elasticsearch5.2.0 ~ 7.10.0
grpcio1.0.0 ~ 1.33.2
xmlrpclibPython 2.6/2.7
xmlrpcPython 3.4/3.5/3.6/3.7/3.8/3.9
Thrift0.10.0 ~ 0.13.0
httpx0.24.1
从 8.4.0【SmartAgent:9.6.0】开始支持
aiohttp3.0.0 ~ 3.7.3(Python 3.7+)

框架​

框架类型支持版本
Flask0.10 ~ 1.1.2
Django1.5/1.6/1.7/1.8/1.9/1.10/1.11/2.0/2.1/2.2/3.0/3.1
Tornado3.0 ~ 6.1
Web.py0.33/0.34/0.35/0.36/0.37/0.38/0.39/0.40/0.5.1/0.6.1/0.6.2
Pyramid1.3 ~ 1.10.5
Bottle0.12 ~ 0.12.19
CherryPy10.0 ~ 18.6.0
Sanic0.5.0 ~ 21.9.1
FastAPI0.23.0 ~ 0.63.0(Python 3.6+)
Quart0.11.0 ~ 0.14.1(Python 3.7+)
Starlette0.12.0 ~ 0.14.1(Python 3.6+)
WebOb1.0.0 ~ 1.8.7
Gevent1.0.0 ~ 21.8.0

平台​

类型支持版本
Odoo8、9、10、11、12、13、14
OpenStack云计算系统 Pike 版本

日志模块​

类型支持版本
LoggingPython(语言内置)
Logbook1.3.0 ~ 1.5.3
Eliot0.8.0 ~ 1.12.0

后台任务​

类型支持版本
Invoke0.12.0 ~ 1.4.1

LLM​

从探针 python 8.7.0 【SA 10.0.0】开始支持

类型支持版本
openai2.26.0、2.31.0
langchain1.2.10、1.2.15
dify1.4.3、1.11.0、1.11.2
mcp1.25.0、1.27.0
a2a-sdk1.1.0 langchain 使用场景