You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Swapnil Ghike (JIRA)" <ji...@apache.org> on 2012/10/30 00:24:12 UTC

[jira] [Created] (KAFKA-592) Register metrics beans at kafka server startup

Swapnil Ghike created KAFKA-592:
-----------------------------------

             Summary: Register metrics beans at kafka server startup 
                 Key: KAFKA-592
                 URL: https://issues.apache.org/jira/browse/KAFKA-592
             Project: Kafka
          Issue Type: Bug
    Affects Versions: 0.8
            Reporter: Swapnil Ghike
            Assignee: Swapnil Ghike
            Priority: Blocker
             Fix For: 0.8


jmx beans are not registered until the corresponding part of the code executes. To set alerts on some of the server side beans, they need to be registered at server startup.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (KAFKA-592) Register metrics beans at kafka server startup

Posted by "Jun Rao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KAFKA-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jun Rao closed KAFKA-592.
-------------------------

    
> Register metrics beans at kafka server startup 
> -----------------------------------------------
>
>                 Key: KAFKA-592
>                 URL: https://issues.apache.org/jira/browse/KAFKA-592
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8
>            Reporter: Swapnil Ghike
>            Assignee: Swapnil Ghike
>            Priority: Blocker
>              Labels: bugs
>             Fix For: 0.8
>
>         Attachments: kafka-592-v1.patch
>
>
> jmx beans are not registered until the corresponding part of the code executes. To set alerts on some of the server side beans, they need to be registered at server startup.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (KAFKA-592) Register metrics beans at kafka server startup

Posted by "Jun Rao (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KAFKA-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jun Rao resolved KAFKA-592.
---------------------------

    Resolution: Fixed

Thanks for the patch. +1. Committed to 0.8 by making registerStats private and adding a comment.
                
> Register metrics beans at kafka server startup 
> -----------------------------------------------
>
>                 Key: KAFKA-592
>                 URL: https://issues.apache.org/jira/browse/KAFKA-592
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8
>            Reporter: Swapnil Ghike
>            Assignee: Swapnil Ghike
>            Priority: Blocker
>              Labels: bugs
>             Fix For: 0.8
>
>         Attachments: kafka-592-v1.patch
>
>
> jmx beans are not registered until the corresponding part of the code executes. To set alerts on some of the server side beans, they need to be registered at server startup.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (KAFKA-592) Register metrics beans at kafka server startup

Posted by "Swapnil Ghike (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KAFKA-592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Swapnil Ghike updated KAFKA-592:
--------------------------------

    Attachment: kafka-592-v1.patch

Change made to register AllTopicsProduceFailurePerSec, AllTopicsFetchFailurePerSec, OfflinePartitionsPerSec and UncleanLeaderElectionsPerSec in server.startup()

UnderReplicatedPartitionCount is already registered in startup with the creation of replicaManager. 

BrokerTopicStat.getBrokerAllTopicStat() also registers three other beans - AllTopicsMessagesInPerSec, AllTopicsBytesInPerSec and AllTopicBytesOutPerSec. But that's probably ok since these beans would be created anyways in most cases.
                
> Register metrics beans at kafka server startup 
> -----------------------------------------------
>
>                 Key: KAFKA-592
>                 URL: https://issues.apache.org/jira/browse/KAFKA-592
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8
>            Reporter: Swapnil Ghike
>            Assignee: Swapnil Ghike
>            Priority: Blocker
>              Labels: bugs
>             Fix For: 0.8
>
>         Attachments: kafka-592-v1.patch
>
>
> jmx beans are not registered until the corresponding part of the code executes. To set alerts on some of the server side beans, they need to be registered at server startup.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira