James Cheng created KAFKA-3139:
----------------------------------

             Summary: JMX metric ProducerRequestPurgatory doesn't exist, docs 
seem wrong.
                 Key: KAFKA-3139
                 URL: https://issues.apache.org/jira/browse/KAFKA-3139
             Project: Kafka
          Issue Type: Bug
            Reporter: James Cheng


The docs say that there is a JMX metric 
{noformat}
kafka.server:type=ProducerRequestPurgatory,name=PurgatorySize
{noformat}

But that doesn't seem to work. Using jconsole to inspect our kafka broker, it 
seems like the right metric is
{noformat}
kafka.server:type=DelayedOperationPurgatory,name=PurgatorySize,delayedOperation=Produce
{noformat}

And there are also variants of the above for Fetch, Heartbeat, and Rebalance.

Is the fix to simply update the docs? From what I can see, the docs for this 
don't seem auto-generated from code. If it is a simple doc fix, I would like to 
take this JIRA.

Btw, what is NumDelayedOperations, and how is it different from PurgatorySize?
{noformat}
kafka.server:type=DelayedOperationPurgatory,name=NumDelayedOperations,delayedOperation=Produce
{noformat}

And should I also update the docs for that?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to