Gaurav, Those two metrics are server-side ones which records when an unexpected exception happens when handling the request. However, if the request even failed to reach the broker at all, they will not be recorded in this metrics.
You can take a look at this section of the web site, which includes both server side and client side metrics for monitoring purposes. https://kafka.apache.org/documentation/#monitoring Guozhang On Thu, Dec 22, 2016 at 7:54 AM, Gaurav Abbi <abbi.gau...@gmail.com> wrote: > Hi, > I am trying to visualize Kafka metrics that can help me gain better > insights to failures in the Kafka Server level while handling requests. > > While looking at the various metrics in JMX, I can see following two > metrics > > - FailedProduceRequestsPerSec > - FailedFetchRequestsPerSec > > When I visualize the metrics in my production system, I can see that for > the past 60 days, both these metrics show values of 0. > > I suspect if this is the case since we had a couple of incidents where > there was an increase in the failures while reading or publishing? > > Could someone verify If these metrics are still available? Quick googling > or search are not giving any conclusive answers. I am using Kafka version > 0.9.0.1. > > Another question on similar term, are there some metrics that can help in > visualizing failures for other types of requests like (Metadata) > > Best Regards, > Gaurav Abbi > -- -- Guozhang