Apache Kafka extension

  • Latest Dynatrace
  • Concept
  • 5-min read
  • Published Jun 27, 2025

Automatic and intelligent observability with trace and metric insights.

Compatibility information

Requirements

  • OneAgent version 1.270+
  • Dynatrace version 1.270+
  • OneAgent feature Java Metric Extensions 2.0 (JMX) activated

Overview

With Dynatrace, you can get observability for Kafka without touching any code, thanks to automatic monitoring. Seamless end-to-end traces for connected producer and consumer clients allow you to diagnose anomalies and pinpoint the root cause of the broken code before your customers are affected. Comprehensive metrics give you insight into your Kafka servers with health and performance metrics for brokers, topics, producers, and consumers. Events point you to critical anomalies, reducing the mean repair time.

Get an overview of your Kafka monitoring using New Dashboards, which are bundled with the extension upon activation.Easily navigate your Kafka environment and its most important metrics with the out of the box dashboard, included with the activation of the extension.Dedicated screen for your Kafka broker with all its metrics, along with a navigation card for the rest of your Kafka environment.Dedicated screens also for your Kafka producers, consumers and topics.List all your Kafka topics to get a clear overview of your generated entities, with filtering and ordering for the most relevant metrics.Lists also available for the rest of the generated entities.Producer-level metrics can be viewed in Unified-Analysis screens for your Queues.The OneAgent can monitor end-to-end traces that connect producer and consumer services, monitor the performance of topics and queues, and more.
1 of 8Get an overview of your Kafka monitoring using New Dashboards, which are bundled with the extension upon activation.

Get started

Messaging clients (applications)

To get trace insight:

  1. Install OneAgent on the virtual machine or server of your messaging clients (applications).
  2. Set up Dynatrace on Kubernetes or OpenShift for your messaging client (application) workloads.
  3. Activate the following OneAgent features:
    • Java Kafka
    • Java Kafka Streams
    • Spring for Apache Kafka
    • Node.js KafkaJs
    • .NET Messaging Apache Kafka

To get log insight:

Messaging servers (brokers)

Prerequisites:

To get metric insight:

  1. Install OneAgent on the virtual machine or server of your Kafka broker process.
  2. Ensure your Kafka broker, producer and consumer processes are monitored.
  3. Activate the OneAgent feature Java Metric Extensions 2.0 (JMX).
  4. Select in Dynatrace Add to environment to configure the extension.
  5. Open the Apache Kafka Overview dashboard.
Related tags
ExtensionsExtensionsInfrastructure Observability