{"action":"created","comment":{"url":"https://api.github.com/repos/elastic/beats/pulls/comments/100241401","pull_request_review_id":20940218,"id":100241401,"diff_hunk":"@@ -19,6 +20,11 @@ var (\n \tversionRegex = regexp.MustCompile(`redis_version:(\\d+).(\\d+)`)\n )\n \n+var (","path":"libbeat/outputs/redis/client.go","position":12,"original_position":12,"commit_id":"f3947373aabb235453e558233aa7d14d3ccfd506","original_commit_id":"f3947373aabb235453e558233aa7d14d3ccfd506","user":{"login":"ruflin","id":244900,"avatar_url":"https://avatars.githubusercontent.com/u/244900?v=3","gravatar_id":"","url":"https://api.github.com/users/ruflin","html_url":"https://github.com/ruflin","followers_url":"https://api.github.com/users/ruflin/followers","following_url":"https://api.github.com/users/ruflin/following{/other_user}","gists_url":"https://api.github.com/users/ruflin/gists{/gist_id}","starred_url":"https://api.github.com/users/ruflin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruflin/subscriptions","organizations_url":"https://api.github.com/users/ruflin/orgs","repos_url":"https://api.github.com/users/ruflin/repos","events_url":"https://api.github.com/users/ruflin/events{/privacy}","received_events_url":"https://api.github.com/users/ruflin/received_events","type":"User","site_admin":false},"body":"```\r\nredis.published.events.acked\r\nredis.published.events.not_acked\r\n```","created_at":"2017-02-09T07:01:34Z","updated_at":"2017-02-09T07:04:48Z","html_url":"https://github.com/elastic/beats/pull/3432#discussion_r100241401","pull_request_url":"https://api.github.com/repos/elastic/beats/pulls/3432","_links":{"self":{"href":"https://api.github.com/repos/elastic/beats/pulls/comments/100241401"},"html":{"href":"https://github.com/elastic/beats/pull/3432#discussion_r100241401"},"pull_request":{"href":"https://api.github.com/repos/elastic/beats/pulls/3432"}}},"pull_request":{"url":"https://api.github.com/repos/elastic/beats/pulls/3432","id":102533663,"html_url":"https://github.com/elastic/beats/pull/3432","diff_url":"https://github.com/elastic/beats/pull/3432.diff","patch_url":"https://github.com/elastic/beats/pull/3432.patch","issue_url":"https://api.github.com/repos/elastic/beats/issues/3432","number":3432,"state":"open","locked":false,"title":"Export health metrics","user":{"login":"monicasarbu","id":11757159,"avatar_url":"https://avatars.githubusercontent.com/u/11757159?v=3","gravatar_id":"","url":"https://api.github.com/users/monicasarbu","html_url":"https://github.com/monicasarbu","followers_url":"https://api.github.com/users/monicasarbu/followers","following_url":"https://api.github.com/users/monicasarbu/following{/other_user}","gists_url":"https://api.github.com/users/monicasarbu/gists{/gist_id}","starred_url":"https://api.github.com/users/monicasarbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monicasarbu/subscriptions","organizations_url":"https://api.github.com/users/monicasarbu/orgs","repos_url":"https://api.github.com/users/monicasarbu/repos","events_url":"https://api.github.com/users/monicasarbu/events{/privacy}","received_events_url":"https://api.github.com/users/monicasarbu/received_events","type":"User","site_admin":false},"body":"Part of https://github.com/elastic/beats/issues/3422\r\n\r\nExports the following health metrics over expvar:\r\n- [x] outputs.failures\r\n- [x] outputs.send_bytes\r\n- [x] outputs.acked_events\r\n- [x] outputs.messages_dropped\r\n- [x] beat.memstats.memory.total \r\n- [x] beat.memstats.memory.alloc (bytes allocated and not yet freed)\r\n- [x] beat.memstats.gc.next (next collection will happen when HeapAlloc ≥ this amount)\r\n\r\n**Limitations**: For Kafka, the Beats are not exporting `libbeat.kafka.publish.write_bytes` and `libbeat.kafka.publish.write_errors`. So, for Kafka we cannot calculate `send_bytes` and `failures`, and the values of `libbeat.outputs.send_bytes` and `libbeat.outputs.failures` don't include Kafka output.","created_at":"2017-01-20T20:49:17Z","updated_at":"2017-02-09T07:04:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6793830a9f9ec62e98f138ad67c9cd997f4152de","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/elastic/beats/pulls/3432/commits","review_comments_url":"https://api.github.com/repos/elastic/beats/pulls/3432/comments","review_comment_url":"https://api.github.com/repos/elastic/beats/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elastic/beats/issues/3432/comments","statuses_url":"https://api.github.com/repos/elastic/beats/statuses/f3947373aabb235453e558233aa7d14d3ccfd506","head":{"label":"monicasarbu:export_health_metrics","ref":"export_health_metrics","sha":"f3947373aabb235453e558233aa7d14d3ccfd506","user":{"login":"monicasarbu","id":11757159,"avatar_url":"https://avatars.githubusercontent.com/u/11757159?v=3","gravatar_id":"","url":"https://api.github.com/users/monicasarbu","html_url":"https://github.com/monicasarbu","followers_url":"https://api.github.com/users/monicasarbu/followers","following_url":"https://api.github.com/users/monicasarbu/following{/other_user}","gists_url":"https://api.github.com/users/monicasarbu/gists{/gist_id}","starred_url":"https://api.github.com/users/monicasarbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monicasarbu/subscriptions","organizations_url":"https://api.github.com/users/monicasarbu/orgs","repos_url":"https://api.github.com/users/monicasarbu/repos","events_url":"https://api.github.com/users/monicasarbu/events{/privacy}","received_events_url":"https://api.github.com/users/monicasarbu/received_events","type":"User","site_admin":false},"repo":{"id":47255032,"name":"beats","full_name":"monicasarbu/beats","owner":{"login":"monicasarbu","id":11757159,"avatar_url":"https://avatars.githubusercontent.com/u/11757159?v=3","gravatar_id":"","url":"https://api.github.com/users/monicasarbu","html_url":"https://github.com/monicasarbu","followers_url":"https://api.github.com/users/monicasarbu/followers","following_url":"https://api.github.com/users/monicasarbu/following{/other_user}","gists_url":"https://api.github.com/users/monicasarbu/gists{/gist_id}","starred_url":"https://api.github.com/users/monicasarbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monicasarbu/subscriptions","organizations_url":"https://api.github.com/users/monicasarbu/orgs","repos_url":"https://api.github.com/users/monicasarbu/repos","events_url":"https://api.github.com/users/monicasarbu/events{/privacy}","received_events_url":"https://api.github.com/users/monicasarbu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/monicasarbu/beats","description":"Moved here: https://github.com/elastic/beats","fork":true,"url":"https://api.github.com/repos/monicasarbu/beats","forks_url":"https://api.github.com/repos/monicasarbu/beats/forks","keys_url":"https://api.github.com/repos/monicasarbu/beats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/monicasarbu/beats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/monicasarbu/beats/teams","hooks_url":"https://api.github.com/repos/monicasarbu/beats/hooks","issue_events_url":"https://api.github.com/repos/monicasarbu/beats/issues/events{/number}","events_url":"https://api.github.com/repos/monicasarbu/beats/events","assignees_url":"https://api.github.com/repos/monicasarbu/beats/assignees{/user}","branches_url":"https://api.github.com/repos/monicasarbu/beats/branches{/branch}","tags_url":"https://api.github.com/repos/monicasarbu/beats/tags","blobs_url":"https://api.github.com/repos/monicasarbu/beats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/monicasarbu/beats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/monicasarbu/beats/git/refs{/sha}","trees_url":"https://api.github.com/repos/monicasarbu/beats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/monicasarbu/beats/statuses/{sha}","languages_url":"https://api.github.com/repos/monicasarbu/beats/languages","stargazers_url":"https://api.github.com/repos/monicasarbu/beats/stargazers","contributors_url":"https://api.github.com/repos/monicasarbu/beats/contributors","subscribers_url":"https://api.github.com/repos/monicasarbu/beats/subscribers","subscription_url":"https://api.github.com/repos/monicasarbu/beats/subscription","commits_url":"https://api.github.com/repos/monicasarbu/beats/commits{/sha}","git_commits_url":"https://api.github.com/repos/monicasarbu/beats/git/commits{/sha}","comments_url":"https://api.github.com/repos/monicasarbu/beats/comments{/number}","issue_comment_url":"https://api.github.com/repos/monicasarbu/beats/issues/comments{/number}","contents_url":"https://api.github.com/repos/monicasarbu/beats/contents/{+path}","compare_url":"https://api.github.com/repos/monicasarbu/beats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/monicasarbu/beats/merges","archive_url":"https://api.github.com/repos/monicasarbu/beats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/monicasarbu/beats/downloads","issues_url":"https://api.github.com/repos/monicasarbu/beats/issues{/number}","pulls_url":"https://api.github.com/repos/monicasarbu/beats/pulls{/number}","milestones_url":"https://api.github.com/repos/monicasarbu/beats/milestones{/number}","notifications_url":"https://api.github.com/repos/monicasarbu/beats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/monicasarbu/beats/labels{/name}","releases_url":"https://api.github.com/repos/monicasarbu/beats/releases{/id}","deployments_url":"https://api.github.com/repos/monicasarbu/beats/deployments","created_at":"2015-12-02T10:50:02Z","updated_at":"2015-12-02T10:50:07Z","pushed_at":"2017-02-08T22:00:52Z","git_url":"git://github.com/monicasarbu/beats.git","ssh_url":"git@github.com:monicasarbu/beats.git","clone_url":"https://github.com/monicasarbu/beats.git","svn_url":"https://github.com/monicasarbu/beats","homepage":"","size":46965,"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":"elastic:master","ref":"master","sha":"62113b1584e511395bbca0c0bf5ae120018cdec5","user":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"repo":{"id":16554739,"name":"beats","full_name":"elastic/beats","owner":{"login":"elastic","id":6764390,"avatar_url":"https://avatars.githubusercontent.com/u/6764390?v=3","gravatar_id":"","url":"https://api.github.com/users/elastic","html_url":"https://github.com/elastic","followers_url":"https://api.github.com/users/elastic/followers","following_url":"https://api.github.com/users/elastic/following{/other_user}","gists_url":"https://api.github.com/users/elastic/gists{/gist_id}","starred_url":"https://api.github.com/users/elastic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elastic/subscriptions","organizations_url":"https://api.github.com/users/elastic/orgs","repos_url":"https://api.github.com/users/elastic/repos","events_url":"https://api.github.com/users/elastic/events{/privacy}","received_events_url":"https://api.github.com/users/elastic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/elastic/beats","description":":tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash ","fork":false,"url":"https://api.github.com/repos/elastic/beats","forks_url":"https://api.github.com/repos/elastic/beats/forks","keys_url":"https://api.github.com/repos/elastic/beats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elastic/beats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elastic/beats/teams","hooks_url":"https://api.github.com/repos/elastic/beats/hooks","issue_events_url":"https://api.github.com/repos/elastic/beats/issues/events{/number}","events_url":"https://api.github.com/repos/elastic/beats/events","assignees_url":"https://api.github.com/repos/elastic/beats/assignees{/user}","branches_url":"https://api.github.com/repos/elastic/beats/branches{/branch}","tags_url":"https://api.github.com/repos/elastic/beats/tags","blobs_url":"https://api.github.com/repos/elastic/beats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elastic/beats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elastic/beats/git/refs{/sha}","trees_url":"https://api.github.com/repos/elastic/beats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elastic/beats/statuses/{sha}","languages_url":"https://api.github.com/repos/elastic/beats/languages","stargazers_url":"https://api.github.com/repos/elastic/beats/stargazers","contributors_url":"https://api.github.com/repos/elastic/beats/contributors","subscribers_url":"https://api.github.com/repos/elastic/beats/subscribers","subscription_url":"https://api.github.com/repos/elastic/beats/subscription","commits_url":"https://api.github.com/repos/elastic/beats/commits{/sha}","git_commits_url":"https://api.github.com/repos/elastic/beats/git/commits{/sha}","comments_url":"https://api.github.com/repos/elastic/beats/comments{/number}","issue_comment_url":"https://api.github.com/repos/elastic/beats/issues/comments{/number}","contents_url":"https://api.github.com/repos/elastic/beats/contents/{+path}","compare_url":"https://api.github.com/repos/elastic/beats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elastic/beats/merges","archive_url":"https://api.github.com/repos/elastic/beats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elastic/beats/downloads","issues_url":"https://api.github.com/repos/elastic/beats/issues{/number}","pulls_url":"https://api.github.com/repos/elastic/beats/pulls{/number}","milestones_url":"https://api.github.com/repos/elastic/beats/milestones{/number}","notifications_url":"https://api.github.com/repos/elastic/beats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elastic/beats/labels{/name}","releases_url":"https://api.github.com/repos/elastic/beats/releases{/id}","deployments_url":"https://api.github.com/repos/elastic/beats/deployments","created_at":"2014-02-05T19:01:02Z","updated_at":"2017-02-09T04:23:58Z","pushed_at":"2017-02-09T05:54:20Z","git_url":"git://github.com/elastic/beats.git","ssh_url":"git@github.com:elastic/beats.git","clone_url":"https://github.com/elastic/beats.git","svn_url":"https://github.com/elastic/beats","homepage":"https://www.elastic.co/products/beats","size":47343,"stargazers_count":3648,"watchers_count":3648,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":777,"mirror_url":null,"open_issues_count":354,"forks":777,"open_issues":354,"watchers":3648,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/elastic/beats/pulls/3432"},"html":{"href":"https://github.com/elastic/beats/pull/3432"},"issue":{"href":"https://api.github.com/repos/elastic/beats/issues/3432"},"comments":{"href":"https://api.github.com/repos/elastic/beats/issues/3432/comments"},"review_comments":{"href":"https://api.github.com/repos/elastic/beats/pulls/3432/comments"},"review_comment":{"href":"https://api.github.com/repos/elastic/beats/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elastic/beats/pulls/3432/commits"},"statuses":{"href":"https://api.github.com/repos/elastic/beats/statuses/f3947373aabb235453e558233aa7d14d3ccfd506"}}}}
{"actor":{"display_login":"ruflin"}}