{"action":"created","issue":{"url":"https://api.github.com/repos/prometheus/statsd_exporter/issues/33","repository_url":"https://api.github.com/repos/prometheus/statsd_exporter","labels_url":"https://api.github.com/repos/prometheus/statsd_exporter/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/prometheus/statsd_exporter/issues/33/comments","events_url":"https://api.github.com/repos/prometheus/statsd_exporter/issues/33/events","html_url":"https://github.com/prometheus/statsd_exporter/pull/33","id":144439396,"number":33,"title":"Don't panic when negative number counter is submitted.","user":{"login":"klobucar","id":223349,"avatar_url":"https://avatars.githubusercontent.com/u/223349?v=3","gravatar_id":"","url":"https://api.github.com/users/klobucar","html_url":"https://github.com/klobucar","followers_url":"https://api.github.com/users/klobucar/followers","following_url":"https://api.github.com/users/klobucar/following{/other_user}","gists_url":"https://api.github.com/users/klobucar/gists{/gist_id}","starred_url":"https://api.github.com/users/klobucar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klobucar/subscriptions","organizations_url":"https://api.github.com/users/klobucar/orgs","repos_url":"https://api.github.com/users/klobucar/repos","events_url":"https://api.github.com/users/klobucar/events{/privacy}","received_events_url":"https://api.github.com/users/klobucar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-30T02:07:51Z","updated_at":"2016-03-30T02:08:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/prometheus/statsd_exporter/pulls/33","html_url":"https://github.com/prometheus/statsd_exporter/pull/33","diff_url":"https://github.com/prometheus/statsd_exporter/pull/33.diff","patch_url":"https://github.com/prometheus/statsd_exporter/pull/33.patch"},"body":"Instead now we will send a warning message to the logs\r\nand continue on with our day.\r\n\r\nAlso a guard has been added when we detect a channel has been\r\nclosed and the `Exporter.Listen` function will return out of\r\nits loop vs always running. When a channel is closed there will\r\nbe no more data to consume, so this seems correct. It also allows\r\nfor a test to be written for the panic.\r\n\r\n@juliusv @SuperQ "},"comment":{"url":"https://api.github.com/repos/prometheus/statsd_exporter/issues/comments/203192339","html_url":"https://github.com/prometheus/statsd_exporter/pull/33#issuecomment-203192339","issue_url":"https://api.github.com/repos/prometheus/statsd_exporter/issues/33","id":203192339,"user":{"login":"klobucar","id":223349,"avatar_url":"https://avatars.githubusercontent.com/u/223349?v=3","gravatar_id":"","url":"https://api.github.com/users/klobucar","html_url":"https://github.com/klobucar","followers_url":"https://api.github.com/users/klobucar/followers","following_url":"https://api.github.com/users/klobucar/following{/other_user}","gists_url":"https://api.github.com/users/klobucar/gists{/gist_id}","starred_url":"https://api.github.com/users/klobucar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klobucar/subscriptions","organizations_url":"https://api.github.com/users/klobucar/orgs","repos_url":"https://api.github.com/users/klobucar/repos","events_url":"https://api.github.com/users/klobucar/events{/privacy}","received_events_url":"https://api.github.com/users/klobucar/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T02:08:25Z","updated_at":"2016-03-30T02:08:25Z","body":"This would fix #11 "}}