Kafka cluster created by Strimzi operator
Strimzi is an open-source project that provides a Kubernetes Operator to manage Apache Kafka clusters and related components (e.g., Kafka Connect, Kafka MirrorMaker, Kafka Bridge) in a Kubernetes-native way.
Kafka created by Strimzi operator exposes metrics through a Prometheus endpoint that you can scrape. We recommend to scrape and forward these metrics via an OpenTelemetry Collector. The Strimzi Kafka Exporter exposes additional Prometheus metrics.
The Kafka metrics are exposed via Kafka broker/controller/exporter HTTP endpoints.
The following code snippet shows an OpenTelemetry Collector configuration file.
Learn how to deploy the collector within our OpenTelemetry collector integration documentation.