For 2), do you have a topic with at least 2 replicas? The metrics will only show up if the broker has a follower replica following the leader replica on another broker.
For 1), was the flush interval reached? Thanks, Jun On Mon, Apr 28, 2014 at 4:49 PM, Robin Yamaguchi <ro...@hasoffers.com>wrote: > Greetings, > > I'm working with Kafka 0.8.1. and setting up monitoring / metrics trending. > I've been exploring mbeans on my kafka broker, and unable to find the > following based on this documentation: > http://kafka.apache.org/081/documentation.html#monitoring > > 1.) > "kafka.log":name="LogFlushRateAndTimeMs",type="LogFlushStats" > > I only see mbeans of *-LogEndOffset and *-NumLogSements for each topic > partition in the "kafka.log" domain. > > 2.) > "kafka.consumer":name="([-.\w]+)-MaxLag",type="ConsumerFetcherManager" > > I only see these mbeans: > > #domain = "kafka.consumer": > > "kafka.consumer":name="ReplicaFetcherThread-0-1-AllBrokersFetchRequestRateAndTimeMs",type="FetchRequestAndResponseMetrics" > > "kafka.consumer":name="ReplicaFetcherThread-0-1-AllBrokersFetchResponseSize",type="FetchRequestAndResponseMetrics" > > "kafka.consumer":name="ReplicaFetcherThread-0-1-host_kafka_host01-port_13001-FetchRequestRateAndTimeMs",type="FetchRequestAndResponseMetrics" > > "kafka.consumer":name="ReplicaFetcherThread-0-1-host_kafka_host01-port_13001-FetchResponseSize",type="FetchRequestAndResponseMetrics" > > "kafka.consumer":name="ReplicaFetcherThread-0-2-AllBrokersFetchRequestRateAndTimeMs",type="FetchRequestAndResponseMetrics" > > "kafka.consumer":name="ReplicaFetcherThread-0-2-AllBrokersFetchResponseSize",type="FetchRequestAndResponseMetrics" > > "kafka.consumer":name="ReplicaFetcherThread-0-2-host_kafka_host02-port_13002-FetchRequestRateAndTimeMs",type="FetchRequestAndResponseMetrics" > > "kafka.consumer":name="ReplicaFetcherThread-0-2-host_kafka_host02-port_13002-FetchResponseSize",type="FetchRequestAndResponseMetrics" > > Am I missing something? > > Thank you, > Robin >