Apache Kafka exposes metrics through Java Management Extensions (JMX). For a self-managed Kafka deployment, focus on broker, producer, and consumer metrics. The following resources explain which metrics to track and how to collect them:
Monitoring Kafka performance metrics -- Covers key broker metrics such as under-replicated partitions, request latency, and leader elections. Also explains producer, consumer, and host-level metrics with priority levels for alerting.
Monitoring Kafka -- An additional reference on Kafka monitoring fundamentals.
For the official list of all available JMX metrics and MBean paths, see the Monitoring section in the Apache Kafka documentation.