I started examining metrics on one of the nodes in my Kafka cluster
and I am confused about one of the metrics that is exposed.
Specifically, this metric:
kafka.network:name=ErrorsPerSec,error=NONE,request=Fetch,type=RequestMetrics

The name is ErrorsPerSec but error is set to "NONE". What is the
correct interpretation of what this metric represents? Are these
errors (as the name implies) or are they not errors (as the value of
error implies)?

If they are errors, my next question is how I can uncover what is
causing the error. I don't see anything relevant in the Kafka logs.

Here is how I am accessing the metric:

bin/kafka-run-class.sh kafka.tools.JmxTool --jmx-url
service:jmx:rmi:///jndi/rmi://localhost:9999/jmxrmi --object-name
kafka.network:name=ErrorsPerSec,error=NONE,request=Fetch,type=RequestMetrics
--attributes Count

"time","kafka.network:type=RequestMetrics,name=ErrorsPerSec,request=Fetch,error=NONE:Count"

1559694405057,684396
1559694407058,684396
1559694409058,684400
1559694411059,684400
1559694413061,684404
1559694415059,684404
1559694417059,684404
1559694419068,684408
1559694421060,684408
1559694423061,684412

Reply via email to