{"action":"opened","number":133,"pull_request":{"url":"https://api.github.com/repos/Feuerlabs/exometer/pulls/133","id":32532641,"html_url":"https://github.com/Feuerlabs/exometer/pull/133","diff_url":"https://github.com/Feuerlabs/exometer/pull/133.diff","patch_url":"https://github.com/Feuerlabs/exometer/pull/133.patch","issue_url":"https://api.github.com/repos/Feuerlabs/exometer/issues/133","number":133,"state":"open","locked":false,"title":"Add prefix option to statsd reporter","user":{"login":"uwiger","id":160216,"avatar_url":"https://avatars.githubusercontent.com/u/160216?v=3","gravatar_id":"","url":"https://api.github.com/users/uwiger","html_url":"https://github.com/uwiger","followers_url":"https://api.github.com/users/uwiger/followers","following_url":"https://api.github.com/users/uwiger/following{/other_user}","gists_url":"https://api.github.com/users/uwiger/gists{/gist_id}","starred_url":"https://api.github.com/users/uwiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uwiger/subscriptions","organizations_url":"https://api.github.com/users/uwiger/orgs","repos_url":"https://api.github.com/users/uwiger/repos","events_url":"https://api.github.com/users/uwiger/events{/privacy}","received_events_url":"https://api.github.com/users/uwiger/received_events","type":"User","site_admin":false},"body":"Example (using a reporter logger that I will push to exometer_core shortly):\r\n\r\n```erlang\r\n4> exometer_report:add_reporter(statsd,[{module,exometer_report_statsd},{host,\"localhost\"},{port,8888},{prefix,\"ulf\"}]).\r\nok\r\n5> 19:11:39.348 [info] exometer_report_statsd([{module,exometer_report_statsd},{host,\"localhost\"},{port,8888},{prefix,\"ulf\"}]): Starting\r\n\r\n5> exometer_report:subscribe(statsd,{find,['_']},value,10000,true).\r\nok\r\n6> ulf.g.value:0|g\r\nulf.g.value:0|g\r\nulf.g.value:0|g\r\n```\r\n\r\nAs far as I can tell, this is similar to how e.g. the Python Statsd client works.","created_at":"2015-04-02T17:33:07Z","updated_at":"2015-04-02T17:33:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"49a906aa5a6dceb0a8bbb6b0ca219574a963eb57","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Feuerlabs/exometer/pulls/133/commits","review_comments_url":"https://api.github.com/repos/Feuerlabs/exometer/pulls/133/comments","review_comment_url":"https://api.github.com/repos/Feuerlabs/exometer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Feuerlabs/exometer/issues/133/comments","statuses_url":"https://api.github.com/repos/Feuerlabs/exometer/statuses/02c286ebf14450933fbb496e3db299e5f970f1c9","head":{"label":"Feuerlabs:uw-add-statsd-reporter-prefix","ref":"uw-add-statsd-reporter-prefix","sha":"02c286ebf14450933fbb496e3db299e5f970f1c9","user":{"login":"Feuerlabs","id":1229379,"avatar_url":"https://avatars.githubusercontent.com/u/1229379?v=3","gravatar_id":"","url":"https://api.github.com/users/Feuerlabs","html_url":"https://github.com/Feuerlabs","followers_url":"https://api.github.com/users/Feuerlabs/followers","following_url":"https://api.github.com/users/Feuerlabs/following{/other_user}","gists_url":"https://api.github.com/users/Feuerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/Feuerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Feuerlabs/subscriptions","organizations_url":"https://api.github.com/users/Feuerlabs/orgs","repos_url":"https://api.github.com/users/Feuerlabs/repos","events_url":"https://api.github.com/users/Feuerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/Feuerlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":11879291,"name":"exometer","full_name":"Feuerlabs/exometer","owner":{"login":"Feuerlabs","id":1229379,"avatar_url":"https://avatars.githubusercontent.com/u/1229379?v=3","gravatar_id":"","url":"https://api.github.com/users/Feuerlabs","html_url":"https://github.com/Feuerlabs","followers_url":"https://api.github.com/users/Feuerlabs/followers","following_url":"https://api.github.com/users/Feuerlabs/following{/other_user}","gists_url":"https://api.github.com/users/Feuerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/Feuerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Feuerlabs/subscriptions","organizations_url":"https://api.github.com/users/Feuerlabs/orgs","repos_url":"https://api.github.com/users/Feuerlabs/repos","events_url":"https://api.github.com/users/Feuerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/Feuerlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Feuerlabs/exometer","description":"Basic measurement objects and probe behavior","fork":false,"url":"https://api.github.com/repos/Feuerlabs/exometer","forks_url":"https://api.github.com/repos/Feuerlabs/exometer/forks","keys_url":"https://api.github.com/repos/Feuerlabs/exometer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Feuerlabs/exometer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Feuerlabs/exometer/teams","hooks_url":"https://api.github.com/repos/Feuerlabs/exometer/hooks","issue_events_url":"https://api.github.com/repos/Feuerlabs/exometer/issues/events{/number}","events_url":"https://api.github.com/repos/Feuerlabs/exometer/events","assignees_url":"https://api.github.com/repos/Feuerlabs/exometer/assignees{/user}","branches_url":"https://api.github.com/repos/Feuerlabs/exometer/branches{/branch}","tags_url":"https://api.github.com/repos/Feuerlabs/exometer/tags","blobs_url":"https://api.github.com/repos/Feuerlabs/exometer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Feuerlabs/exometer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Feuerlabs/exometer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Feuerlabs/exometer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Feuerlabs/exometer/statuses/{sha}","languages_url":"https://api.github.com/repos/Feuerlabs/exometer/languages","stargazers_url":"https://api.github.com/repos/Feuerlabs/exometer/stargazers","contributors_url":"https://api.github.com/repos/Feuerlabs/exometer/contributors","subscribers_url":"https://api.github.com/repos/Feuerlabs/exometer/subscribers","subscription_url":"https://api.github.com/repos/Feuerlabs/exometer/subscription","commits_url":"https://api.github.com/repos/Feuerlabs/exometer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Feuerlabs/exometer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Feuerlabs/exometer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Feuerlabs/exometer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Feuerlabs/exometer/contents/{+path}","compare_url":"https://api.github.com/repos/Feuerlabs/exometer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Feuerlabs/exometer/merges","archive_url":"https://api.github.com/repos/Feuerlabs/exometer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Feuerlabs/exometer/downloads","issues_url":"https://api.github.com/repos/Feuerlabs/exometer/issues{/number}","pulls_url":"https://api.github.com/repos/Feuerlabs/exometer/pulls{/number}","milestones_url":"https://api.github.com/repos/Feuerlabs/exometer/milestones{/number}","notifications_url":"https://api.github.com/repos/Feuerlabs/exometer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Feuerlabs/exometer/labels{/name}","releases_url":"https://api.github.com/repos/Feuerlabs/exometer/releases{/id}","created_at":"2013-08-04T13:52:37Z","updated_at":"2015-04-02T16:42:04Z","pushed_at":"2015-04-02T17:33:07Z","git_url":"git://github.com/Feuerlabs/exometer.git","ssh_url":"git@github.com:Feuerlabs/exometer.git","clone_url":"https://github.com/Feuerlabs/exometer.git","svn_url":"https://github.com/Feuerlabs/exometer","homepage":null,"size":3592,"stargazers_count":192,"watchers_count":192,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"open_issues_count":8,"forks":43,"open_issues":8,"watchers":192,"default_branch":"master"}},"base":{"label":"Feuerlabs:master","ref":"master","sha":"62b2793e64599ebed5961e38fdc54bd1b0122696","user":{"login":"Feuerlabs","id":1229379,"avatar_url":"https://avatars.githubusercontent.com/u/1229379?v=3","gravatar_id":"","url":"https://api.github.com/users/Feuerlabs","html_url":"https://github.com/Feuerlabs","followers_url":"https://api.github.com/users/Feuerlabs/followers","following_url":"https://api.github.com/users/Feuerlabs/following{/other_user}","gists_url":"https://api.github.com/users/Feuerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/Feuerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Feuerlabs/subscriptions","organizations_url":"https://api.github.com/users/Feuerlabs/orgs","repos_url":"https://api.github.com/users/Feuerlabs/repos","events_url":"https://api.github.com/users/Feuerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/Feuerlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":11879291,"name":"exometer","full_name":"Feuerlabs/exometer","owner":{"login":"Feuerlabs","id":1229379,"avatar_url":"https://avatars.githubusercontent.com/u/1229379?v=3","gravatar_id":"","url":"https://api.github.com/users/Feuerlabs","html_url":"https://github.com/Feuerlabs","followers_url":"https://api.github.com/users/Feuerlabs/followers","following_url":"https://api.github.com/users/Feuerlabs/following{/other_user}","gists_url":"https://api.github.com/users/Feuerlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/Feuerlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Feuerlabs/subscriptions","organizations_url":"https://api.github.com/users/Feuerlabs/orgs","repos_url":"https://api.github.com/users/Feuerlabs/repos","events_url":"https://api.github.com/users/Feuerlabs/events{/privacy}","received_events_url":"https://api.github.com/users/Feuerlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Feuerlabs/exometer","description":"Basic measurement objects and probe behavior","fork":false,"url":"https://api.github.com/repos/Feuerlabs/exometer","forks_url":"https://api.github.com/repos/Feuerlabs/exometer/forks","keys_url":"https://api.github.com/repos/Feuerlabs/exometer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Feuerlabs/exometer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Feuerlabs/exometer/teams","hooks_url":"https://api.github.com/repos/Feuerlabs/exometer/hooks","issue_events_url":"https://api.github.com/repos/Feuerlabs/exometer/issues/events{/number}","events_url":"https://api.github.com/repos/Feuerlabs/exometer/events","assignees_url":"https://api.github.com/repos/Feuerlabs/exometer/assignees{/user}","branches_url":"https://api.github.com/repos/Feuerlabs/exometer/branches{/branch}","tags_url":"https://api.github.com/repos/Feuerlabs/exometer/tags","blobs_url":"https://api.github.com/repos/Feuerlabs/exometer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Feuerlabs/exometer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Feuerlabs/exometer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Feuerlabs/exometer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Feuerlabs/exometer/statuses/{sha}","languages_url":"https://api.github.com/repos/Feuerlabs/exometer/languages","stargazers_url":"https://api.github.com/repos/Feuerlabs/exometer/stargazers","contributors_url":"https://api.github.com/repos/Feuerlabs/exometer/contributors","subscribers_url":"https://api.github.com/repos/Feuerlabs/exometer/subscribers","subscription_url":"https://api.github.com/repos/Feuerlabs/exometer/subscription","commits_url":"https://api.github.com/repos/Feuerlabs/exometer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Feuerlabs/exometer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Feuerlabs/exometer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Feuerlabs/exometer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Feuerlabs/exometer/contents/{+path}","compare_url":"https://api.github.com/repos/Feuerlabs/exometer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Feuerlabs/exometer/merges","archive_url":"https://api.github.com/repos/Feuerlabs/exometer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Feuerlabs/exometer/downloads","issues_url":"https://api.github.com/repos/Feuerlabs/exometer/issues{/number}","pulls_url":"https://api.github.com/repos/Feuerlabs/exometer/pulls{/number}","milestones_url":"https://api.github.com/repos/Feuerlabs/exometer/milestones{/number}","notifications_url":"https://api.github.com/repos/Feuerlabs/exometer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Feuerlabs/exometer/labels{/name}","releases_url":"https://api.github.com/repos/Feuerlabs/exometer/releases{/id}","created_at":"2013-08-04T13:52:37Z","updated_at":"2015-04-02T16:42:04Z","pushed_at":"2015-04-02T17:33:07Z","git_url":"git://github.com/Feuerlabs/exometer.git","ssh_url":"git@github.com:Feuerlabs/exometer.git","clone_url":"https://github.com/Feuerlabs/exometer.git","svn_url":"https://github.com/Feuerlabs/exometer","homepage":null,"size":3592,"stargazers_count":192,"watchers_count":192,"language":"Erlang","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"open_issues_count":8,"forks":43,"open_issues":8,"watchers":192,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Feuerlabs/exometer/pulls/133"},"html":{"href":"https://github.com/Feuerlabs/exometer/pull/133"},"issue":{"href":"https://api.github.com/repos/Feuerlabs/exometer/issues/133"},"comments":{"href":"https://api.github.com/repos/Feuerlabs/exometer/issues/133/comments"},"review_comments":{"href":"https://api.github.com/repos/Feuerlabs/exometer/pulls/133/comments"},"review_comment":{"href":"https://api.github.com/repos/Feuerlabs/exometer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Feuerlabs/exometer/pulls/133/commits"},"statuses":{"href":"https://api.github.com/repos/Feuerlabs/exometer/statuses/02c286ebf14450933fbb496e3db299e5f970f1c9"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":13,"deletions":7,"changed_files":1}}