You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Enrico Olivelli (JIRA)" <ji...@apache.org> on 2018/07/17 22:40:00 UTC

[jira] [Commented] (ZOOKEEPER-3092) Pluggable metrics system for ZooKeeper

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

Enrico Olivelli commented on ZOOKEEPER-3092:
--------------------------------------------

This would be very useful.
If there is no hurry I can pick this up.

Recently I am using Bookkeeper StatsProvider abstraction in several projects, it is very flexible and comes with many implementations. It is does deal directly with Bookkeeper, it is only an utility library and it can be used without a cyclic dependency.

During the last year that library was improved a lot, in order to make it very efficient, especially the implementation for Prometheus and the one for Codahale metrics.

But in order to start we have to decide which are the metrics to expose.

> Pluggable metrics system for ZooKeeper
> --------------------------------------
>
>                 Key: ZOOKEEPER-3092
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3092
>             Project: ZooKeeper
>          Issue Type: New Feature
>          Components: metric system
>            Reporter: Michael Han
>            Priority: Major
>
> ZooKeeper should provide a pluggable metrics system such that various metrics can be collected and reported using different approaches that fit production monitoring / alert / debugging needs. 
> Historically ZooKeeper provides four letter words and JMX which exposes certain stats / metrics but they are not very flexible in terms of programmatically accessing metrics and connecting metrics to different reporting systems.
> There are other projects that's already doing this which can be used for reference, such as bookkeeper metrics service providers and hadoop metrics2.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)