Kafka Broker Overview

Comprehensive Grafana dashboard for monitoring Kafka brokers (KRaft).

Kafka Broker Overview screenshot 1
Kafka Broker Overview screenshot 2
Kafka Broker Overview screenshot 3
Kafka Broker Overview screenshot 4
Kafka Broker Overview screenshot 5
Kafka Broker Overview screenshot 6
Kafka Broker Overview screenshot 7
Kafka Broker Overview screenshot 8
Kafka Broker Overview screenshot 9
Kafka Broker Overview screenshot 10
Kafka Broker Overview screenshot 11
Kafka Broker Overview screenshot 12
Kafka Broker Overview screenshot 13
Kafka Broker Overview screenshot 14

This Grafana dashboard provides a comprehensive view of Kafka brokers running in KRaft mode.

It visualizes JVM memory & GC, request handlers, network processors, throughput, replication traffic, request/response latencies (p95/p999), under-replicated partitions, disk I/O, and overall broker health using Prometheus.

To make this dashboard work, Prometheus must scrape metrics from the following exporters:

YAML
- job_name: kafka-broker-jmx
  static_configs:
    - targets: ["localhost:8080"]

- job_name: kafka-controller-jmx
  static_configs:
    - targets: ["localhost:8079"]

- job_name: node-exporter
  static_configs:
    - targets: ["localhost:9100"]

The dashboard uses two variables: $cluster and $environment. In Prometheus queries, these map to metric labels _cluster="$cluster" and _environment="$environment".

Using the dashboard is straightforward:

  1. Import the JSON into Grafana.
  2. Select your Prometheus data source.
  3. Map $cluster and $environment to your metric labels.
  4. Ensure Prometheus is scraping the exporters at ports 8080, 8079, and 9100.

For updates and source files, visit the GitHub repository.

Revisions
RevisionDescriptionCreated
Kafka

Kafka

by Grafana Labs
Grafana Labs solution

Easily monitor your Kafka deployment with Grafana Cloud's out-of-the-box monitoring solution.

Learn more

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies