{"action":"closed","issue":{"url":"https://api.github.com/repos/ratpack/ratpack/issues/404","labels_url":"https://api.github.com/repos/ratpack/ratpack/issues/404/labels{/name}","comments_url":"https://api.github.com/repos/ratpack/ratpack/issues/404/comments","events_url":"https://api.github.com/repos/ratpack/ratpack/issues/404/events","html_url":"https://github.com/ratpack/ratpack/issues/404","id":39134419,"number":404,"title":"Metrics module: Expose SharedMetricRegistries instead of MetricRegistry","user":{"login":"spinscale","id":667544,"avatar_url":"https://avatars.githubusercontent.com/u/667544?v=3","gravatar_id":"","url":"https://api.github.com/users/spinscale","html_url":"https://github.com/spinscale","followers_url":"https://api.github.com/users/spinscale/followers","following_url":"https://api.github.com/users/spinscale/following{/other_user}","gists_url":"https://api.github.com/users/spinscale/gists{/gist_id}","starred_url":"https://api.github.com/users/spinscale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spinscale/subscriptions","organizations_url":"https://api.github.com/users/spinscale/orgs","repos_url":"https://api.github.com/users/spinscale/repos","events_url":"https://api.github.com/users/spinscale/events{/privacy}","received_events_url":"https://api.github.com/users/spinscale/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ratpack/ratpack/milestones/3","html_url":"https://github.com/ratpack/ratpack/milestones/wontfix","labels_url":"https://api.github.com/repos/ratpack/ratpack/milestones/3/labels","id":526224,"number":3,"title":"wontfix","description":"This is a placeholder milestone for issues that are closed because they are either:\r\n\r\n1. Not issues (e.g. they are usage questions)\r\n2. Invalid issues (e.g. not reproducible)\r\n3. Pull requests that are not accepted","creator":{"login":"alkemist","id":17825,"avatar_url":"https://avatars.githubusercontent.com/u/17825?v=3","gravatar_id":"","url":"https://api.github.com/users/alkemist","html_url":"https://github.com/alkemist","followers_url":"https://api.github.com/users/alkemist/followers","following_url":"https://api.github.com/users/alkemist/following{/other_user}","gists_url":"https://api.github.com/users/alkemist/gists{/gist_id}","starred_url":"https://api.github.com/users/alkemist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alkemist/subscriptions","organizations_url":"https://api.github.com/users/alkemist/orgs","repos_url":"https://api.github.com/users/alkemist/repos","events_url":"https://api.github.com/users/alkemist/events{/privacy}","received_events_url":"https://api.github.com/users/alkemist/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":89,"state":"open","created_at":"2014-01-04T00:24:16Z","updated_at":"2015-06-18T06:29:09Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2014-07-30T20:37:30Z","updated_at":"2015-06-18T06:29:09Z","closed_at":"2015-06-18T06:29:09Z","body":"Hi,\r\n\r\nin order to have own metric registries and also own (web socket) reporters (the current one is not reusable) it makes sense to expose the `SharedMetricRegistries` class with a default MetricRegistry instead via Guice. Note: Not the default SharedMetricRegistries, as it is static, but something along those lines.\r\n\r\nI might try for a PR in the next days, if you think this is a useful idea..."}}