{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/rackerlabs/swift-informant/pulls/1","id":81291928,"html_url":"https://github.com/rackerlabs/swift-informant/pull/1","diff_url":"https://github.com/rackerlabs/swift-informant/pull/1.diff","patch_url":"https://github.com/rackerlabs/swift-informant/pull/1.patch","issue_url":"https://api.github.com/repos/rackerlabs/swift-informant/issues/1","number":1,"state":"closed","locked":false,"title":"consider ratelimit sleep in metric calculations","user":{"login":"racker-andrew-hale","id":11683337,"avatar_url":"https://avatars.githubusercontent.com/u/11683337?v=3","gravatar_id":"","url":"https://api.github.com/users/racker-andrew-hale","html_url":"https://github.com/racker-andrew-hale","followers_url":"https://api.github.com/users/racker-andrew-hale/followers","following_url":"https://api.github.com/users/racker-andrew-hale/following{/other_user}","gists_url":"https://api.github.com/users/racker-andrew-hale/gists{/gist_id}","starred_url":"https://api.github.com/users/racker-andrew-hale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/racker-andrew-hale/subscriptions","organizations_url":"https://api.github.com/users/racker-andrew-hale/orgs","repos_url":"https://api.github.com/users/racker-andrew-hale/repos","events_url":"https://api.github.com/users/racker-andrew-hale/events{/privacy}","received_events_url":"https://api.github.com/users/racker-andrew-hale/received_events","type":"User","site_admin":false},"body":"if there is a ratelimit.sleep_duration key present in env then the\r\nvalue of this will be used to calculate actual swift service time\r\nand ratelimiting statistics. existing full duration of request and\r\nany artificial delay are stored under total_duration and total_srt","created_at":"2016-08-15T09:57:29Z","updated_at":"2016-08-16T19:02:07Z","closed_at":"2016-08-16T19:02:07Z","merged_at":"2016-08-16T19:02:07Z","merge_commit_sha":"8ea7c78b02ce41d81c8c18ed039e44e07bf22c9c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rackerlabs/swift-informant/pulls/1/commits","review_comments_url":"https://api.github.com/repos/rackerlabs/swift-informant/pulls/1/comments","review_comment_url":"https://api.github.com/repos/rackerlabs/swift-informant/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rackerlabs/swift-informant/issues/1/comments","statuses_url":"https://api.github.com/repos/rackerlabs/swift-informant/statuses/866cd35f9f0a5496d78501c33704d479c59bd8d4","head":{"label":"racker-andrew-hale:ratelimit-timings","ref":"ratelimit-timings","sha":"866cd35f9f0a5496d78501c33704d479c59bd8d4","user":{"login":"racker-andrew-hale","id":11683337,"avatar_url":"https://avatars.githubusercontent.com/u/11683337?v=3","gravatar_id":"","url":"https://api.github.com/users/racker-andrew-hale","html_url":"https://github.com/racker-andrew-hale","followers_url":"https://api.github.com/users/racker-andrew-hale/followers","following_url":"https://api.github.com/users/racker-andrew-hale/following{/other_user}","gists_url":"https://api.github.com/users/racker-andrew-hale/gists{/gist_id}","starred_url":"https://api.github.com/users/racker-andrew-hale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/racker-andrew-hale/subscriptions","organizations_url":"https://api.github.com/users/racker-andrew-hale/orgs","repos_url":"https://api.github.com/users/racker-andrew-hale/repos","events_url":"https://api.github.com/users/racker-andrew-hale/events{/privacy}","received_events_url":"https://api.github.com/users/racker-andrew-hale/received_events","type":"User","site_admin":false},"repo":{"id":60090686,"name":"swift-informant","full_name":"racker-andrew-hale/swift-informant","owner":{"login":"racker-andrew-hale","id":11683337,"avatar_url":"https://avatars.githubusercontent.com/u/11683337?v=3","gravatar_id":"","url":"https://api.github.com/users/racker-andrew-hale","html_url":"https://github.com/racker-andrew-hale","followers_url":"https://api.github.com/users/racker-andrew-hale/followers","following_url":"https://api.github.com/users/racker-andrew-hale/following{/other_user}","gists_url":"https://api.github.com/users/racker-andrew-hale/gists{/gist_id}","starred_url":"https://api.github.com/users/racker-andrew-hale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/racker-andrew-hale/subscriptions","organizations_url":"https://api.github.com/users/racker-andrew-hale/orgs","repos_url":"https://api.github.com/users/racker-andrew-hale/repos","events_url":"https://api.github.com/users/racker-andrew-hale/events{/privacy}","received_events_url":"https://api.github.com/users/racker-andrew-hale/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/racker-andrew-hale/swift-informant","description":"Swift Informant Middleware","fork":true,"url":"https://api.github.com/repos/racker-andrew-hale/swift-informant","forks_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/forks","keys_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/teams","hooks_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/hooks","issue_events_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/issues/events{/number}","events_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/events","assignees_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/assignees{/user}","branches_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/branches{/branch}","tags_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/tags","blobs_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/git/refs{/sha}","trees_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/statuses/{sha}","languages_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/languages","stargazers_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/stargazers","contributors_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/contributors","subscribers_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/subscribers","subscription_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/subscription","commits_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/commits{/sha}","git_commits_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/git/commits{/sha}","comments_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/comments{/number}","issue_comment_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/issues/comments{/number}","contents_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/contents/{+path}","compare_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/merges","archive_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/downloads","issues_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/issues{/number}","pulls_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/pulls{/number}","milestones_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/milestones{/number}","notifications_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/labels{/name}","releases_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/releases{/id}","deployments_url":"https://api.github.com/repos/racker-andrew-hale/swift-informant/deployments","created_at":"2016-05-31T13:13:36Z","updated_at":"2016-05-31T13:13:37Z","pushed_at":"2016-08-16T07:45:10Z","git_url":"git://github.com/racker-andrew-hale/swift-informant.git","ssh_url":"git@github.com:racker-andrew-hale/swift-informant.git","clone_url":"https://github.com/racker-andrew-hale/swift-informant.git","svn_url":"https://github.com/racker-andrew-hale/swift-informant","homepage":"","size":98,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rackerlabs:master","ref":"master","sha":"ef68d61e4ce61ad2495297fb421a73e528f2609e","user":{"login":"rackerlabs","id":84293,"avatar_url":"https://avatars.githubusercontent.com/u/84293?v=3","gravatar_id":"","url":"https://api.github.com/users/rackerlabs","html_url":"https://github.com/rackerlabs","followers_url":"https://api.github.com/users/rackerlabs/followers","following_url":"https://api.github.com/users/rackerlabs/following{/other_user}","gists_url":"https://api.github.com/users/rackerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rackerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackerlabs/subscriptions","organizations_url":"https://api.github.com/users/rackerlabs/orgs","repos_url":"https://api.github.com/users/rackerlabs/repos","events_url":"https://api.github.com/users/rackerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rackerlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":39253828,"name":"swift-informant","full_name":"rackerlabs/swift-informant","owner":{"login":"rackerlabs","id":84293,"avatar_url":"https://avatars.githubusercontent.com/u/84293?v=3","gravatar_id":"","url":"https://api.github.com/users/rackerlabs","html_url":"https://github.com/rackerlabs","followers_url":"https://api.github.com/users/rackerlabs/followers","following_url":"https://api.github.com/users/rackerlabs/following{/other_user}","gists_url":"https://api.github.com/users/rackerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rackerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rackerlabs/subscriptions","organizations_url":"https://api.github.com/users/rackerlabs/orgs","repos_url":"https://api.github.com/users/rackerlabs/repos","events_url":"https://api.github.com/users/rackerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rackerlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rackerlabs/swift-informant","description":"Swift Informant Middleware","fork":true,"url":"https://api.github.com/repos/rackerlabs/swift-informant","forks_url":"https://api.github.com/repos/rackerlabs/swift-informant/forks","keys_url":"https://api.github.com/repos/rackerlabs/swift-informant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rackerlabs/swift-informant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rackerlabs/swift-informant/teams","hooks_url":"https://api.github.com/repos/rackerlabs/swift-informant/hooks","issue_events_url":"https://api.github.com/repos/rackerlabs/swift-informant/issues/events{/number}","events_url":"https://api.github.com/repos/rackerlabs/swift-informant/events","assignees_url":"https://api.github.com/repos/rackerlabs/swift-informant/assignees{/user}","branches_url":"https://api.github.com/repos/rackerlabs/swift-informant/branches{/branch}","tags_url":"https://api.github.com/repos/rackerlabs/swift-informant/tags","blobs_url":"https://api.github.com/repos/rackerlabs/swift-informant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rackerlabs/swift-informant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rackerlabs/swift-informant/git/refs{/sha}","trees_url":"https://api.github.com/repos/rackerlabs/swift-informant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rackerlabs/swift-informant/statuses/{sha}","languages_url":"https://api.github.com/repos/rackerlabs/swift-informant/languages","stargazers_url":"https://api.github.com/repos/rackerlabs/swift-informant/stargazers","contributors_url":"https://api.github.com/repos/rackerlabs/swift-informant/contributors","subscribers_url":"https://api.github.com/repos/rackerlabs/swift-informant/subscribers","subscription_url":"https://api.github.com/repos/rackerlabs/swift-informant/subscription","commits_url":"https://api.github.com/repos/rackerlabs/swift-informant/commits{/sha}","git_commits_url":"https://api.github.com/repos/rackerlabs/swift-informant/git/commits{/sha}","comments_url":"https://api.github.com/repos/rackerlabs/swift-informant/comments{/number}","issue_comment_url":"https://api.github.com/repos/rackerlabs/swift-informant/issues/comments{/number}","contents_url":"https://api.github.com/repos/rackerlabs/swift-informant/contents/{+path}","compare_url":"https://api.github.com/repos/rackerlabs/swift-informant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rackerlabs/swift-informant/merges","archive_url":"https://api.github.com/repos/rackerlabs/swift-informant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rackerlabs/swift-informant/downloads","issues_url":"https://api.github.com/repos/rackerlabs/swift-informant/issues{/number}","pulls_url":"https://api.github.com/repos/rackerlabs/swift-informant/pulls{/number}","milestones_url":"https://api.github.com/repos/rackerlabs/swift-informant/milestones{/number}","notifications_url":"https://api.github.com/repos/rackerlabs/swift-informant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rackerlabs/swift-informant/labels{/name}","releases_url":"https://api.github.com/repos/rackerlabs/swift-informant/releases{/id}","deployments_url":"https://api.github.com/repos/rackerlabs/swift-informant/deployments","created_at":"2015-07-17T12:48:44Z","updated_at":"2015-07-17T12:48:44Z","pushed_at":"2016-08-16T19:02:07Z","git_url":"git://github.com/rackerlabs/swift-informant.git","ssh_url":"git@github.com:rackerlabs/swift-informant.git","clone_url":"https://github.com/rackerlabs/swift-informant.git","svn_url":"https://github.com/rackerlabs/swift-informant","homepage":"","size":153,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rackerlabs/swift-informant/pulls/1"},"html":{"href":"https://github.com/rackerlabs/swift-informant/pull/1"},"issue":{"href":"https://api.github.com/repos/rackerlabs/swift-informant/issues/1"},"comments":{"href":"https://api.github.com/repos/rackerlabs/swift-informant/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/rackerlabs/swift-informant/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/rackerlabs/swift-informant/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rackerlabs/swift-informant/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/rackerlabs/swift-informant/statuses/866cd35f9f0a5496d78501c33704d479c59bd8d4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"dpgoetz","id":438461,"avatar_url":"https://avatars.githubusercontent.com/u/438461?v=3","gravatar_id":"","url":"https://api.github.com/users/dpgoetz","html_url":"https://github.com/dpgoetz","followers_url":"https://api.github.com/users/dpgoetz/followers","following_url":"https://api.github.com/users/dpgoetz/following{/other_user}","gists_url":"https://api.github.com/users/dpgoetz/gists{/gist_id}","starred_url":"https://api.github.com/users/dpgoetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpgoetz/subscriptions","organizations_url":"https://api.github.com/users/dpgoetz/orgs","repos_url":"https://api.github.com/users/dpgoetz/repos","events_url":"https://api.github.com/users/dpgoetz/events{/privacy}","received_events_url":"https://api.github.com/users/dpgoetz/received_events","type":"User","site_admin":false},"comments":3,"review_comments":1,"commits":4,"additions":19,"deletions":5,"changed_files":1}}
{"actor":{"display_login":"dpgoetz"}}