NodejsAgent 支持矩阵
注意
-
仅测试验证了每个大版本的最低小版本号和最大小版本号。
-
仅支持对 CommonJS 应用的监控。
-
从 NodejsAgent 8.0.0 (SmartAgent 10.1.0)开始支持监控 ECMAScript Module(ESM)应用
建议:如果被监控应用密集使用 Promise、 async/await 或高频异步任务,建议升级探针至NodejsAgent 8.0.0(SmartAgent 10.1.0),并将 Node.js 升级到 14.18 及以上版本,以获得更好的异步追踪性能。
| 项目 | 支持详情 |
|---|---|
| 操作系统 | CentOS/Red Hat Linux 6.x x86_64 |
| CentOS/Red Hat Linux 7.x x86_64 | |
| CentOS/Red Hat Linux 8.x x86_64 | |
| Ubuntu 16.04 x86_64 | |
| 版本 | Node.js v6.14.2+ |
| Node.js v8.x.x | |
| Node.js v10 | |
| Node.js v12 | |
| Node.js v14 | |
| Node.js v16 | |
| Node.js v24.14.1(从 NodejsAgent 8.0.0 (SmartAgent 10.1.0)开始支持) | |
| 数据库 | MySQL(mysql 2.13.0 ~ 2.18.1) |
| PostgreSQL(pg 6.2.4 ~ 8.7.1) | |
| SQLite 5.0.2~5.1.6 | |
| NoSQL | Redis(ioredis 2.5.0 ~ 4.28.3、redis 2.8.0+、hiredis 0.5.0+) 从 NodejsAgent 8.0.0 (SmartAgent 10.1.0)开始支持 ioredis 5.8.2 |
| MongoDB(mongodb 2.2.31 ~ 4.1.3,mongoose 5.0.10 ~ 5.2.0) 从 NodejsAgent 8.0.0 (SmartAgent 10.1.0)开始支持 mongoose 5.13.22、8.23.0 | |
| Cassandra (cassandra-driver 4.4.0 ~ 4.6.3,node-cassandra-cql 0.4.4 ~ 0.5.0) | |
| Elasticsearch 16.7.1(从 NodejsAgent 8.0.0 (SmartAgent 10.1.0)开始支持) | |
| 远程调用 | HTTP(Node.js 内置) |
| HTTP/2(Node.js 内置) | |
| gRPC 1.1.0~1.10.1 | |
| RabbitMQ(rabbit.js 0.4.4+,amqplib 0.5.2~0.8.0) 从 NodejsAgent 8.0.0 (SmartAgent 10.1.0)开始支持 amqplib 0.10.0、0.10.9 | |
| 支持的框架 | Express(v3.4.8~4.18.0) 从 NodejsAgent 8.0.0 (SmartAgent 10.1.0)开始支持 Express 4.19.2 |
| Koa(v2.2.0~2.13.0) | |
| LoopBack(v2.x.x ~ v3.x.x) | |
| Hapi(v17.0.0~17.4.0) | |
| Nuxt.js 2.15.3~3.9.1 | |
| Next.js 10.1.0~10.2.3 | |
| Egg.js 2.15.1~2.37.0 | |
| Node.js 库 | Promise 8.0.1~8.1.0 |
| Bluebird 3.5.1~3.7.2 | |
| When 3.7.8(此库已停止维护,最终版本为 3.7.8) | |
| Async 2.6.0~2.6.3 | |
| Q 1.5.1(此库已停止维护,最终版本为 1.5.1) | |
| Request 2.18.0~2.81.0 | |
| Superagent 3.6.0~3.8.2 |