Prometheus Kafka Consumer Group Exporter Docker Image
这是一个Prometheus导出器,用于收集Kafka所有消费者组的延迟指标,并检查分区读写平衡情况,支持Kafka 2.x及自定义消费者配置。
Fork of https://github.com/braedon/prometheus-kafka-consumer-group-exporter
This is a Prometheus exporter which reports consumer lag for all consumer groups across all topics. In additional to that it might be useful to check whether reads and writes across partitions are balanced - something that is not exposed by native Kafka broker metrics (on a partition level).
This fork addesses two issues:
- works with Kafka 2.x - original version on github crashes when reads messages from __consumer_offsets
- correctly handles custom consumer configuration for the app - original version fails to pass int settings correctly to kafka-python (e.g. fetch.min.bytes=***)
NOTE: HTTP port is fixed and is 9101
Usage example:
docker run -p 9101:9101/tcp -w /tmp -v "/opt/prometheus/kafka-client-ssl:/tmp" opsguruhub/prometheus-kafka-consumer-group-exporter -b kafka-0:9093 --consumer-config /tmp/client-ssl.config
NOTE: exporter internally is just a consumer for the __consumer_offsets topic. Hence only one instance of exporter is needed per Kafka cluster
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
轩辕镜像加速拉取命令点我查看更多 prometheus-kafka-consumer-group-exporter 镜像标签
DockerHub 原生拉取命令
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务