Kafka

Adds instrumentation for KafkaJS. (default)

Import name: Sentry.kafkaIntegration

This integration is enabled by default when performance monitoring is enabled. If you'd like to modify your default integrations, read this.

The kafkaIntegration adds instrumentation for the kafkajs library to capture spans using @opentelemetry/instrumentation-kafkajs.

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

  • kafkajs: >=0.1.0 <3
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").