{"action":"created","comment":{"url":"https://api.github.com/repos/prometheus/statsd_exporter/pulls/comments/151074887","pull_request_review_id":76721881,"id":151074887,"diff_hunk":"@@ -1,3 +1,20 @@\n+## v 0.5.0 / 2017-11-14\n+\n+NOTE: This release breaks backward compatibility. `statsd_exporter` now uses\n+a YAML configuration file. You must convert your mappings configuration to\n+the new format when you upgrade.","path":"CHANGELOG.md","position":5,"original_position":5,"commit_id":"143a588871cb4ffdc4e9a1f9aed087c9c26e4372","original_commit_id":"143a588871cb4ffdc4e9a1f9aed087c9c26e4372","user":{"login":"matthiasr","id":131590,"avatar_url":"https://avatars1.githubusercontent.com/u/131590?v=4","gravatar_id":"","url":"https://api.github.com/users/matthiasr","html_url":"https://github.com/matthiasr","followers_url":"https://api.github.com/users/matthiasr/followers","following_url":"https://api.github.com/users/matthiasr/following{/other_user}","gists_url":"https://api.github.com/users/matthiasr/gists{/gist_id}","starred_url":"https://api.github.com/users/matthiasr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthiasr/subscriptions","organizations_url":"https://api.github.com/users/matthiasr/orgs","repos_url":"https://api.github.com/users/matthiasr/repos","events_url":"https://api.github.com/users/matthiasr/events{/privacy}","received_events_url":"https://api.github.com/users/matthiasr/received_events","type":"User","site_admin":false},"body":"Something like:\r\n\r\n\r\nFor example, the configuration\r\n\r\n    test.dispatcher.*.*.*\r\n    name=\"dispatcher_events_total\"\r\n    processor=\"$1\"\r\n    action=\"$2\"\r\n    outcome=\"$3\"\r\n    job=\"test_dispatcher\"\r\n\r\n    *.signup.*.*\r\n    name=\"signup_events_total\"\r\n    provider=\"$2\"\r\n    outcome=\"$3\"\r\n    job=\"${1}_server\"\r\n\r\nnow has the format\r\n\r\n```yaml\r\nmappings:\r\n- match: test.dispatcher.*.*.*\r\n  help: \"The total number of events handled by the dispatcher.\"\r\n  name: \"dispatcher_events_total\"\r\n  labels:\r\n    processor: \"$1\"\r\n    action: \"$2\"\r\n    outcome: \"$3\"\r\n    job: \"test_dispatcher\"\r\n- match: *.signup.*.*\r\n  name: \"signup_events_total\"\r\n  help: \"The total number of signup events.\"\r\n  labels:\r\n    provider: \"$2\"\r\n    outcome: \"$3\"\r\n    job: \"${1}_server\"\r\n```\r\n\r\nThe help field is optional.\r\n\r\nThere is a [tool](https://github.com/bakins/statsd-exporter-convert) available to help with this conversion.","created_at":"2017-11-15T09:37:43Z","updated_at":"2017-11-15T09:37:43Z","html_url":"https://github.com/prometheus/statsd_exporter/pull/108#discussion_r151074887","pull_request_url":"https://api.github.com/repos/prometheus/statsd_exporter/pulls/108","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/prometheus/statsd_exporter/pulls/comments/151074887"},"html":{"href":"https://github.com/prometheus/statsd_exporter/pull/108#discussion_r151074887"},"pull_request":{"href":"https://api.github.com/repos/prometheus/statsd_exporter/pulls/108"}},"in_reply_to_id":150898703},"pull_request":{"url":"https://api.github.com/repos/prometheus/statsd_exporter/pulls/108","id":152546224,"html_url":"https://github.com/prometheus/statsd_exporter/pull/108","diff_url":"https://github.com/prometheus/statsd_exporter/pull/108.diff","patch_url":"https://github.com/prometheus/statsd_exporter/pull/108.patch","issue_url":"https://api.github.com/repos/prometheus/statsd_exporter/issues/108","number":108,"state":"open","locked":false,"title":"Preparation for v0.5.0 release","user":{"login":"bakins","id":205350,"avatar_url":"https://avatars0.githubusercontent.com/u/205350?v=4","gravatar_id":"","url":"https://api.github.com/users/bakins","html_url":"https://github.com/bakins","followers_url":"https://api.github.com/users/bakins/followers","following_url":"https://api.github.com/users/bakins/following{/other_user}","gists_url":"https://api.github.com/users/bakins/gists{/gist_id}","starred_url":"https://api.github.com/users/bakins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakins/subscriptions","organizations_url":"https://api.github.com/users/bakins/orgs","repos_url":"https://api.github.com/users/bakins/repos","events_url":"https://api.github.com/users/bakins/events{/privacy}","received_events_url":"https://api.github.com/users/bakins/received_events","type":"User","site_admin":false},"body":"NOTE: This release breaks backward compatibility. `statsd_exporter` now uses\r\na YAML configuration file. You must convert your mappings configuration to\r\nthe new format when you upgrade.\r\n\r\n* [CHANGE] Use YAML for configuration file\r\n* [BUGFIX] Fix matching empty statsd metric components #105\r\n* [CHANGE] Reduce log levels #92\r\n* [CHANGE] Removed `-statsd.add-suffix` option flag #99\r\n* [IMPROVEMENT] Allow help text to be customized #87\r\n* [IMPROVEMENT] Add support for regex mappers #85\r\n* [BUGFIX] Fixes for crashes with conflicting metric values #72\r\n* [IMPROVEMENT] Add TCP listener support #71\r\n* [IMPROVEMENT] Allow histograms for timer metrics #66\r\n* [IMPROVEMENT] Added support for sampling factor on timing events #28","created_at":"2017-11-14T16:05:52Z","updated_at":"2017-11-15T09:37:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"338ee1f01e274f65f895b82804ab66df229d8572","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/prometheus/statsd_exporter/pulls/108/commits","review_comments_url":"https://api.github.com/repos/prometheus/statsd_exporter/pulls/108/comments","review_comment_url":"https://api.github.com/repos/prometheus/statsd_exporter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/prometheus/statsd_exporter/issues/108/comments","statuses_url":"https://api.github.com/repos/prometheus/statsd_exporter/statuses/143a588871cb4ffdc4e9a1f9aed087c9c26e4372","head":{"label":"bakins:0.5.0-release","ref":"0.5.0-release","sha":"143a588871cb4ffdc4e9a1f9aed087c9c26e4372","user":{"login":"bakins","id":205350,"avatar_url":"https://avatars0.githubusercontent.com/u/205350?v=4","gravatar_id":"","url":"https://api.github.com/users/bakins","html_url":"https://github.com/bakins","followers_url":"https://api.github.com/users/bakins/followers","following_url":"https://api.github.com/users/bakins/following{/other_user}","gists_url":"https://api.github.com/users/bakins/gists{/gist_id}","starred_url":"https://api.github.com/users/bakins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakins/subscriptions","organizations_url":"https://api.github.com/users/bakins/orgs","repos_url":"https://api.github.com/users/bakins/repos","events_url":"https://api.github.com/users/bakins/events{/privacy}","received_events_url":"https://api.github.com/users/bakins/received_events","type":"User","site_admin":false},"repo":{"id":84765490,"name":"statsd_exporter","full_name":"bakins/statsd_exporter","owner":{"login":"bakins","id":205350,"avatar_url":"https://avatars0.githubusercontent.com/u/205350?v=4","gravatar_id":"","url":"https://api.github.com/users/bakins","html_url":"https://github.com/bakins","followers_url":"https://api.github.com/users/bakins/followers","following_url":"https://api.github.com/users/bakins/following{/other_user}","gists_url":"https://api.github.com/users/bakins/gists{/gist_id}","starred_url":"https://api.github.com/users/bakins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bakins/subscriptions","organizations_url":"https://api.github.com/users/bakins/orgs","repos_url":"https://api.github.com/users/bakins/repos","events_url":"https://api.github.com/users/bakins/events{/privacy}","received_events_url":"https://api.github.com/users/bakins/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bakins/statsd_exporter","description":"StatsD to Prometheus metrics exporter","fork":true,"url":"https://api.github.com/repos/bakins/statsd_exporter","forks_url":"https://api.github.com/repos/bakins/statsd_exporter/forks","keys_url":"https://api.github.com/repos/bakins/statsd_exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bakins/statsd_exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bakins/statsd_exporter/teams","hooks_url":"https://api.github.com/repos/bakins/statsd_exporter/hooks","issue_events_url":"https://api.github.com/repos/bakins/statsd_exporter/issues/events{/number}","events_url":"https://api.github.com/repos/bakins/statsd_exporter/events","assignees_url":"https://api.github.com/repos/bakins/statsd_exporter/assignees{/user}","branches_url":"https://api.github.com/repos/bakins/statsd_exporter/branches{/branch}","tags_url":"https://api.github.com/repos/bakins/statsd_exporter/tags","blobs_url":"https://api.github.com/repos/bakins/statsd_exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bakins/statsd_exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bakins/statsd_exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/bakins/statsd_exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bakins/statsd_exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/bakins/statsd_exporter/languages","stargazers_url":"https://api.github.com/repos/bakins/statsd_exporter/stargazers","contributors_url":"https://api.github.com/repos/bakins/statsd_exporter/contributors","subscribers_url":"https://api.github.com/repos/bakins/statsd_exporter/subscribers","subscription_url":"https://api.github.com/repos/bakins/statsd_exporter/subscription","commits_url":"https://api.github.com/repos/bakins/statsd_exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/bakins/statsd_exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/bakins/statsd_exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/bakins/statsd_exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/bakins/statsd_exporter/contents/{+path}","compare_url":"https://api.github.com/repos/bakins/statsd_exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bakins/statsd_exporter/merges","archive_url":"https://api.github.com/repos/bakins/statsd_exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bakins/statsd_exporter/downloads","issues_url":"https://api.github.com/repos/bakins/statsd_exporter/issues{/number}","pulls_url":"https://api.github.com/repos/bakins/statsd_exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/bakins/statsd_exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/bakins/statsd_exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bakins/statsd_exporter/labels{/name}","releases_url":"https://api.github.com/repos/bakins/statsd_exporter/releases{/id}","deployments_url":"https://api.github.com/repos/bakins/statsd_exporter/deployments","created_at":"2017-03-12T23:38:20Z","updated_at":"2017-03-12T23:38:22Z","pushed_at":"2017-11-14T16:05:09Z","git_url":"git://github.com/bakins/statsd_exporter.git","ssh_url":"git@github.com:bakins/statsd_exporter.git","clone_url":"https://github.com/bakins/statsd_exporter.git","svn_url":"https://github.com/bakins/statsd_exporter","homepage":"","size":1479,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"prometheus:master","ref":"master","sha":"520e51e6ff621132f429a245e807ad3751771487","user":{"login":"prometheus","id":3380462,"avatar_url":"https://avatars3.githubusercontent.com/u/3380462?v=4","gravatar_id":"","url":"https://api.github.com/users/prometheus","html_url":"https://github.com/prometheus","followers_url":"https://api.github.com/users/prometheus/followers","following_url":"https://api.github.com/users/prometheus/following{/other_user}","gists_url":"https://api.github.com/users/prometheus/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheus/subscriptions","organizations_url":"https://api.github.com/users/prometheus/orgs","repos_url":"https://api.github.com/users/prometheus/repos","events_url":"https://api.github.com/users/prometheus/events{/privacy}","received_events_url":"https://api.github.com/users/prometheus/received_events","type":"Organization","site_admin":false},"repo":{"id":11129115,"name":"statsd_exporter","full_name":"prometheus/statsd_exporter","owner":{"login":"prometheus","id":3380462,"avatar_url":"https://avatars3.githubusercontent.com/u/3380462?v=4","gravatar_id":"","url":"https://api.github.com/users/prometheus","html_url":"https://github.com/prometheus","followers_url":"https://api.github.com/users/prometheus/followers","following_url":"https://api.github.com/users/prometheus/following{/other_user}","gists_url":"https://api.github.com/users/prometheus/gists{/gist_id}","starred_url":"https://api.github.com/users/prometheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prometheus/subscriptions","organizations_url":"https://api.github.com/users/prometheus/orgs","repos_url":"https://api.github.com/users/prometheus/repos","events_url":"https://api.github.com/users/prometheus/events{/privacy}","received_events_url":"https://api.github.com/users/prometheus/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/prometheus/statsd_exporter","description":"StatsD to Prometheus metrics exporter","fork":false,"url":"https://api.github.com/repos/prometheus/statsd_exporter","forks_url":"https://api.github.com/repos/prometheus/statsd_exporter/forks","keys_url":"https://api.github.com/repos/prometheus/statsd_exporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prometheus/statsd_exporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prometheus/statsd_exporter/teams","hooks_url":"https://api.github.com/repos/prometheus/statsd_exporter/hooks","issue_events_url":"https://api.github.com/repos/prometheus/statsd_exporter/issues/events{/number}","events_url":"https://api.github.com/repos/prometheus/statsd_exporter/events","assignees_url":"https://api.github.com/repos/prometheus/statsd_exporter/assignees{/user}","branches_url":"https://api.github.com/repos/prometheus/statsd_exporter/branches{/branch}","tags_url":"https://api.github.com/repos/prometheus/statsd_exporter/tags","blobs_url":"https://api.github.com/repos/prometheus/statsd_exporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prometheus/statsd_exporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prometheus/statsd_exporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/prometheus/statsd_exporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prometheus/statsd_exporter/statuses/{sha}","languages_url":"https://api.github.com/repos/prometheus/statsd_exporter/languages","stargazers_url":"https://api.github.com/repos/prometheus/statsd_exporter/stargazers","contributors_url":"https://api.github.com/repos/prometheus/statsd_exporter/contributors","subscribers_url":"https://api.github.com/repos/prometheus/statsd_exporter/subscribers","subscription_url":"https://api.github.com/repos/prometheus/statsd_exporter/subscription","commits_url":"https://api.github.com/repos/prometheus/statsd_exporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/prometheus/statsd_exporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/prometheus/statsd_exporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/prometheus/statsd_exporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/prometheus/statsd_exporter/contents/{+path}","compare_url":"https://api.github.com/repos/prometheus/statsd_exporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prometheus/statsd_exporter/merges","archive_url":"https://api.github.com/repos/prometheus/statsd_exporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prometheus/statsd_exporter/downloads","issues_url":"https://api.github.com/repos/prometheus/statsd_exporter/issues{/number}","pulls_url":"https://api.github.com/repos/prometheus/statsd_exporter/pulls{/number}","milestones_url":"https://api.github.com/repos/prometheus/statsd_exporter/milestones{/number}","notifications_url":"https://api.github.com/repos/prometheus/statsd_exporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prometheus/statsd_exporter/labels{/name}","releases_url":"https://api.github.com/repos/prometheus/statsd_exporter/releases{/id}","deployments_url":"https://api.github.com/repos/prometheus/statsd_exporter/deployments","created_at":"2013-07-02T16:14:24Z","updated_at":"2017-11-10T08:51:25Z","pushed_at":"2017-11-15T08:42:47Z","git_url":"git://github.com/prometheus/statsd_exporter.git","ssh_url":"git@github.com:prometheus/statsd_exporter.git","clone_url":"https://github.com/prometheus/statsd_exporter.git","svn_url":"https://github.com/prometheus/statsd_exporter","homepage":"","size":1479,"stargazers_count":147,"watchers_count":147,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":41,"mirror_url":null,"archived":false,"open_issues_count":15,"forks":41,"open_issues":15,"watchers":147,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/prometheus/statsd_exporter/pulls/108"},"html":{"href":"https://github.com/prometheus/statsd_exporter/pull/108"},"issue":{"href":"https://api.github.com/repos/prometheus/statsd_exporter/issues/108"},"comments":{"href":"https://api.github.com/repos/prometheus/statsd_exporter/issues/108/comments"},"review_comments":{"href":"https://api.github.com/repos/prometheus/statsd_exporter/pulls/108/comments"},"review_comment":{"href":"https://api.github.com/repos/prometheus/statsd_exporter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/prometheus/statsd_exporter/pulls/108/commits"},"statuses":{"href":"https://api.github.com/repos/prometheus/statsd_exporter/statuses/143a588871cb4ffdc4e9a1f9aed087c9c26e4372"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"matthiasr"}}