You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Joseph Hagerty (JIRA)" <ji...@apache.org> on 2017/06/22 15:08:00 UTC

[jira] [Commented] (KAFKA-3139) JMX metric ProducerRequestPurgatory doesn't exist, docs seem wrong.

    [ https://issues.apache.org/jira/browse/KAFKA-3139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16059509#comment-16059509 ] 

Joseph Hagerty commented on KAFKA-3139:
---------------------------------------

It's been a long time (apparently), and these outmoded metrics are still advertised in the official documentation. Can someone knowledgable about the updated metrics begin a revision?

> 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.4.14#64029)