{"action":"created","issue":{"url":"https://api.github.com/repos/basho/stanchion/issues/92","labels_url":"https://api.github.com/repos/basho/stanchion/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/basho/stanchion/issues/92/comments","events_url":"https://api.github.com/repos/basho/stanchion/issues/92/events","html_url":"https://github.com/basho/stanchion/issues/92","id":60192689,"number":92,"title":"Introduce metrics.","user":{"login":"ksauzz","id":451586,"avatar_url":"https://avatars.githubusercontent.com/u/451586?v=3","gravatar_id":"","url":"https://api.github.com/users/ksauzz","html_url":"https://github.com/ksauzz","followers_url":"https://api.github.com/users/ksauzz/followers","following_url":"https://api.github.com/users/ksauzz/following{/other_user}","gists_url":"https://api.github.com/users/ksauzz/gists{/gist_id}","starred_url":"https://api.github.com/users/ksauzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksauzz/subscriptions","organizations_url":"https://api.github.com/users/ksauzz/orgs","repos_url":"https://api.github.com/users/ksauzz/repos","events_url":"https://api.github.com/users/ksauzz/events{/privacy}","received_events_url":"https://api.github.com/users/ksauzz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/basho/stanchion/milestones/3","html_url":"https://github.com/basho/stanchion/milestones/2.1.0","labels_url":"https://api.github.com/repos/basho/stanchion/milestones/3/labels","id":1011622,"number":3,"title":"2.1.0","description":"","creator":{"login":"kuenishi","id":11440,"avatar_url":"https://avatars.githubusercontent.com/u/11440?v=3","gravatar_id":"","url":"https://api.github.com/users/kuenishi","html_url":"https://github.com/kuenishi","followers_url":"https://api.github.com/users/kuenishi/followers","following_url":"https://api.github.com/users/kuenishi/following{/other_user}","gists_url":"https://api.github.com/users/kuenishi/gists{/gist_id}","starred_url":"https://api.github.com/users/kuenishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuenishi/subscriptions","organizations_url":"https://api.github.com/users/kuenishi/orgs","repos_url":"https://api.github.com/users/kuenishi/repos","events_url":"https://api.github.com/users/kuenishi/events{/privacy}","received_events_url":"https://api.github.com/users/kuenishi/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2015-03-09T00:49:01Z","updated_at":"2015-06-25T06:24:39Z","due_on":"2015-08-31T15:00:00Z","closed_at":null},"comments":3,"created_at":"2015-03-07T05:57:35Z","updated_at":"2015-07-08T05:57:58Z","closed_at":null,"body":"Stanchion should provide its statistics to understand what happens on it.\r\n\r\nMy suggestions are:\r\n\r\n- stanchion_server's mailbox size.\r\n- ~~connection counter~~\r\n- request & error counter\r\n- request latency."},"comment":{"url":"https://api.github.com/repos/basho/stanchion/issues/comments/119447831","html_url":"https://github.com/basho/stanchion/issues/92#issuecomment-119447831","issue_url":"https://api.github.com/repos/basho/stanchion/issues/92","id":119447831,"user":{"login":"kuenishi","id":11440,"avatar_url":"https://avatars.githubusercontent.com/u/11440?v=3","gravatar_id":"","url":"https://api.github.com/users/kuenishi","html_url":"https://github.com/kuenishi","followers_url":"https://api.github.com/users/kuenishi/followers","following_url":"https://api.github.com/users/kuenishi/following{/other_user}","gists_url":"https://api.github.com/users/kuenishi/gists{/gist_id}","starred_url":"https://api.github.com/users/kuenishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuenishi/subscriptions","organizations_url":"https://api.github.com/users/kuenishi/orgs","repos_url":"https://api.github.com/users/kuenishi/repos","events_url":"https://api.github.com/users/kuenishi/events{/privacy}","received_events_url":"https://api.github.com/users/kuenishi/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T05:57:58Z","updated_at":"2015-07-08T05:57:58Z","body":"```erlang\r\n    [\r\n     {[\"buckets\"], stanchion_wm_buckets, [{auth_bypass, AuthBypass}]},\r\n     {[\"buckets\", bucket, \"acl\"], stanchion_wm_acl, [{auth_bypass, AuthBypass}]},\r\n     {[\"buckets\", bucket, \"policy\"], stanchion_wm_policy, [{auth_bypass, AuthBypass}]},\r\n     {[\"buckets\", bucket], stanchion_wm_bucket, [{auth_bypass, AuthBypass}]},\r\n     {[\"users\", key_id], stanchion_wm_user, [{auth_bypass, AuthBypass}]},\r\n     {[\"users\"], stanchion_wm_users, [{auth_bypass, AuthBypass}]}\r\n    ].\r\n```\r\n\r\nFrom `stanchion_web.erl` there're only 6 API endpoints and 12 methods.\r\n\r\n- ACL: GET, PUT\r\n- bucket: GET, PUT, DELETE\r\n- buckets: GET, POST\r\n- policy: GET, PUT, DELETE\r\n- user: PUT\r\n- users: POST"}}