{"action":"created","comment":{"url":"https://api.github.com/repos/Stackdriver/collectd/pulls/comments/46159899","id":46159899,"diff_hunk":"@@ -327,7 +327,8 @@ static int wg_curl_get_or_post(char *response_buffer,\n \n   write_ctx.data[0] = 0;\n   if (write_ctx.size < 2) {\n-    WARNING(\"write_gcm: The buffer overflowed.\");\n+    WARNING(\"write_gcm: The buffer overflowed. Data is %s\",","path":"src/write_gcm.c","position":5,"original_position":5,"commit_id":"18ea5df06cda11adcaadd5423c3483bf1d48f59a","original_commit_id":"18ea5df06cda11adcaadd5423c3483bf1d48f59a","user":{"login":"katzj","id":141657,"avatar_url":"https://avatars.githubusercontent.com/u/141657?v=3","gravatar_id":"","url":"https://api.github.com/users/katzj","html_url":"https://github.com/katzj","followers_url":"https://api.github.com/users/katzj/followers","following_url":"https://api.github.com/users/katzj/following{/other_user}","gists_url":"https://api.github.com/users/katzj/gists{/gist_id}","starred_url":"https://api.github.com/users/katzj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katzj/subscriptions","organizations_url":"https://api.github.com/users/katzj/orgs","repos_url":"https://api.github.com/users/katzj/repos","events_url":"https://api.github.com/users/katzj/events{/privacy}","received_events_url":"https://api.github.com/users/katzj/received_events","type":"User","site_admin":false},"body":"The usual thing is to just ensure that the messages are the same and then syslog will handle suppressing things down and saying \"X has happened 1000 times\" (I have this in my logs from the failing to write problem).  One approach I've done is to have the higher level be a generic followed by more details as a DEBUG log message","created_at":"2015-11-30T15:48:52Z","updated_at":"2015-11-30T15:48:52Z","html_url":"https://github.com/Stackdriver/collectd/pull/36#discussion_r46159899","pull_request_url":"https://api.github.com/repos/Stackdriver/collectd/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/Stackdriver/collectd/pulls/comments/46159899"},"html":{"href":"https://github.com/Stackdriver/collectd/pull/36#discussion_r46159899"},"pull_request":{"href":"https://api.github.com/repos/Stackdriver/collectd/pulls/36"}}},"pull_request":{"url":"https://api.github.com/repos/Stackdriver/collectd/pulls/36","id":51845821,"html_url":"https://github.com/Stackdriver/collectd/pull/36","diff_url":"https://github.com/Stackdriver/collectd/pull/36.diff","patch_url":"https://github.com/Stackdriver/collectd/pull/36.patch","issue_url":"https://api.github.com/repos/Stackdriver/collectd/issues/36","number":36,"state":"open","locked":false,"title":"Miscellaneous small cleanups.","user":{"login":"coreykosak","id":9341882,"avatar_url":"https://avatars.githubusercontent.com/u/9341882?v=3","gravatar_id":"","url":"https://api.github.com/users/coreykosak","html_url":"https://github.com/coreykosak","followers_url":"https://api.github.com/users/coreykosak/followers","following_url":"https://api.github.com/users/coreykosak/following{/other_user}","gists_url":"https://api.github.com/users/coreykosak/gists{/gist_id}","starred_url":"https://api.github.com/users/coreykosak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreykosak/subscriptions","organizations_url":"https://api.github.com/users/coreykosak/orgs","repos_url":"https://api.github.com/users/coreykosak/repos","events_url":"https://api.github.com/users/coreykosak/events{/privacy}","received_events_url":"https://api.github.com/users/coreykosak/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-25T21:03:40Z","updated_at":"2015-11-30T15:48:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"733506adeb73c77954b84cb89bc2bc829dc42577","assignee":{"login":"katzj","id":141657,"avatar_url":"https://avatars.githubusercontent.com/u/141657?v=3","gravatar_id":"","url":"https://api.github.com/users/katzj","html_url":"https://github.com/katzj","followers_url":"https://api.github.com/users/katzj/followers","following_url":"https://api.github.com/users/katzj/following{/other_user}","gists_url":"https://api.github.com/users/katzj/gists{/gist_id}","starred_url":"https://api.github.com/users/katzj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katzj/subscriptions","organizations_url":"https://api.github.com/users/katzj/orgs","repos_url":"https://api.github.com/users/katzj/repos","events_url":"https://api.github.com/users/katzj/events{/privacy}","received_events_url":"https://api.github.com/users/katzj/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Stackdriver/collectd/pulls/36/commits","review_comments_url":"https://api.github.com/repos/Stackdriver/collectd/pulls/36/comments","review_comment_url":"https://api.github.com/repos/Stackdriver/collectd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Stackdriver/collectd/issues/36/comments","statuses_url":"https://api.github.com/repos/Stackdriver/collectd/statuses/18ea5df06cda11adcaadd5423c3483bf1d48f59a","head":{"label":"Stackdriver:kosak-misc-cleanups","ref":"kosak-misc-cleanups","sha":"18ea5df06cda11adcaadd5423c3483bf1d48f59a","user":{"login":"Stackdriver","id":2104369,"avatar_url":"https://avatars.githubusercontent.com/u/2104369?v=3","gravatar_id":"","url":"https://api.github.com/users/Stackdriver","html_url":"https://github.com/Stackdriver","followers_url":"https://api.github.com/users/Stackdriver/followers","following_url":"https://api.github.com/users/Stackdriver/following{/other_user}","gists_url":"https://api.github.com/users/Stackdriver/gists{/gist_id}","starred_url":"https://api.github.com/users/Stackdriver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stackdriver/subscriptions","organizations_url":"https://api.github.com/users/Stackdriver/orgs","repos_url":"https://api.github.com/users/Stackdriver/repos","events_url":"https://api.github.com/users/Stackdriver/events{/privacy}","received_events_url":"https://api.github.com/users/Stackdriver/received_events","type":"Organization","site_admin":false},"repo":{"id":11033551,"name":"collectd","full_name":"Stackdriver/collectd","owner":{"login":"Stackdriver","id":2104369,"avatar_url":"https://avatars.githubusercontent.com/u/2104369?v=3","gravatar_id":"","url":"https://api.github.com/users/Stackdriver","html_url":"https://github.com/Stackdriver","followers_url":"https://api.github.com/users/Stackdriver/followers","following_url":"https://api.github.com/users/Stackdriver/following{/other_user}","gists_url":"https://api.github.com/users/Stackdriver/gists{/gist_id}","starred_url":"https://api.github.com/users/Stackdriver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stackdriver/subscriptions","organizations_url":"https://api.github.com/users/Stackdriver/orgs","repos_url":"https://api.github.com/users/Stackdriver/repos","events_url":"https://api.github.com/users/Stackdriver/events{/privacy}","received_events_url":"https://api.github.com/users/Stackdriver/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Stackdriver/collectd","description":"The system statistics collection daemon. Mirror of the canonical repository (updated hourly), but feel free to send Pull Requests!","fork":true,"url":"https://api.github.com/repos/Stackdriver/collectd","forks_url":"https://api.github.com/repos/Stackdriver/collectd/forks","keys_url":"https://api.github.com/repos/Stackdriver/collectd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Stackdriver/collectd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Stackdriver/collectd/teams","hooks_url":"https://api.github.com/repos/Stackdriver/collectd/hooks","issue_events_url":"https://api.github.com/repos/Stackdriver/collectd/issues/events{/number}","events_url":"https://api.github.com/repos/Stackdriver/collectd/events","assignees_url":"https://api.github.com/repos/Stackdriver/collectd/assignees{/user}","branches_url":"https://api.github.com/repos/Stackdriver/collectd/branches{/branch}","tags_url":"https://api.github.com/repos/Stackdriver/collectd/tags","blobs_url":"https://api.github.com/repos/Stackdriver/collectd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Stackdriver/collectd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Stackdriver/collectd/git/refs{/sha}","trees_url":"https://api.github.com/repos/Stackdriver/collectd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Stackdriver/collectd/statuses/{sha}","languages_url":"https://api.github.com/repos/Stackdriver/collectd/languages","stargazers_url":"https://api.github.com/repos/Stackdriver/collectd/stargazers","contributors_url":"https://api.github.com/repos/Stackdriver/collectd/contributors","subscribers_url":"https://api.github.com/repos/Stackdriver/collectd/subscribers","subscription_url":"https://api.github.com/repos/Stackdriver/collectd/subscription","commits_url":"https://api.github.com/repos/Stackdriver/collectd/commits{/sha}","git_commits_url":"https://api.github.com/repos/Stackdriver/collectd/git/commits{/sha}","comments_url":"https://api.github.com/repos/Stackdriver/collectd/comments{/number}","issue_comment_url":"https://api.github.com/repos/Stackdriver/collectd/issues/comments{/number}","contents_url":"https://api.github.com/repos/Stackdriver/collectd/contents/{+path}","compare_url":"https://api.github.com/repos/Stackdriver/collectd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Stackdriver/collectd/merges","archive_url":"https://api.github.com/repos/Stackdriver/collectd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Stackdriver/collectd/downloads","issues_url":"https://api.github.com/repos/Stackdriver/collectd/issues{/number}","pulls_url":"https://api.github.com/repos/Stackdriver/collectd/pulls{/number}","milestones_url":"https://api.github.com/repos/Stackdriver/collectd/milestones{/number}","notifications_url":"https://api.github.com/repos/Stackdriver/collectd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Stackdriver/collectd/labels{/name}","releases_url":"https://api.github.com/repos/Stackdriver/collectd/releases{/id}","created_at":"2013-06-28T17:55:42Z","updated_at":"2015-10-29T14:28:53Z","pushed_at":"2015-11-30T14:47:05Z","git_url":"git://github.com/Stackdriver/collectd.git","ssh_url":"git@github.com:Stackdriver/collectd.git","clone_url":"https://github.com/Stackdriver/collectd.git","svn_url":"https://github.com/Stackdriver/collectd","homepage":"http://collectd.org/","size":23294,"stargazers_count":10,"watchers_count":10,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":10,"default_branch":"stackdriver-agent-5.5.0"}},"base":{"label":"Stackdriver:stackdriver-agent-5.5.0","ref":"stackdriver-agent-5.5.0","sha":"d32f064997cd560eaa72e8eadf3d5c7fd4a259cd","user":{"login":"Stackdriver","id":2104369,"avatar_url":"https://avatars.githubusercontent.com/u/2104369?v=3","gravatar_id":"","url":"https://api.github.com/users/Stackdriver","html_url":"https://github.com/Stackdriver","followers_url":"https://api.github.com/users/Stackdriver/followers","following_url":"https://api.github.com/users/Stackdriver/following{/other_user}","gists_url":"https://api.github.com/users/Stackdriver/gists{/gist_id}","starred_url":"https://api.github.com/users/Stackdriver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stackdriver/subscriptions","organizations_url":"https://api.github.com/users/Stackdriver/orgs","repos_url":"https://api.github.com/users/Stackdriver/repos","events_url":"https://api.github.com/users/Stackdriver/events{/privacy}","received_events_url":"https://api.github.com/users/Stackdriver/received_events","type":"Organization","site_admin":false},"repo":{"id":11033551,"name":"collectd","full_name":"Stackdriver/collectd","owner":{"login":"Stackdriver","id":2104369,"avatar_url":"https://avatars.githubusercontent.com/u/2104369?v=3","gravatar_id":"","url":"https://api.github.com/users/Stackdriver","html_url":"https://github.com/Stackdriver","followers_url":"https://api.github.com/users/Stackdriver/followers","following_url":"https://api.github.com/users/Stackdriver/following{/other_user}","gists_url":"https://api.github.com/users/Stackdriver/gists{/gist_id}","starred_url":"https://api.github.com/users/Stackdriver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stackdriver/subscriptions","organizations_url":"https://api.github.com/users/Stackdriver/orgs","repos_url":"https://api.github.com/users/Stackdriver/repos","events_url":"https://api.github.com/users/Stackdriver/events{/privacy}","received_events_url":"https://api.github.com/users/Stackdriver/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Stackdriver/collectd","description":"The system statistics collection daemon. Mirror of the canonical repository (updated hourly), but feel free to send Pull Requests!","fork":true,"url":"https://api.github.com/repos/Stackdriver/collectd","forks_url":"https://api.github.com/repos/Stackdriver/collectd/forks","keys_url":"https://api.github.com/repos/Stackdriver/collectd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Stackdriver/collectd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Stackdriver/collectd/teams","hooks_url":"https://api.github.com/repos/Stackdriver/collectd/hooks","issue_events_url":"https://api.github.com/repos/Stackdriver/collectd/issues/events{/number}","events_url":"https://api.github.com/repos/Stackdriver/collectd/events","assignees_url":"https://api.github.com/repos/Stackdriver/collectd/assignees{/user}","branches_url":"https://api.github.com/repos/Stackdriver/collectd/branches{/branch}","tags_url":"https://api.github.com/repos/Stackdriver/collectd/tags","blobs_url":"https://api.github.com/repos/Stackdriver/collectd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Stackdriver/collectd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Stackdriver/collectd/git/refs{/sha}","trees_url":"https://api.github.com/repos/Stackdriver/collectd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Stackdriver/collectd/statuses/{sha}","languages_url":"https://api.github.com/repos/Stackdriver/collectd/languages","stargazers_url":"https://api.github.com/repos/Stackdriver/collectd/stargazers","contributors_url":"https://api.github.com/repos/Stackdriver/collectd/contributors","subscribers_url":"https://api.github.com/repos/Stackdriver/collectd/subscribers","subscription_url":"https://api.github.com/repos/Stackdriver/collectd/subscription","commits_url":"https://api.github.com/repos/Stackdriver/collectd/commits{/sha}","git_commits_url":"https://api.github.com/repos/Stackdriver/collectd/git/commits{/sha}","comments_url":"https://api.github.com/repos/Stackdriver/collectd/comments{/number}","issue_comment_url":"https://api.github.com/repos/Stackdriver/collectd/issues/comments{/number}","contents_url":"https://api.github.com/repos/Stackdriver/collectd/contents/{+path}","compare_url":"https://api.github.com/repos/Stackdriver/collectd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Stackdriver/collectd/merges","archive_url":"https://api.github.com/repos/Stackdriver/collectd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Stackdriver/collectd/downloads","issues_url":"https://api.github.com/repos/Stackdriver/collectd/issues{/number}","pulls_url":"https://api.github.com/repos/Stackdriver/collectd/pulls{/number}","milestones_url":"https://api.github.com/repos/Stackdriver/collectd/milestones{/number}","notifications_url":"https://api.github.com/repos/Stackdriver/collectd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Stackdriver/collectd/labels{/name}","releases_url":"https://api.github.com/repos/Stackdriver/collectd/releases{/id}","created_at":"2013-06-28T17:55:42Z","updated_at":"2015-10-29T14:28:53Z","pushed_at":"2015-11-30T14:47:05Z","git_url":"git://github.com/Stackdriver/collectd.git","ssh_url":"git@github.com:Stackdriver/collectd.git","clone_url":"https://github.com/Stackdriver/collectd.git","svn_url":"https://github.com/Stackdriver/collectd","homepage":"http://collectd.org/","size":23294,"stargazers_count":10,"watchers_count":10,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":10,"default_branch":"stackdriver-agent-5.5.0"}},"_links":{"self":{"href":"https://api.github.com/repos/Stackdriver/collectd/pulls/36"},"html":{"href":"https://github.com/Stackdriver/collectd/pull/36"},"issue":{"href":"https://api.github.com/repos/Stackdriver/collectd/issues/36"},"comments":{"href":"https://api.github.com/repos/Stackdriver/collectd/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/Stackdriver/collectd/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/Stackdriver/collectd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Stackdriver/collectd/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/Stackdriver/collectd/statuses/18ea5df06cda11adcaadd5423c3483bf1d48f59a"}}}}