MySQL
为 MySQL 添加插装。(默认启用)
此集成仅在 Node.js 和 Bun 运行时中工作。
Import name: Sentry.mysqlIntegration
当启用了性能监控时,此集成默认启用。如果您想修改默认集成,请阅读此文档。
mysqlIntegration
为 mysql
库添加了插装,以使用 @opentelemetry/instrumentation-mysql
捕获跨度。
Copied
Sentry.init({
integrations: [Sentry.mysqlIntegration()],
});
mysql
:2.x