{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/topfreegames/arkadiko/pulls/4","id":177857687,"html_url":"https://github.com/topfreegames/arkadiko/pull/4","diff_url":"https://github.com/topfreegames/arkadiko/pull/4.diff","patch_url":"https://github.com/topfreegames/arkadiko/pull/4.patch","issue_url":"https://api.github.com/repos/topfreegames/arkadiko/issues/4","number":4,"state":"closed","locked":false,"title":"Feature/reporting metrics to statsd","user":{"login":"igorvpcleao","id":3065657,"avatar_url":"https://avatars1.githubusercontent.com/u/3065657?v=4","gravatar_id":"","url":"https://api.github.com/users/igorvpcleao","html_url":"https://github.com/igorvpcleao","followers_url":"https://api.github.com/users/igorvpcleao/followers","following_url":"https://api.github.com/users/igorvpcleao/following{/other_user}","gists_url":"https://api.github.com/users/igorvpcleao/gists{/gist_id}","starred_url":"https://api.github.com/users/igorvpcleao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorvpcleao/subscriptions","organizations_url":"https://api.github.com/users/igorvpcleao/orgs","repos_url":"https://api.github.com/users/igorvpcleao/repos","events_url":"https://api.github.com/users/igorvpcleao/events{/privacy}","received_events_url":"https://api.github.com/users/igorvpcleao/received_events","type":"User","site_admin":false},"body":"This PR integrates arkadiko with DatadogStatsD and starts collecting the following metrics:\r\n\r\n* latency (avg, percentile 50 and percentile95) [metric arkadiko.response_time_milliseconds]\r\n* requests (per route and per status code) [metric arkadiko.response_time_milliseconds_count]\r\n\r\nDue to a version incompatibility regarding echo, it was not possible to import `github.com/topfreegames/extensions/echo/middleware`. Therefore, this PR contains duplicate code from `github.com/topfreegames/extensions/echo/middleware`.\r\n\r\nAlso, it's important to notice arkadiko now expects a config section `dogstatsd.*`, where `*` is equal to `host, prefix, tags_prefix or rate`, instead of `extensions.dogstatsd.*`. It's common to find this last pattern in projects using `topfreegames/extensions`.","created_at":"2018-03-27T20:35:40Z","updated_at":"2018-03-27T21:20:02Z","closed_at":"2018-03-27T21:20:02Z","merged_at":"2018-03-27T21:20:02Z","merge_commit_sha":"30d036f387c6cda75d70316f1312cd9b6fb42799","assignee":{"login":"cscatolini","id":1613078,"avatar_url":"https://avatars1.githubusercontent.com/u/1613078?v=4","gravatar_id":"","url":"https://api.github.com/users/cscatolini","html_url":"https://github.com/cscatolini","followers_url":"https://api.github.com/users/cscatolini/followers","following_url":"https://api.github.com/users/cscatolini/following{/other_user}","gists_url":"https://api.github.com/users/cscatolini/gists{/gist_id}","starred_url":"https://api.github.com/users/cscatolini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cscatolini/subscriptions","organizations_url":"https://api.github.com/users/cscatolini/orgs","repos_url":"https://api.github.com/users/cscatolini/repos","events_url":"https://api.github.com/users/cscatolini/events{/privacy}","received_events_url":"https://api.github.com/users/cscatolini/received_events","type":"User","site_admin":false},"assignees":[{"login":"cscatolini","id":1613078,"avatar_url":"https://avatars1.githubusercontent.com/u/1613078?v=4","gravatar_id":"","url":"https://api.github.com/users/cscatolini","html_url":"https://github.com/cscatolini","followers_url":"https://api.github.com/users/cscatolini/followers","following_url":"https://api.github.com/users/cscatolini/following{/other_user}","gists_url":"https://api.github.com/users/cscatolini/gists{/gist_id}","starred_url":"https://api.github.com/users/cscatolini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cscatolini/subscriptions","organizations_url":"https://api.github.com/users/cscatolini/orgs","repos_url":"https://api.github.com/users/cscatolini/repos","events_url":"https://api.github.com/users/cscatolini/events{/privacy}","received_events_url":"https://api.github.com/users/cscatolini/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/topfreegames/arkadiko/pulls/4/commits","review_comments_url":"https://api.github.com/repos/topfreegames/arkadiko/pulls/4/comments","review_comment_url":"https://api.github.com/repos/topfreegames/arkadiko/pulls/comments{/number}","comments_url":"https://api.github.com/repos/topfreegames/arkadiko/issues/4/comments","statuses_url":"https://api.github.com/repos/topfreegames/arkadiko/statuses/9199dd6a2fbc7919043a0448861d7a4a82277008","head":{"label":"topfreegames:feature/reporting-metrics-to-statsd","ref":"feature/reporting-metrics-to-statsd","sha":"9199dd6a2fbc7919043a0448861d7a4a82277008","user":{"login":"topfreegames","id":1257970,"avatar_url":"https://avatars3.githubusercontent.com/u/1257970?v=4","gravatar_id":"","url":"https://api.github.com/users/topfreegames","html_url":"https://github.com/topfreegames","followers_url":"https://api.github.com/users/topfreegames/followers","following_url":"https://api.github.com/users/topfreegames/following{/other_user}","gists_url":"https://api.github.com/users/topfreegames/gists{/gist_id}","starred_url":"https://api.github.com/users/topfreegames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/topfreegames/subscriptions","organizations_url":"https://api.github.com/users/topfreegames/orgs","repos_url":"https://api.github.com/users/topfreegames/repos","events_url":"https://api.github.com/users/topfreegames/events{/privacy}","received_events_url":"https://api.github.com/users/topfreegames/received_events","type":"Organization","site_admin":false},"repo":{"id":62821841,"name":"arkadiko","full_name":"topfreegames/arkadiko","owner":{"login":"topfreegames","id":1257970,"avatar_url":"https://avatars3.githubusercontent.com/u/1257970?v=4","gravatar_id":"","url":"https://api.github.com/users/topfreegames","html_url":"https://github.com/topfreegames","followers_url":"https://api.github.com/users/topfreegames/followers","following_url":"https://api.github.com/users/topfreegames/following{/other_user}","gists_url":"https://api.github.com/users/topfreegames/gists{/gist_id}","starred_url":"https://api.github.com/users/topfreegames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/topfreegames/subscriptions","organizations_url":"https://api.github.com/users/topfreegames/orgs","repos_url":"https://api.github.com/users/topfreegames/repos","events_url":"https://api.github.com/users/topfreegames/events{/privacy}","received_events_url":"https://api.github.com/users/topfreegames/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/topfreegames/arkadiko","description":"A simple bridge from HTTP to MQTT developed in Go","fork":false,"url":"https://api.github.com/repos/topfreegames/arkadiko","forks_url":"https://api.github.com/repos/topfreegames/arkadiko/forks","keys_url":"https://api.github.com/repos/topfreegames/arkadiko/keys{/key_id}","collaborators_url":"https://api.github.com/repos/topfreegames/arkadiko/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/topfreegames/arkadiko/teams","hooks_url":"https://api.github.com/repos/topfreegames/arkadiko/hooks","issue_events_url":"https://api.github.com/repos/topfreegames/arkadiko/issues/events{/number}","events_url":"https://api.github.com/repos/topfreegames/arkadiko/events","assignees_url":"https://api.github.com/repos/topfreegames/arkadiko/assignees{/user}","branches_url":"https://api.github.com/repos/topfreegames/arkadiko/branches{/branch}","tags_url":"https://api.github.com/repos/topfreegames/arkadiko/tags","blobs_url":"https://api.github.com/repos/topfreegames/arkadiko/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/topfreegames/arkadiko/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/topfreegames/arkadiko/git/refs{/sha}","trees_url":"https://api.github.com/repos/topfreegames/arkadiko/git/trees{/sha}","statuses_url":"https://api.github.com/repos/topfreegames/arkadiko/statuses/{sha}","languages_url":"https://api.github.com/repos/topfreegames/arkadiko/languages","stargazers_url":"https://api.github.com/repos/topfreegames/arkadiko/stargazers","contributors_url":"https://api.github.com/repos/topfreegames/arkadiko/contributors","subscribers_url":"https://api.github.com/repos/topfreegames/arkadiko/subscribers","subscription_url":"https://api.github.com/repos/topfreegames/arkadiko/subscription","commits_url":"https://api.github.com/repos/topfreegames/arkadiko/commits{/sha}","git_commits_url":"https://api.github.com/repos/topfreegames/arkadiko/git/commits{/sha}","comments_url":"https://api.github.com/repos/topfreegames/arkadiko/comments{/number}","issue_comment_url":"https://api.github.com/repos/topfreegames/arkadiko/issues/comments{/number}","contents_url":"https://api.github.com/repos/topfreegames/arkadiko/contents/{+path}","compare_url":"https://api.github.com/repos/topfreegames/arkadiko/compare/{base}...{head}","merges_url":"https://api.github.com/repos/topfreegames/arkadiko/merges","archive_url":"https://api.github.com/repos/topfreegames/arkadiko/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/topfreegames/arkadiko/downloads","issues_url":"https://api.github.com/repos/topfreegames/arkadiko/issues{/number}","pulls_url":"https://api.github.com/repos/topfreegames/arkadiko/pulls{/number}","milestones_url":"https://api.github.com/repos/topfreegames/arkadiko/milestones{/number}","notifications_url":"https://api.github.com/repos/topfreegames/arkadiko/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/topfreegames/arkadiko/labels{/name}","releases_url":"https://api.github.com/repos/topfreegames/arkadiko/releases{/id}","deployments_url":"https://api.github.com/repos/topfreegames/arkadiko/deployments","created_at":"2016-07-07T16:29:28Z","updated_at":"2018-03-21T11:25:11Z","pushed_at":"2018-03-27T21:20:02Z","git_url":"git://github.com/topfreegames/arkadiko.git","ssh_url":"git@github.com:topfreegames/arkadiko.git","clone_url":"https://github.com/topfreegames/arkadiko.git","svn_url":"https://github.com/topfreegames/arkadiko","homepage":"","size":113,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"topfreegames:master","ref":"master","sha":"6839d5a471067b4e46a3cb6945880cc85856ca35","user":{"login":"topfreegames","id":1257970,"avatar_url":"https://avatars3.githubusercontent.com/u/1257970?v=4","gravatar_id":"","url":"https://api.github.com/users/topfreegames","html_url":"https://github.com/topfreegames","followers_url":"https://api.github.com/users/topfreegames/followers","following_url":"https://api.github.com/users/topfreegames/following{/other_user}","gists_url":"https://api.github.com/users/topfreegames/gists{/gist_id}","starred_url":"https://api.github.com/users/topfreegames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/topfreegames/subscriptions","organizations_url":"https://api.github.com/users/topfreegames/orgs","repos_url":"https://api.github.com/users/topfreegames/repos","events_url":"https://api.github.com/users/topfreegames/events{/privacy}","received_events_url":"https://api.github.com/users/topfreegames/received_events","type":"Organization","site_admin":false},"repo":{"id":62821841,"name":"arkadiko","full_name":"topfreegames/arkadiko","owner":{"login":"topfreegames","id":1257970,"avatar_url":"https://avatars3.githubusercontent.com/u/1257970?v=4","gravatar_id":"","url":"https://api.github.com/users/topfreegames","html_url":"https://github.com/topfreegames","followers_url":"https://api.github.com/users/topfreegames/followers","following_url":"https://api.github.com/users/topfreegames/following{/other_user}","gists_url":"https://api.github.com/users/topfreegames/gists{/gist_id}","starred_url":"https://api.github.com/users/topfreegames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/topfreegames/subscriptions","organizations_url":"https://api.github.com/users/topfreegames/orgs","repos_url":"https://api.github.com/users/topfreegames/repos","events_url":"https://api.github.com/users/topfreegames/events{/privacy}","received_events_url":"https://api.github.com/users/topfreegames/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/topfreegames/arkadiko","description":"A simple bridge from HTTP to MQTT developed in Go","fork":false,"url":"https://api.github.com/repos/topfreegames/arkadiko","forks_url":"https://api.github.com/repos/topfreegames/arkadiko/forks","keys_url":"https://api.github.com/repos/topfreegames/arkadiko/keys{/key_id}","collaborators_url":"https://api.github.com/repos/topfreegames/arkadiko/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/topfreegames/arkadiko/teams","hooks_url":"https://api.github.com/repos/topfreegames/arkadiko/hooks","issue_events_url":"https://api.github.com/repos/topfreegames/arkadiko/issues/events{/number}","events_url":"https://api.github.com/repos/topfreegames/arkadiko/events","assignees_url":"https://api.github.com/repos/topfreegames/arkadiko/assignees{/user}","branches_url":"https://api.github.com/repos/topfreegames/arkadiko/branches{/branch}","tags_url":"https://api.github.com/repos/topfreegames/arkadiko/tags","blobs_url":"https://api.github.com/repos/topfreegames/arkadiko/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/topfreegames/arkadiko/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/topfreegames/arkadiko/git/refs{/sha}","trees_url":"https://api.github.com/repos/topfreegames/arkadiko/git/trees{/sha}","statuses_url":"https://api.github.com/repos/topfreegames/arkadiko/statuses/{sha}","languages_url":"https://api.github.com/repos/topfreegames/arkadiko/languages","stargazers_url":"https://api.github.com/repos/topfreegames/arkadiko/stargazers","contributors_url":"https://api.github.com/repos/topfreegames/arkadiko/contributors","subscribers_url":"https://api.github.com/repos/topfreegames/arkadiko/subscribers","subscription_url":"https://api.github.com/repos/topfreegames/arkadiko/subscription","commits_url":"https://api.github.com/repos/topfreegames/arkadiko/commits{/sha}","git_commits_url":"https://api.github.com/repos/topfreegames/arkadiko/git/commits{/sha}","comments_url":"https://api.github.com/repos/topfreegames/arkadiko/comments{/number}","issue_comment_url":"https://api.github.com/repos/topfreegames/arkadiko/issues/comments{/number}","contents_url":"https://api.github.com/repos/topfreegames/arkadiko/contents/{+path}","compare_url":"https://api.github.com/repos/topfreegames/arkadiko/compare/{base}...{head}","merges_url":"https://api.github.com/repos/topfreegames/arkadiko/merges","archive_url":"https://api.github.com/repos/topfreegames/arkadiko/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/topfreegames/arkadiko/downloads","issues_url":"https://api.github.com/repos/topfreegames/arkadiko/issues{/number}","pulls_url":"https://api.github.com/repos/topfreegames/arkadiko/pulls{/number}","milestones_url":"https://api.github.com/repos/topfreegames/arkadiko/milestones{/number}","notifications_url":"https://api.github.com/repos/topfreegames/arkadiko/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/topfreegames/arkadiko/labels{/name}","releases_url":"https://api.github.com/repos/topfreegames/arkadiko/releases{/id}","deployments_url":"https://api.github.com/repos/topfreegames/arkadiko/deployments","created_at":"2016-07-07T16:29:28Z","updated_at":"2018-03-21T11:25:11Z","pushed_at":"2018-03-27T21:20:02Z","git_url":"git://github.com/topfreegames/arkadiko.git","ssh_url":"git@github.com:topfreegames/arkadiko.git","clone_url":"https://github.com/topfreegames/arkadiko.git","svn_url":"https://github.com/topfreegames/arkadiko","homepage":"","size":113,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/topfreegames/arkadiko/pulls/4"},"html":{"href":"https://github.com/topfreegames/arkadiko/pull/4"},"issue":{"href":"https://api.github.com/repos/topfreegames/arkadiko/issues/4"},"comments":{"href":"https://api.github.com/repos/topfreegames/arkadiko/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/topfreegames/arkadiko/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/topfreegames/arkadiko/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/topfreegames/arkadiko/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/topfreegames/arkadiko/statuses/9199dd6a2fbc7919043a0448861d7a4a82277008"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"cscatolini","id":1613078,"avatar_url":"https://avatars1.githubusercontent.com/u/1613078?v=4","gravatar_id":"","url":"https://api.github.com/users/cscatolini","html_url":"https://github.com/cscatolini","followers_url":"https://api.github.com/users/cscatolini/followers","following_url":"https://api.github.com/users/cscatolini/following{/other_user}","gists_url":"https://api.github.com/users/cscatolini/gists{/gist_id}","starred_url":"https://api.github.com/users/cscatolini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cscatolini/subscriptions","organizations_url":"https://api.github.com/users/cscatolini/orgs","repos_url":"https://api.github.com/users/cscatolini/repos","events_url":"https://api.github.com/users/cscatolini/events{/privacy}","received_events_url":"https://api.github.com/users/cscatolini/received_events","type":"User","site_admin":false},"comments":0,"review_comments":1,"maintainer_can_modify":false,"commits":3,"additions":166,"deletions":0,"changed_files":5}}
{"actor":{"display_login":"cscatolini"}}