{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/clj-http-client/issues/52","repository_url":"https://api.github.com/repos/puppetlabs/clj-http-client","labels_url":"https://api.github.com/repos/puppetlabs/clj-http-client/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/clj-http-client/issues/52/comments","events_url":"https://api.github.com/repos/puppetlabs/clj-http-client/issues/52/events","html_url":"https://github.com/puppetlabs/clj-http-client/pull/52","id":149579082,"number":52,"title":"(TK-316) Improved client metrics support","user":{"login":"rlinehan","id":1530016,"avatar_url":"https://avatars.githubusercontent.com/u/1530016?v=3","gravatar_id":"","url":"https://api.github.com/users/rlinehan","html_url":"https://github.com/rlinehan","followers_url":"https://api.github.com/users/rlinehan/followers","following_url":"https://api.github.com/users/rlinehan/following{/other_user}","gists_url":"https://api.github.com/users/rlinehan/gists{/gist_id}","starred_url":"https://api.github.com/users/rlinehan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlinehan/subscriptions","organizations_url":"https://api.github.com/users/rlinehan/orgs","repos_url":"https://api.github.com/users/rlinehan/repos","events_url":"https://api.github.com/users/rlinehan/events{/privacy}","received_events_url":"https://api.github.com/users/rlinehan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2016-04-19T20:45:40Z","updated_at":"2016-04-25T23:14:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/clj-http-client/pulls/52","html_url":"https://github.com/puppetlabs/clj-http-client/pull/52","diff_url":"https://github.com/puppetlabs/clj-http-client/pull/52.diff","patch_url":"https://github.com/puppetlabs/clj-http-client/pull/52.patch"},"body":"This PR improves on #51 and hopefully addresses all feedback. In particular, it improves the metrics API by:\r\n\r\n* Moving the `get-client-metrics(-data)` functions off of the client\r\n* Adding a `with-url-and-method` namespace\r\n* Adding a `ClientTimer` class that wraps `Timer` and holds onto the metric name, and url, method, or metric id used to create the timer\r\n* Changing the `getClientMetrics(Data)` methods to return a map of metric category to an array of timers or timer data\r\n* Adding `getClientMetricsBy*` methods to filter by a url, url and method, or metric id"},"comment":{"url":"https://api.github.com/repos/puppetlabs/clj-http-client/issues/comments/214559733","html_url":"https://github.com/puppetlabs/clj-http-client/pull/52#issuecomment-214559733","issue_url":"https://api.github.com/repos/puppetlabs/clj-http-client/issues/52","id":214559733,"user":{"login":"camlow325","id":5652737,"avatar_url":"https://avatars.githubusercontent.com/u/5652737?v=3","gravatar_id":"","url":"https://api.github.com/users/camlow325","html_url":"https://github.com/camlow325","followers_url":"https://api.github.com/users/camlow325/followers","following_url":"https://api.github.com/users/camlow325/following{/other_user}","gists_url":"https://api.github.com/users/camlow325/gists{/gist_id}","starred_url":"https://api.github.com/users/camlow325/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camlow325/subscriptions","organizations_url":"https://api.github.com/users/camlow325/orgs","repos_url":"https://api.github.com/users/camlow325/repos","events_url":"https://api.github.com/users/camlow325/events{/privacy}","received_events_url":"https://api.github.com/users/camlow325/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T23:14:01Z","updated_at":"2016-04-25T23:14:01Z","body":":+1: to the latest changes.  Sounds like we're waiting for feedback from @cprice404 at this point on some of the remaining API design questions."}}