{"action":"created","comment":{"url":"https://api.github.com/repos/influxdata/telegraf/pulls/comments/60143738","id":60143738,"diff_hunk":"@@ -68,8 +79,16 @@ func (r *Riemann) Write(metrics []telegraf.Metric) error {\n \n \tvar senderr = r.client.SendMulti(events)\n \tif senderr != nil {","path":"plugins/outputs/riemann/riemann.go","position":45,"original_position":45,"commit_id":"c237e6a3c057c9805d1925a8cde551345ebd3d47","original_commit_id":"288b8e0a683c226b7dd73b194557c4efd665e7e6","user":{"login":"echupriyanov","id":2070616,"avatar_url":"https://avatars.githubusercontent.com/u/2070616?v=3","gravatar_id":"","url":"https://api.github.com/users/echupriyanov","html_url":"https://github.com/echupriyanov","followers_url":"https://api.github.com/users/echupriyanov/followers","following_url":"https://api.github.com/users/echupriyanov/following{/other_user}","gists_url":"https://api.github.com/users/echupriyanov/gists{/gist_id}","starred_url":"https://api.github.com/users/echupriyanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echupriyanov/subscriptions","organizations_url":"https://api.github.com/users/echupriyanov/orgs","repos_url":"https://api.github.com/users/echupriyanov/repos","events_url":"https://api.github.com/users/echupriyanov/events{/privacy}","received_events_url":"https://api.github.com/users/echupriyanov/received_events","type":"User","site_admin":false},"body":"Yes. But will Telegraf try to re-attempt to send metrics again? Or they would be dropped if send fails?\r\n\r\nAnyway, I removed immediate reconnection attempt on send failure.","created_at":"2016-04-18T22:13:29Z","updated_at":"2016-04-18T22:13:29Z","html_url":"https://github.com/influxdata/telegraf/pull/1013#discussion_r60143738","pull_request_url":"https://api.github.com/repos/influxdata/telegraf/pulls/1013","_links":{"self":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/comments/60143738"},"html":{"href":"https://github.com/influxdata/telegraf/pull/1013#discussion_r60143738"},"pull_request":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/1013"}}},"pull_request":{"url":"https://api.github.com/repos/influxdata/telegraf/pulls/1013","id":66195740,"html_url":"https://github.com/influxdata/telegraf/pull/1013","diff_url":"https://github.com/influxdata/telegraf/pull/1013.diff","patch_url":"https://github.com/influxdata/telegraf/pull/1013.patch","issue_url":"https://api.github.com/repos/influxdata/telegraf/issues/1013","number":1013,"state":"open","locked":false,"title":"Try to reconnect to Riemann if metrics upload failed.","user":{"login":"echupriyanov","id":2070616,"avatar_url":"https://avatars.githubusercontent.com/u/2070616?v=3","gravatar_id":"","url":"https://api.github.com/users/echupriyanov","html_url":"https://github.com/echupriyanov","followers_url":"https://api.github.com/users/echupriyanov/followers","following_url":"https://api.github.com/users/echupriyanov/following{/other_user}","gists_url":"https://api.github.com/users/echupriyanov/gists{/gist_id}","starred_url":"https://api.github.com/users/echupriyanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echupriyanov/subscriptions","organizations_url":"https://api.github.com/users/echupriyanov/orgs","repos_url":"https://api.github.com/users/echupriyanov/repos","events_url":"https://api.github.com/users/echupriyanov/events{/privacy}","received_events_url":"https://api.github.com/users/echupriyanov/received_events","type":"User","site_admin":false},"body":"Signed-off-by: Eugene Chupriyanov <tchu@tchu.ru>","created_at":"2016-04-12T17:24:18Z","updated_at":"2016-04-18T22:13:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b5eba15416e216640e7a7da4e5c120f36d49f626","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/influxdata/telegraf/pulls/1013/commits","review_comments_url":"https://api.github.com/repos/influxdata/telegraf/pulls/1013/comments","review_comment_url":"https://api.github.com/repos/influxdata/telegraf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/influxdata/telegraf/issues/1013/comments","statuses_url":"https://api.github.com/repos/influxdata/telegraf/statuses/c237e6a3c057c9805d1925a8cde551345ebd3d47","head":{"label":"echupriyanov:riemann_improved","ref":"riemann_improved","sha":"c237e6a3c057c9805d1925a8cde551345ebd3d47","user":{"login":"echupriyanov","id":2070616,"avatar_url":"https://avatars.githubusercontent.com/u/2070616?v=3","gravatar_id":"","url":"https://api.github.com/users/echupriyanov","html_url":"https://github.com/echupriyanov","followers_url":"https://api.github.com/users/echupriyanov/followers","following_url":"https://api.github.com/users/echupriyanov/following{/other_user}","gists_url":"https://api.github.com/users/echupriyanov/gists{/gist_id}","starred_url":"https://api.github.com/users/echupriyanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echupriyanov/subscriptions","organizations_url":"https://api.github.com/users/echupriyanov/orgs","repos_url":"https://api.github.com/users/echupriyanov/repos","events_url":"https://api.github.com/users/echupriyanov/events{/privacy}","received_events_url":"https://api.github.com/users/echupriyanov/received_events","type":"User","site_admin":false},"repo":{"id":56071694,"name":"telegraf","full_name":"echupriyanov/telegraf","owner":{"login":"echupriyanov","id":2070616,"avatar_url":"https://avatars.githubusercontent.com/u/2070616?v=3","gravatar_id":"","url":"https://api.github.com/users/echupriyanov","html_url":"https://github.com/echupriyanov","followers_url":"https://api.github.com/users/echupriyanov/followers","following_url":"https://api.github.com/users/echupriyanov/following{/other_user}","gists_url":"https://api.github.com/users/echupriyanov/gists{/gist_id}","starred_url":"https://api.github.com/users/echupriyanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echupriyanov/subscriptions","organizations_url":"https://api.github.com/users/echupriyanov/orgs","repos_url":"https://api.github.com/users/echupriyanov/repos","events_url":"https://api.github.com/users/echupriyanov/events{/privacy}","received_events_url":"https://api.github.com/users/echupriyanov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/echupriyanov/telegraf","description":"The plugin-driven server agent for collecting & reporting metrics.","fork":true,"url":"https://api.github.com/repos/echupriyanov/telegraf","forks_url":"https://api.github.com/repos/echupriyanov/telegraf/forks","keys_url":"https://api.github.com/repos/echupriyanov/telegraf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/echupriyanov/telegraf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/echupriyanov/telegraf/teams","hooks_url":"https://api.github.com/repos/echupriyanov/telegraf/hooks","issue_events_url":"https://api.github.com/repos/echupriyanov/telegraf/issues/events{/number}","events_url":"https://api.github.com/repos/echupriyanov/telegraf/events","assignees_url":"https://api.github.com/repos/echupriyanov/telegraf/assignees{/user}","branches_url":"https://api.github.com/repos/echupriyanov/telegraf/branches{/branch}","tags_url":"https://api.github.com/repos/echupriyanov/telegraf/tags","blobs_url":"https://api.github.com/repos/echupriyanov/telegraf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/echupriyanov/telegraf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/echupriyanov/telegraf/git/refs{/sha}","trees_url":"https://api.github.com/repos/echupriyanov/telegraf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/echupriyanov/telegraf/statuses/{sha}","languages_url":"https://api.github.com/repos/echupriyanov/telegraf/languages","stargazers_url":"https://api.github.com/repos/echupriyanov/telegraf/stargazers","contributors_url":"https://api.github.com/repos/echupriyanov/telegraf/contributors","subscribers_url":"https://api.github.com/repos/echupriyanov/telegraf/subscribers","subscription_url":"https://api.github.com/repos/echupriyanov/telegraf/subscription","commits_url":"https://api.github.com/repos/echupriyanov/telegraf/commits{/sha}","git_commits_url":"https://api.github.com/repos/echupriyanov/telegraf/git/commits{/sha}","comments_url":"https://api.github.com/repos/echupriyanov/telegraf/comments{/number}","issue_comment_url":"https://api.github.com/repos/echupriyanov/telegraf/issues/comments{/number}","contents_url":"https://api.github.com/repos/echupriyanov/telegraf/contents/{+path}","compare_url":"https://api.github.com/repos/echupriyanov/telegraf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/echupriyanov/telegraf/merges","archive_url":"https://api.github.com/repos/echupriyanov/telegraf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/echupriyanov/telegraf/downloads","issues_url":"https://api.github.com/repos/echupriyanov/telegraf/issues{/number}","pulls_url":"https://api.github.com/repos/echupriyanov/telegraf/pulls{/number}","milestones_url":"https://api.github.com/repos/echupriyanov/telegraf/milestones{/number}","notifications_url":"https://api.github.com/repos/echupriyanov/telegraf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/echupriyanov/telegraf/labels{/name}","releases_url":"https://api.github.com/repos/echupriyanov/telegraf/releases{/id}","deployments_url":"https://api.github.com/repos/echupriyanov/telegraf/deployments","created_at":"2016-04-12T14:45:11Z","updated_at":"2016-04-12T14:45:14Z","pushed_at":"2016-04-18T22:09:28Z","git_url":"git://github.com/echupriyanov/telegraf.git","ssh_url":"git@github.com:echupriyanov/telegraf.git","clone_url":"https://github.com/echupriyanov/telegraf.git","svn_url":"https://github.com/echupriyanov/telegraf","homepage":"","size":10094,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"influxdata:master","ref":"master","sha":"e428d11add652b182978c46c4e79e9d20235467a","user":{"login":"influxdata","id":5713248,"avatar_url":"https://avatars.githubusercontent.com/u/5713248?v=3","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"repo":{"id":33258973,"name":"telegraf","full_name":"influxdata/telegraf","owner":{"login":"influxdata","id":5713248,"avatar_url":"https://avatars.githubusercontent.com/u/5713248?v=3","gravatar_id":"","url":"https://api.github.com/users/influxdata","html_url":"https://github.com/influxdata","followers_url":"https://api.github.com/users/influxdata/followers","following_url":"https://api.github.com/users/influxdata/following{/other_user}","gists_url":"https://api.github.com/users/influxdata/gists{/gist_id}","starred_url":"https://api.github.com/users/influxdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/influxdata/subscriptions","organizations_url":"https://api.github.com/users/influxdata/orgs","repos_url":"https://api.github.com/users/influxdata/repos","events_url":"https://api.github.com/users/influxdata/events{/privacy}","received_events_url":"https://api.github.com/users/influxdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/influxdata/telegraf","description":"The plugin-driven server agent for collecting & reporting metrics.","fork":false,"url":"https://api.github.com/repos/influxdata/telegraf","forks_url":"https://api.github.com/repos/influxdata/telegraf/forks","keys_url":"https://api.github.com/repos/influxdata/telegraf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/influxdata/telegraf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/influxdata/telegraf/teams","hooks_url":"https://api.github.com/repos/influxdata/telegraf/hooks","issue_events_url":"https://api.github.com/repos/influxdata/telegraf/issues/events{/number}","events_url":"https://api.github.com/repos/influxdata/telegraf/events","assignees_url":"https://api.github.com/repos/influxdata/telegraf/assignees{/user}","branches_url":"https://api.github.com/repos/influxdata/telegraf/branches{/branch}","tags_url":"https://api.github.com/repos/influxdata/telegraf/tags","blobs_url":"https://api.github.com/repos/influxdata/telegraf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/influxdata/telegraf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/influxdata/telegraf/git/refs{/sha}","trees_url":"https://api.github.com/repos/influxdata/telegraf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/influxdata/telegraf/statuses/{sha}","languages_url":"https://api.github.com/repos/influxdata/telegraf/languages","stargazers_url":"https://api.github.com/repos/influxdata/telegraf/stargazers","contributors_url":"https://api.github.com/repos/influxdata/telegraf/contributors","subscribers_url":"https://api.github.com/repos/influxdata/telegraf/subscribers","subscription_url":"https://api.github.com/repos/influxdata/telegraf/subscription","commits_url":"https://api.github.com/repos/influxdata/telegraf/commits{/sha}","git_commits_url":"https://api.github.com/repos/influxdata/telegraf/git/commits{/sha}","comments_url":"https://api.github.com/repos/influxdata/telegraf/comments{/number}","issue_comment_url":"https://api.github.com/repos/influxdata/telegraf/issues/comments{/number}","contents_url":"https://api.github.com/repos/influxdata/telegraf/contents/{+path}","compare_url":"https://api.github.com/repos/influxdata/telegraf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/influxdata/telegraf/merges","archive_url":"https://api.github.com/repos/influxdata/telegraf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/influxdata/telegraf/downloads","issues_url":"https://api.github.com/repos/influxdata/telegraf/issues{/number}","pulls_url":"https://api.github.com/repos/influxdata/telegraf/pulls{/number}","milestones_url":"https://api.github.com/repos/influxdata/telegraf/milestones{/number}","notifications_url":"https://api.github.com/repos/influxdata/telegraf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/influxdata/telegraf/labels{/name}","releases_url":"https://api.github.com/repos/influxdata/telegraf/releases{/id}","deployments_url":"https://api.github.com/repos/influxdata/telegraf/deployments","created_at":"2015-04-01T16:28:44Z","updated_at":"2016-04-18T15:54:42Z","pushed_at":"2016-04-18T22:09:28Z","git_url":"git://github.com/influxdata/telegraf.git","ssh_url":"git@github.com:influxdata/telegraf.git","clone_url":"https://github.com/influxdata/telegraf.git","svn_url":"https://github.com/influxdata/telegraf","homepage":"","size":23998,"stargazers_count":1213,"watchers_count":1213,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":355,"mirror_url":null,"open_issues_count":108,"forks":355,"open_issues":108,"watchers":1213,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/1013"},"html":{"href":"https://github.com/influxdata/telegraf/pull/1013"},"issue":{"href":"https://api.github.com/repos/influxdata/telegraf/issues/1013"},"comments":{"href":"https://api.github.com/repos/influxdata/telegraf/issues/1013/comments"},"review_comments":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/1013/comments"},"review_comment":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/1013/commits"},"statuses":{"href":"https://api.github.com/repos/influxdata/telegraf/statuses/c237e6a3c057c9805d1925a8cde551345ebd3d47"}}}}