{"action":"created","issue":{"url":"https://api.github.com/repos/Yelp/fullerite/issues/158","labels_url":"https://api.github.com/repos/Yelp/fullerite/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/Yelp/fullerite/issues/158/comments","events_url":"https://api.github.com/repos/Yelp/fullerite/issues/158/events","html_url":"https://github.com/Yelp/fullerite/pull/158","id":125642827,"number":158,"title":"Batch up all metric of one colelctor to be in one send","user":{"login":"tsheasha","id":941429,"avatar_url":"https://avatars.githubusercontent.com/u/941429?v=3","gravatar_id":"","url":"https://api.github.com/users/tsheasha","html_url":"https://github.com/tsheasha","followers_url":"https://api.github.com/users/tsheasha/followers","following_url":"https://api.github.com/users/tsheasha/following{/other_user}","gists_url":"https://api.github.com/users/tsheasha/gists{/gist_id}","starred_url":"https://api.github.com/users/tsheasha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsheasha/subscriptions","organizations_url":"https://api.github.com/users/tsheasha/orgs","repos_url":"https://api.github.com/users/tsheasha/repos","events_url":"https://api.github.com/users/tsheasha/events{/privacy}","received_events_url":"https://api.github.com/users/tsheasha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-08T16:22:31Z","updated_at":"2016-01-08T17:08:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Yelp/fullerite/pulls/158","html_url":"https://github.com/Yelp/fullerite/pull/158","diff_url":"https://github.com/Yelp/fullerite/pull/158.diff","patch_url":"https://github.com/Yelp/fullerite/pull/158.patch"},"body":"This will help avoid lots of kernel to use switches.\r\nInspired from @tiras-j"},"comment":{"url":"https://api.github.com/repos/Yelp/fullerite/issues/comments/170058674","html_url":"https://github.com/Yelp/fullerite/pull/158#issuecomment-170058674","issue_url":"https://api.github.com/repos/Yelp/fullerite/issues/158","id":170058674,"user":{"login":"tsheasha","id":941429,"avatar_url":"https://avatars.githubusercontent.com/u/941429?v=3","gravatar_id":"","url":"https://api.github.com/users/tsheasha","html_url":"https://github.com/tsheasha","followers_url":"https://api.github.com/users/tsheasha/followers","following_url":"https://api.github.com/users/tsheasha/following{/other_user}","gists_url":"https://api.github.com/users/tsheasha/gists{/gist_id}","starred_url":"https://api.github.com/users/tsheasha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsheasha/subscriptions","organizations_url":"https://api.github.com/users/tsheasha/orgs","repos_url":"https://api.github.com/users/tsheasha/repos","events_url":"https://api.github.com/users/tsheasha/events{/privacy}","received_events_url":"https://api.github.com/users/tsheasha/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T17:08:03Z","updated_at":"2016-01-08T17:08:03Z","body":"@gnufied as this commit message states I am batching per *collector* since one collector produces one set of metrics each collection. What that means is we send out the entire collection in one batch instead of sending one metric at a time each time we call publish. So to answer your question , Yes it makes a lot of sense.\r\n\r\nAs for the collection interval I do not see how that is relevant to this commit. Please explain"}}