{"action":"opened","issue":{"url":"https://api.github.com/repos/robrwo/Net-Statsd-Tiny/issues/1","repository_url":"https://api.github.com/repos/robrwo/Net-Statsd-Tiny","labels_url":"https://api.github.com/repos/robrwo/Net-Statsd-Tiny/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/robrwo/Net-Statsd-Tiny/issues/1/comments","events_url":"https://api.github.com/repos/robrwo/Net-Statsd-Tiny/issues/1/events","html_url":"https://github.com/robrwo/Net-Statsd-Tiny/issues/1","id":294488506,"number":1,"title":"Add soft sample rates","user":{"login":"robrwo","id":294409,"avatar_url":"https://avatars1.githubusercontent.com/u/294409?v=4","gravatar_id":"","url":"https://api.github.com/users/robrwo","html_url":"https://github.com/robrwo","followers_url":"https://api.github.com/users/robrwo/followers","following_url":"https://api.github.com/users/robrwo/following{/other_user}","gists_url":"https://api.github.com/users/robrwo/gists{/gist_id}","starred_url":"https://api.github.com/users/robrwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robrwo/subscriptions","organizations_url":"https://api.github.com/users/robrwo/orgs","repos_url":"https://api.github.com/users/robrwo/repos","events_url":"https://api.github.com/users/robrwo/events{/privacy}","received_events_url":"https://api.github.com/users/robrwo/received_events","type":"User","site_admin":false},"labels":[{"id":825372225,"url":"https://api.github.com/repos/robrwo/Net-Statsd-Tiny/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":825372229,"url":"https://api.github.com/repos/robrwo/Net-Statsd-Tiny/labels/question","name":"question","color":"d876e3","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-05T18:05:36Z","updated_at":"2018-02-05T18:05:36Z","closed_at":null,"author_association":"OWNER","body":"I am considering adding the ability of \"soft\" sample rates, e.g.\r\n```perl\r\n$stats->increment( { soft_rate => 0.5 }, 'site.hits' );\r\n```\r\nI'm unsure how in demand this feature it. While I wouldn't be hard to implement, I think it may be an unnecessary complication, especially if it's used with the autoflush option disabled.\r\n"}}
{"actor":{"display_login":"robrwo"}}