{"action":"created","issue":{"url":"https://api.github.com/repos/ReactiveX/RxNetty/issues/464","labels_url":"https://api.github.com/repos/ReactiveX/RxNetty/issues/464/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveX/RxNetty/issues/464/comments","events_url":"https://api.github.com/repos/ReactiveX/RxNetty/issues/464/events","html_url":"https://github.com/ReactiveX/RxNetty/issues/464","id":126538624,"number":464,"title":"4.X - AbstractClientBuilder : creation of MetricEventsListener not useful ","user":{"login":"fzakaria","id":605070,"avatar_url":"https://avatars.githubusercontent.com/u/605070?v=3","gravatar_id":"","url":"https://api.github.com/users/fzakaria","html_url":"https://github.com/fzakaria","followers_url":"https://api.github.com/users/fzakaria/followers","following_url":"https://api.github.com/users/fzakaria/following{/other_user}","gists_url":"https://api.github.com/users/fzakaria/gists{/gist_id}","starred_url":"https://api.github.com/users/fzakaria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fzakaria/subscriptions","organizations_url":"https://api.github.com/users/fzakaria/orgs","repos_url":"https://api.github.com/users/fzakaria/repos","events_url":"https://api.github.com/users/fzakaria/events{/privacy}","received_events_url":"https://api.github.com/users/fzakaria/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ReactiveX/RxNetty/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-13T23:14:24Z","updated_at":"2016-01-14T19:06:27Z","closed_at":null,"body":"Hello,\r\n\r\nI'm trying to follow along the guide for registering MetricListenerFactory.\r\nThe README.md outlines using the global registration\r\n\r\nFor example\r\n```\r\n        RxNetty.useMetricListenersFactory(new SpectatorEventsListenerFactory());\r\n```\r\n\r\nThis however doesn't seem useful as it will create MetricsEventListeners in the *AbstractClientBuilder* that are not accessible\r\n\r\n\r\n```\r\npublic abstract class AbstractClientBuilder<I, O, B extends AbstractClientBuilder, C extends RxClient<I, O>> {\r\n...\r\npublic C build() {\r\n       ...\r\n        C client = createClient();\r\n        if (null != eventListenersFactory) {\r\n            MetricEventsListener<? extends ClientMetricsEvent<?>> listener =\r\n                    newMetricsListener(eventListenersFactory, client);\r\n            client.subscribe(listener);\r\n        }\r\n        return client;\r\n    }\r\n```\r\n\r\nAm I missing a piece of the puzzle here or is this not useful / bug ?"},"comment":{"url":"https://api.github.com/repos/ReactiveX/RxNetty/issues/comments/171741865","html_url":"https://github.com/ReactiveX/RxNetty/issues/464#issuecomment-171741865","issue_url":"https://api.github.com/repos/ReactiveX/RxNetty/issues/464","id":171741865,"user":{"login":"fzakaria","id":605070,"avatar_url":"https://avatars.githubusercontent.com/u/605070?v=3","gravatar_id":"","url":"https://api.github.com/users/fzakaria","html_url":"https://github.com/fzakaria","followers_url":"https://api.github.com/users/fzakaria/followers","following_url":"https://api.github.com/users/fzakaria/following{/other_user}","gists_url":"https://api.github.com/users/fzakaria/gists{/gist_id}","starred_url":"https://api.github.com/users/fzakaria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fzakaria/subscriptions","organizations_url":"https://api.github.com/users/fzakaria/orgs","repos_url":"https://api.github.com/users/fzakaria/repos","events_url":"https://api.github.com/users/fzakaria/events{/privacy}","received_events_url":"https://api.github.com/users/fzakaria/received_events","type":"User","site_admin":false},"created_at":"2016-01-14T19:06:27Z","updated_at":"2016-01-14T19:06:27Z","body":"I believe it to be : requestProcessingTimes from looking at the code "}}