{"action":"closed","issue":{"url":"https://api.github.com/repos/uber/tchannel-go/issues/46","labels_url":"https://api.github.com/repos/uber/tchannel-go/issues/46/labels{/name}","comments_url":"https://api.github.com/repos/uber/tchannel-go/issues/46/comments","events_url":"https://api.github.com/repos/uber/tchannel-go/issues/46/events","html_url":"https://github.com/uber/tchannel-go/issues/46","id":114869183,"number":46,"title":"Retry support for Thrift/JSON requests","user":{"login":"prashantv","id":140159,"avatar_url":"https://avatars.githubusercontent.com/u/140159?v=3","gravatar_id":"","url":"https://api.github.com/users/prashantv","html_url":"https://github.com/prashantv","followers_url":"https://api.github.com/users/prashantv/followers","following_url":"https://api.github.com/users/prashantv/following{/other_user}","gists_url":"https://api.github.com/users/prashantv/gists{/gist_id}","starred_url":"https://api.github.com/users/prashantv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prashantv/subscriptions","organizations_url":"https://api.github.com/users/prashantv/orgs","repos_url":"https://api.github.com/users/prashantv/repos","events_url":"https://api.github.com/users/prashantv/events{/privacy}","received_events_url":"https://api.github.com/users/prashantv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-03T17:38:45Z","updated_at":"2015-12-16T19:41:04Z","closed_at":"2015-12-16T19:41:04Z","body":" - [x] Implement `RunWithRetry` to run a given function with some retry options, only retrying errors specified in the options.\r\n - [x] Implement `TimeoutPerAttempt`\r\n - [x] Avoid reusing peers that have already been selected (#45)\r\n - [x] Update metrics to report `per-attempt`\r\n - [x] Add `outbound.calls.retries` metric\r\n - [x] Update `json` package to use `RunWithRetry`\r\n - [x] Update `thrift` package to use `RunWithRetry`\r\n"}}