https://grafana.com/grafana/dashboards/18276-kafka-dashboard/
Kafka resource usage and consumer lag overview
导入jmx_prometheus_javaagent-0.18.0.jar和config.yml
Use jmx_prometheus_javaagent-0.18.0.jar and edit config.yml
windows启动kafka-javaagent startwithagent.bat的启动脚本
Edit kafka-javaagent startwithagent.bat for Windows system to start kafka, Such as:
config.yml内容(如果不添加任何指定监控项为默认值):