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

Sijie Guo commented on BOOKKEEPER-736:
--------------------------------------

[~rakeshr] 

- you could check 
https://github.com/apache/bookkeeper/blob/trunk/bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeper.java#L81
 for the usage for new stats api.
- the #toOpStatsData is there, is for backward compatibility for the existing 
jmx beans. it would be removed completely when we deprecated the existing jmx 
beans.
- for any new metrics going to be added, please use the new stats api. you 
could still expose the stats as jmx beans, if you use codahale stats provider:  
https://github.com/apache/bookkeeper/tree/trunk/bookkeeper-stats-providers/codahale-metrics-provider
 http://metrics.codahale.com/getting-started/#reporting-via-jmx

> JMX support for AutoRecovery
> ----------------------------
>
>                 Key: BOOKKEEPER-736
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-736
>             Project: Bookkeeper
>          Issue Type: New Feature
>          Components: bookkeeper-auto-recovery
>            Reporter: Rakesh R
>            Assignee: Rakesh R
>             Fix For: 4.3.0
>
>         Attachments: 
> Prototype-JMX-beans-for-standalone-autorecovery-process.png
>
>
> Idea of this JIRA is to provide jmx interfaces to get the statistics of the 
> auto recovery activities.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to