Amqplib

为 Amqplib 添加仪器化。(默认启用)

Import name: Sentry.amqplibIntegration

当启用了性能监控时,此集成默认启用。如果您想修改默认集成,请阅读此文档

amqplibIntegrationamqplib 库添加了仪器化,以使用 @opentelemetry/instrumentation-amqplib 捕获跨度。

Copied
Sentry.init({
  integrations: [new Sentry.amqplibIntegration()],
});

  • amqplib: >=0.5.5 <1