{"action":"created","issue":{"url":"https://api.github.com/repos/zalando-stups/yourturn/issues/516","repository_url":"https://api.github.com/repos/zalando-stups/yourturn","labels_url":"https://api.github.com/repos/zalando-stups/yourturn/issues/516/labels{/name}","comments_url":"https://api.github.com/repos/zalando-stups/yourturn/issues/516/comments","events_url":"https://api.github.com/repos/zalando-stups/yourturn/issues/516/events","html_url":"https://github.com/zalando-stups/yourturn/pull/516","id":185901671,"number":516,"title":"Add unique tokens counter","user":{"login":"gagoman","id":1894766,"avatar_url":"https://avatars.githubusercontent.com/u/1894766?v=3","gravatar_id":"","url":"https://api.github.com/users/gagoman","html_url":"https://github.com/gagoman","followers_url":"https://api.github.com/users/gagoman/followers","following_url":"https://api.github.com/users/gagoman/following{/other_user}","gists_url":"https://api.github.com/users/gagoman/gists{/gist_id}","starred_url":"https://api.github.com/users/gagoman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gagoman/subscriptions","organizations_url":"https://api.github.com/users/gagoman/orgs","repos_url":"https://api.github.com/users/gagoman/repos","events_url":"https://api.github.com/users/gagoman/events{/privacy}","received_events_url":"https://api.github.com/users/gagoman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-28T11:36:02Z","updated_at":"2016-10-28T14:24:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zalando-stups/yourturn/pulls/516","html_url":"https://github.com/zalando-stups/yourturn/pull/516","diff_url":"https://github.com/zalando-stups/yourturn/pull/516.diff","patch_url":"https://github.com/zalando-stups/yourturn/pull/516.patch"},"body":"Closes #515\r\n\r\nOverview:\r\n\r\nUnique tokens are saved to store and their count is exposed by metrics reporter at custom endpoint.\r\n\r\nDetails:\r\n\r\n* `store` is cache-like structure with 2 implementations:\r\n\r\n    * `in-memory` is based on `ES6` Map\r\n    * `redis` is based on Redis sorted set where key is token and score is timestamp in ms\r\n\r\nTODO:\r\n\r\n- [ ] - separate issue for `oauth` middleware?"},"comment":{"url":"https://api.github.com/repos/zalando-stups/yourturn/issues/comments/256934048","html_url":"https://github.com/zalando-stups/yourturn/pull/516#issuecomment-256934048","issue_url":"https://api.github.com/repos/zalando-stups/yourturn/issues/516","id":256934048,"user":{"login":"gagoman","id":1894766,"avatar_url":"https://avatars.githubusercontent.com/u/1894766?v=3","gravatar_id":"","url":"https://api.github.com/users/gagoman","html_url":"https://github.com/gagoman","followers_url":"https://api.github.com/users/gagoman/followers","following_url":"https://api.github.com/users/gagoman/following{/other_user}","gists_url":"https://api.github.com/users/gagoman/gists{/gist_id}","starred_url":"https://api.github.com/users/gagoman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gagoman/subscriptions","organizations_url":"https://api.github.com/users/gagoman/orgs","repos_url":"https://api.github.com/users/gagoman/repos","events_url":"https://api.github.com/users/gagoman/events{/privacy}","received_events_url":"https://api.github.com/users/gagoman/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T14:24:43Z","updated_at":"2016-10-28T14:24:43Z","body":"Is blocked by #517 "}}
{"actor":{"display_login":"gagoman"}}