{"action":"created","issue":{"url":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/1378","repository_url":"https://api.github.com/repos/edenlabllc/ehealth.api","labels_url":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/1378/labels{/name}","comments_url":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/1378/comments","events_url":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/1378/events","html_url":"https://github.com/edenlabllc/ehealth.api/issues/1378","id":269733927,"number":1378,"title":"/oauth/tokens success rate","user":{"login":"pzhuk","id":10362976,"avatar_url":"https://avatars0.githubusercontent.com/u/10362976?v=4","gravatar_id":"","url":"https://api.github.com/users/pzhuk","html_url":"https://github.com/pzhuk","followers_url":"https://api.github.com/users/pzhuk/followers","following_url":"https://api.github.com/users/pzhuk/following{/other_user}","gists_url":"https://api.github.com/users/pzhuk/gists{/gist_id}","starred_url":"https://api.github.com/users/pzhuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzhuk/subscriptions","organizations_url":"https://api.github.com/users/pzhuk/orgs","repos_url":"https://api.github.com/users/pzhuk/repos","events_url":"https://api.github.com/users/pzhuk/events{/privacy}","received_events_url":"https://api.github.com/users/pzhuk/received_events","type":"User","site_admin":false},"labels":[{"id":610502312,"url":"https://api.github.com/repos/edenlabllc/ehealth.api/labels/bug","name":"bug","color":"b60205","default":true},{"id":683782529,"url":"https://api.github.com/repos/edenlabllc/ehealth.api/labels/kind/support","name":"kind/support","color":"727072","default":false},{"id":573865272,"url":"https://api.github.com/repos/edenlabllc/ehealth.api/labels/priority/high","name":"priority/high","color":"d93f0b","default":false},{"id":573865560,"url":"https://api.github.com/repos/edenlabllc/ehealth.api/labels/status/todo","name":"status/todo","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":{"login":"gmile","id":207112,"avatar_url":"https://avatars2.githubusercontent.com/u/207112?v=4","gravatar_id":"","url":"https://api.github.com/users/gmile","html_url":"https://github.com/gmile","followers_url":"https://api.github.com/users/gmile/followers","following_url":"https://api.github.com/users/gmile/following{/other_user}","gists_url":"https://api.github.com/users/gmile/gists{/gist_id}","starred_url":"https://api.github.com/users/gmile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmile/subscriptions","organizations_url":"https://api.github.com/users/gmile/orgs","repos_url":"https://api.github.com/users/gmile/repos","events_url":"https://api.github.com/users/gmile/events{/privacy}","received_events_url":"https://api.github.com/users/gmile/received_events","type":"User","site_admin":false},"assignees":[{"login":"gmile","id":207112,"avatar_url":"https://avatars2.githubusercontent.com/u/207112?v=4","gravatar_id":"","url":"https://api.github.com/users/gmile","html_url":"https://github.com/gmile","followers_url":"https://api.github.com/users/gmile/followers","following_url":"https://api.github.com/users/gmile/following{/other_user}","gists_url":"https://api.github.com/users/gmile/gists{/gist_id}","starred_url":"https://api.github.com/users/gmile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmile/subscriptions","organizations_url":"https://api.github.com/users/gmile/orgs","repos_url":"https://api.github.com/users/gmile/repos","events_url":"https://api.github.com/users/gmile/events{/privacy}","received_events_url":"https://api.github.com/users/gmile/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/edenlabllc/ehealth.api/milestones/16","html_url":"https://github.com/edenlabllc/ehealth.api/milestone/16","labels_url":"https://api.github.com/repos/edenlabllc/ehealth.api/milestones/16/labels","id":2873478,"number":16,"title":"Sprint 14 (Nov1-2)","description":"Reimbursement fine tuning\r\nSupport\r\nTechnical debt\r\nComplete Fraud detection\r\n2-factor auth\r\nMobile portal\r\n","creator":{"login":"lymychp","id":5257001,"avatar_url":"https://avatars2.githubusercontent.com/u/5257001?v=4","gravatar_id":"","url":"https://api.github.com/users/lymychp","html_url":"https://github.com/lymychp","followers_url":"https://api.github.com/users/lymychp/followers","following_url":"https://api.github.com/users/lymychp/following{/other_user}","gists_url":"https://api.github.com/users/lymychp/gists{/gist_id}","starred_url":"https://api.github.com/users/lymychp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lymychp/subscriptions","organizations_url":"https://api.github.com/users/lymychp/orgs","repos_url":"https://api.github.com/users/lymychp/repos","events_url":"https://api.github.com/users/lymychp/events{/privacy}","received_events_url":"https://api.github.com/users/lymychp/received_events","type":"User","site_admin":false},"open_issues":41,"closed_issues":24,"state":"open","created_at":"2017-10-30T06:44:36Z","updated_at":"2017-11-09T12:50:04Z","due_on":"2017-11-15T08:00:00Z","closed_at":null},"comments":2,"created_at":"2017-10-30T19:58:58Z","updated_at":"2017-11-09T13:21:40Z","closed_at":null,"author_association":"COLLABORATOR","body":"It looks like /oauth/tokens has least success rate among other APIs.\r\nWe got 38 cases of 5xx responses during last 5 days, most of them are just upstream has closed connection.\r\n\r\nChecking stats on gw with query\r\n\r\n\r\n```\r\nselect a.url, status_code::int, count(*) from (\r\nselect (api->'request'->'path')::text as url, status_code\r\nfrom requests\r\nwhere inserted_at>current_date-5\r\n) a\r\ngroup by a.url, status_code::int\r\norder by a.url, status_code::int\r\n```\r\n\r\n\r\n'\"/oauth/tokens\"',201,'4556'\r\n'\"/oauth/tokens\"',400,'57'\r\n'\"/oauth/tokens\"',401,'4892'\r\n'\"/oauth/tokens\"',415,'1'\r\n'\"/oauth/tokens\"',500,'38'"},"comment":{"url":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/comments/343152454","html_url":"https://github.com/edenlabllc/ehealth.api/issues/1378#issuecomment-343152454","issue_url":"https://api.github.com/repos/edenlabllc/ehealth.api/issues/1378","id":343152454,"user":{"login":"pzhuk","id":10362976,"avatar_url":"https://avatars0.githubusercontent.com/u/10362976?v=4","gravatar_id":"","url":"https://api.github.com/users/pzhuk","html_url":"https://github.com/pzhuk","followers_url":"https://api.github.com/users/pzhuk/followers","following_url":"https://api.github.com/users/pzhuk/following{/other_user}","gists_url":"https://api.github.com/users/pzhuk/gists{/gist_id}","starred_url":"https://api.github.com/users/pzhuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzhuk/subscriptions","organizations_url":"https://api.github.com/users/pzhuk/orgs","repos_url":"https://api.github.com/users/pzhuk/repos","events_url":"https://api.github.com/users/pzhuk/events{/privacy}","received_events_url":"https://api.github.com/users/pzhuk/received_events","type":"User","site_admin":false},"created_at":"2017-11-09T13:21:40Z","updated_at":"2017-11-09T13:21:40Z","author_association":"COLLABORATOR","body":"well, I dislike missing resolution, but if it's not reproducible - we could close the issue\r\neven though it would be great to undestand this: \r\n\r\n> Why do we not have logs from 26th? It could be that we're only retaining logs for 1 week.\r\n\r\n "}}
{"actor":{"display_login":"pzhuk"}}