我正在尝试在stackdriver上设置kafka指标。我遵循了中提到的所有步骤https://cloud.google.com/monitoring/agent/plugins/kafka ,但仍然看不到“Kafka”指标。尽管我可以看到主机、代理、zookeeper和jvm的度量
我还可以从Kafka的剧本中看到衡量标准: bin/kafka-run-class.sh kafka.tools.JmxTool --object-name 'kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec' --jmx-url service:jmx:rmi:///jndi/rmi://localhost:9 999/jmxrmi
以上脚本的结果: "time","kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec:Count","kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec:EventType","kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec:FifteenMin uteRate","kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec:FiveMinuteRate","kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec:MeanRate","kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec: OneMinuteRate","kafka.server:type=BrokerTopicMetrics,name=MessagesInPerSec:RateUnit" 1546947405966,0,messages,0.0,0.0,0.0,0.0,SECONDS 1546947407959,0,messages,0.0,0.0,0.0,0.0,SECONDS 1546947409963,0,messages,0.0,0.0,0.0,0.0,SECONDS
暂无答案!
目前还没有任何答案,快来回答吧!