Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Kafka Monitoring JMX Attributes Count or MeanRate?

I have configured jmxtrans to get the values from "kafka.server":type="BrokerTopicMetrics",name="AllTopicsMessagesInPerSec"

It has 3 attributes- Count , OneMinuteRate, MeanRate

I am confused to identify, which of these attributes gives the "Number of Messages into the Broker Per Sec"?

Sample values I got for these attibutes at an instance are

Count =1955600, MeanRate = 1036 , OneMinuteRate=2643

Which of these attributes should I refer to?

like image 409
Ahamed Mustafa M Avatar asked Nov 04 '14 09:11

Ahamed Mustafa M


People also ask

What Kafka metrics to monitor?

Key Kafka metrics to monitorNetwork handler idle time. Request handler idle time. Under-Replicated partitions. Leader Elections.

What is Kafka JMX metrics?

Kafka Producer JMX MetricsResponse rate: the rate at which the producer receives responses from brokers. Request rate: the rate at which producers send request data to brokers. Request latency average: average time between the producer's execution of KafkaProducer.send() and when it receives a response from the broker.

How can I monitor Kafka consumers?

Monitor Kafka consumersFrom the Header Bar Menu, go to the Dashboard panel. On the side navigation, select Consumers under the Monitor section.


1 Answers

That will be MeanRate.

OneMinuteRate - means average value of MeanRate for last 60 seconds

like image 64
abmd Avatar answered Oct 19 '22 07:10

abmd