{"action":"created","issue":{"url":"https://api.github.com/repos/rcrowley/go-metrics/issues/182","repository_url":"https://api.github.com/repos/rcrowley/go-metrics","labels_url":"https://api.github.com/repos/rcrowley/go-metrics/issues/182/labels{/name}","comments_url":"https://api.github.com/repos/rcrowley/go-metrics/issues/182/comments","events_url":"https://api.github.com/repos/rcrowley/go-metrics/issues/182/events","html_url":"https://github.com/rcrowley/go-metrics/pull/182","id":174650999,"number":182,"title":"PrefixedChildRegistry should filter by prefix","user":{"login":"splittingfield","id":867682,"avatar_url":"https://avatars.githubusercontent.com/u/867682?v=3","gravatar_id":"","url":"https://api.github.com/users/splittingfield","html_url":"https://github.com/splittingfield","followers_url":"https://api.github.com/users/splittingfield/followers","following_url":"https://api.github.com/users/splittingfield/following{/other_user}","gists_url":"https://api.github.com/users/splittingfield/gists{/gist_id}","starred_url":"https://api.github.com/users/splittingfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splittingfield/subscriptions","organizations_url":"https://api.github.com/users/splittingfield/orgs","repos_url":"https://api.github.com/users/splittingfield/repos","events_url":"https://api.github.com/users/splittingfield/events{/privacy}","received_events_url":"https://api.github.com/users/splittingfield/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-01T23:44:22Z","updated_at":"2016-09-02T17:40:49Z","closed_at":"2016-09-02T17:40:49Z","pull_request":{"url":"https://api.github.com/repos/rcrowley/go-metrics/pulls/182","html_url":"https://github.com/rcrowley/go-metrics/pull/182","diff_url":"https://github.com/rcrowley/go-metrics/pull/182.diff","patch_url":"https://github.com/rcrowley/go-metrics/pull/182.patch"},"body":"This commit changes the behavior of PrefixedChildRegistry\r\nto only apply the `Each` function to registered metrics\r\nthat have the the appropriate `prefix`.\r\n\r\nThis commit contains two changes:\r\n1: An originally failing test showing the behavior\r\n2: A wrapper func around the passed in function\r\nfor `Each` that applies the required filter\r\n\r\n\r\nThe behavior that this addresses was quite unexpected, but happy to discuss if this was the intended behavior."},"comment":{"url":"https://api.github.com/repos/rcrowley/go-metrics/issues/comments/244440992","html_url":"https://github.com/rcrowley/go-metrics/pull/182#issuecomment-244440992","issue_url":"https://api.github.com/repos/rcrowley/go-metrics/issues/182","id":244440992,"user":{"login":"splittingfield","id":867682,"avatar_url":"https://avatars.githubusercontent.com/u/867682?v=3","gravatar_id":"","url":"https://api.github.com/users/splittingfield","html_url":"https://github.com/splittingfield","followers_url":"https://api.github.com/users/splittingfield/followers","following_url":"https://api.github.com/users/splittingfield/following{/other_user}","gists_url":"https://api.github.com/users/splittingfield/gists{/gist_id}","starred_url":"https://api.github.com/users/splittingfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splittingfield/subscriptions","organizations_url":"https://api.github.com/users/splittingfield/orgs","repos_url":"https://api.github.com/users/splittingfield/repos","events_url":"https://api.github.com/users/splittingfield/events{/privacy}","received_events_url":"https://api.github.com/users/splittingfield/received_events","type":"User","site_admin":false},"created_at":"2016-09-02T17:40:49Z","updated_at":"2016-09-02T17:40:49Z","body":"Closing and reopening from a branch in my repo"}}
{"actor":{"display_login":"splittingfield"}}