{"action":"created","comment":{"url":"https://api.github.com/repos/raboof/connbeat/pulls/comments/92942970","pull_request_review_id":13465609,"id":92942970,"diff_hunk":"@@ -81,7 +81,7 @@ func hexToIP(word string, ipv6 bool) (net.IP, error) {\n }\n \n // Parses the /proc/net/tcp file\n-func parseProcNetTCP(input io.Reader, ipv6 bool) ([]*sockets.SocketInfo, error) {\n+func ParseProcNetTCP(input io.Reader, ipv6 bool, containerId string) ([]*sockets.SocketInfo, error) {","path":"sockets/proc_net_tcp/proc_net_tcp.go","position":5,"original_position":5,"commit_id":"6778749e534c7653d75516c9864cba239d5aeb9b","original_commit_id":"6778749e534c7653d75516c9864cba239d5aeb9b","user":{"login":"whazenberg","id":3426800,"avatar_url":"https://avatars.githubusercontent.com/u/3426800?v=3","gravatar_id":"","url":"https://api.github.com/users/whazenberg","html_url":"https://github.com/whazenberg","followers_url":"https://api.github.com/users/whazenberg/followers","following_url":"https://api.github.com/users/whazenberg/following{/other_user}","gists_url":"https://api.github.com/users/whazenberg/gists{/gist_id}","starred_url":"https://api.github.com/users/whazenberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whazenberg/subscriptions","organizations_url":"https://api.github.com/users/whazenberg/orgs","repos_url":"https://api.github.com/users/whazenberg/repos","events_url":"https://api.github.com/users/whazenberg/events{/privacy}","received_events_url":"https://api.github.com/users/whazenberg/received_events","type":"User","site_admin":false},"body":"Good to know.","created_at":"2016-12-18T14:50:25Z","updated_at":"2016-12-18T14:50:25Z","html_url":"https://github.com/raboof/connbeat/pull/79#discussion_r92942970","pull_request_url":"https://api.github.com/repos/raboof/connbeat/pulls/79","_links":{"self":{"href":"https://api.github.com/repos/raboof/connbeat/pulls/comments/92942970"},"html":{"href":"https://github.com/raboof/connbeat/pull/79#discussion_r92942970"},"pull_request":{"href":"https://api.github.com/repos/raboof/connbeat/pulls/79"}}},"pull_request":{"url":"https://api.github.com/repos/raboof/connbeat/pulls/79","id":98186007,"html_url":"https://github.com/raboof/connbeat/pull/79","diff_url":"https://github.com/raboof/connbeat/pull/79.diff","patch_url":"https://github.com/raboof/connbeat/pull/79.patch","issue_url":"https://api.github.com/repos/raboof/connbeat/issues/79","number":79,"state":"open","locked":false,"title":"Monitor docker peers","user":{"login":"raboof","id":131856,"avatar_url":"https://avatars.githubusercontent.com/u/131856?v=3","gravatar_id":"","url":"https://api.github.com/users/raboof","html_url":"https://github.com/raboof","followers_url":"https://api.github.com/users/raboof/followers","following_url":"https://api.github.com/users/raboof/following{/other_user}","gists_url":"https://api.github.com/users/raboof/gists{/gist_id}","starred_url":"https://api.github.com/users/raboof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raboof/subscriptions","organizations_url":"https://api.github.com/users/raboof/orgs","repos_url":"https://api.github.com/users/raboof/repos","events_url":"https://api.github.com/users/raboof/events{/privacy}","received_events_url":"https://api.github.com/users/raboof/received_events","type":"User","site_admin":false},"body":"Preliminary code for monitoring connections from different docker instances.\r\n\r\nMain missing feature is including some way to disambiguate connections from different docker hosts. Options there would be to include a docker host id, or docker container id's.\r\n\r\nWhat'd work best depends on what kind of information we can get from other sources - making as few assumptions as possible would probably mean including the docker container id for each connection.","created_at":"2016-12-15T16:39:04Z","updated_at":"2016-12-18T14:50:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5aeb32942cd7ea11d028925819ce6f42b88bc08","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/raboof/connbeat/pulls/79/commits","review_comments_url":"https://api.github.com/repos/raboof/connbeat/pulls/79/comments","review_comment_url":"https://api.github.com/repos/raboof/connbeat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/raboof/connbeat/issues/79/comments","statuses_url":"https://api.github.com/repos/raboof/connbeat/statuses/6778749e534c7653d75516c9864cba239d5aeb9b","head":{"label":"raboof:monitorDockerPeers","ref":"monitorDockerPeers","sha":"6778749e534c7653d75516c9864cba239d5aeb9b","user":{"login":"raboof","id":131856,"avatar_url":"https://avatars.githubusercontent.com/u/131856?v=3","gravatar_id":"","url":"https://api.github.com/users/raboof","html_url":"https://github.com/raboof","followers_url":"https://api.github.com/users/raboof/followers","following_url":"https://api.github.com/users/raboof/following{/other_user}","gists_url":"https://api.github.com/users/raboof/gists{/gist_id}","starred_url":"https://api.github.com/users/raboof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raboof/subscriptions","organizations_url":"https://api.github.com/users/raboof/orgs","repos_url":"https://api.github.com/users/raboof/repos","events_url":"https://api.github.com/users/raboof/events{/privacy}","received_events_url":"https://api.github.com/users/raboof/received_events","type":"User","site_admin":false},"repo":{"id":58356706,"name":"connbeat","full_name":"raboof/connbeat","owner":{"login":"raboof","id":131856,"avatar_url":"https://avatars.githubusercontent.com/u/131856?v=3","gravatar_id":"","url":"https://api.github.com/users/raboof","html_url":"https://github.com/raboof","followers_url":"https://api.github.com/users/raboof/followers","following_url":"https://api.github.com/users/raboof/following{/other_user}","gists_url":"https://api.github.com/users/raboof/gists{/gist_id}","starred_url":"https://api.github.com/users/raboof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raboof/subscriptions","organizations_url":"https://api.github.com/users/raboof/orgs","repos_url":"https://api.github.com/users/raboof/repos","events_url":"https://api.github.com/users/raboof/events{/privacy}","received_events_url":"https://api.github.com/users/raboof/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/raboof/connbeat","description":"Agent exposing connection-related information, based on the Elastic Beats framework","fork":false,"url":"https://api.github.com/repos/raboof/connbeat","forks_url":"https://api.github.com/repos/raboof/connbeat/forks","keys_url":"https://api.github.com/repos/raboof/connbeat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raboof/connbeat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raboof/connbeat/teams","hooks_url":"https://api.github.com/repos/raboof/connbeat/hooks","issue_events_url":"https://api.github.com/repos/raboof/connbeat/issues/events{/number}","events_url":"https://api.github.com/repos/raboof/connbeat/events","assignees_url":"https://api.github.com/repos/raboof/connbeat/assignees{/user}","branches_url":"https://api.github.com/repos/raboof/connbeat/branches{/branch}","tags_url":"https://api.github.com/repos/raboof/connbeat/tags","blobs_url":"https://api.github.com/repos/raboof/connbeat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raboof/connbeat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raboof/connbeat/git/refs{/sha}","trees_url":"https://api.github.com/repos/raboof/connbeat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raboof/connbeat/statuses/{sha}","languages_url":"https://api.github.com/repos/raboof/connbeat/languages","stargazers_url":"https://api.github.com/repos/raboof/connbeat/stargazers","contributors_url":"https://api.github.com/repos/raboof/connbeat/contributors","subscribers_url":"https://api.github.com/repos/raboof/connbeat/subscribers","subscription_url":"https://api.github.com/repos/raboof/connbeat/subscription","commits_url":"https://api.github.com/repos/raboof/connbeat/commits{/sha}","git_commits_url":"https://api.github.com/repos/raboof/connbeat/git/commits{/sha}","comments_url":"https://api.github.com/repos/raboof/connbeat/comments{/number}","issue_comment_url":"https://api.github.com/repos/raboof/connbeat/issues/comments{/number}","contents_url":"https://api.github.com/repos/raboof/connbeat/contents/{+path}","compare_url":"https://api.github.com/repos/raboof/connbeat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raboof/connbeat/merges","archive_url":"https://api.github.com/repos/raboof/connbeat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raboof/connbeat/downloads","issues_url":"https://api.github.com/repos/raboof/connbeat/issues{/number}","pulls_url":"https://api.github.com/repos/raboof/connbeat/pulls{/number}","milestones_url":"https://api.github.com/repos/raboof/connbeat/milestones{/number}","notifications_url":"https://api.github.com/repos/raboof/connbeat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raboof/connbeat/labels{/name}","releases_url":"https://api.github.com/repos/raboof/connbeat/releases{/id}","deployments_url":"https://api.github.com/repos/raboof/connbeat/deployments","created_at":"2016-05-09T07:20:30Z","updated_at":"2016-10-24T11:22:09Z","pushed_at":"2016-12-17T23:01:47Z","git_url":"git://github.com/raboof/connbeat.git","ssh_url":"git@github.com:raboof/connbeat.git","clone_url":"https://github.com/raboof/connbeat.git","svn_url":"https://github.com/raboof/connbeat","homepage":"","size":26599,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"raboof:master","ref":"master","sha":"c47ca2e78ed16138a5eba1f2b532e8a9ad5a4fc0","user":{"login":"raboof","id":131856,"avatar_url":"https://avatars.githubusercontent.com/u/131856?v=3","gravatar_id":"","url":"https://api.github.com/users/raboof","html_url":"https://github.com/raboof","followers_url":"https://api.github.com/users/raboof/followers","following_url":"https://api.github.com/users/raboof/following{/other_user}","gists_url":"https://api.github.com/users/raboof/gists{/gist_id}","starred_url":"https://api.github.com/users/raboof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raboof/subscriptions","organizations_url":"https://api.github.com/users/raboof/orgs","repos_url":"https://api.github.com/users/raboof/repos","events_url":"https://api.github.com/users/raboof/events{/privacy}","received_events_url":"https://api.github.com/users/raboof/received_events","type":"User","site_admin":false},"repo":{"id":58356706,"name":"connbeat","full_name":"raboof/connbeat","owner":{"login":"raboof","id":131856,"avatar_url":"https://avatars.githubusercontent.com/u/131856?v=3","gravatar_id":"","url":"https://api.github.com/users/raboof","html_url":"https://github.com/raboof","followers_url":"https://api.github.com/users/raboof/followers","following_url":"https://api.github.com/users/raboof/following{/other_user}","gists_url":"https://api.github.com/users/raboof/gists{/gist_id}","starred_url":"https://api.github.com/users/raboof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raboof/subscriptions","organizations_url":"https://api.github.com/users/raboof/orgs","repos_url":"https://api.github.com/users/raboof/repos","events_url":"https://api.github.com/users/raboof/events{/privacy}","received_events_url":"https://api.github.com/users/raboof/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/raboof/connbeat","description":"Agent exposing connection-related information, based on the Elastic Beats framework","fork":false,"url":"https://api.github.com/repos/raboof/connbeat","forks_url":"https://api.github.com/repos/raboof/connbeat/forks","keys_url":"https://api.github.com/repos/raboof/connbeat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raboof/connbeat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raboof/connbeat/teams","hooks_url":"https://api.github.com/repos/raboof/connbeat/hooks","issue_events_url":"https://api.github.com/repos/raboof/connbeat/issues/events{/number}","events_url":"https://api.github.com/repos/raboof/connbeat/events","assignees_url":"https://api.github.com/repos/raboof/connbeat/assignees{/user}","branches_url":"https://api.github.com/repos/raboof/connbeat/branches{/branch}","tags_url":"https://api.github.com/repos/raboof/connbeat/tags","blobs_url":"https://api.github.com/repos/raboof/connbeat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raboof/connbeat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raboof/connbeat/git/refs{/sha}","trees_url":"https://api.github.com/repos/raboof/connbeat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raboof/connbeat/statuses/{sha}","languages_url":"https://api.github.com/repos/raboof/connbeat/languages","stargazers_url":"https://api.github.com/repos/raboof/connbeat/stargazers","contributors_url":"https://api.github.com/repos/raboof/connbeat/contributors","subscribers_url":"https://api.github.com/repos/raboof/connbeat/subscribers","subscription_url":"https://api.github.com/repos/raboof/connbeat/subscription","commits_url":"https://api.github.com/repos/raboof/connbeat/commits{/sha}","git_commits_url":"https://api.github.com/repos/raboof/connbeat/git/commits{/sha}","comments_url":"https://api.github.com/repos/raboof/connbeat/comments{/number}","issue_comment_url":"https://api.github.com/repos/raboof/connbeat/issues/comments{/number}","contents_url":"https://api.github.com/repos/raboof/connbeat/contents/{+path}","compare_url":"https://api.github.com/repos/raboof/connbeat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raboof/connbeat/merges","archive_url":"https://api.github.com/repos/raboof/connbeat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raboof/connbeat/downloads","issues_url":"https://api.github.com/repos/raboof/connbeat/issues{/number}","pulls_url":"https://api.github.com/repos/raboof/connbeat/pulls{/number}","milestones_url":"https://api.github.com/repos/raboof/connbeat/milestones{/number}","notifications_url":"https://api.github.com/repos/raboof/connbeat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raboof/connbeat/labels{/name}","releases_url":"https://api.github.com/repos/raboof/connbeat/releases{/id}","deployments_url":"https://api.github.com/repos/raboof/connbeat/deployments","created_at":"2016-05-09T07:20:30Z","updated_at":"2016-10-24T11:22:09Z","pushed_at":"2016-12-17T23:01:47Z","git_url":"git://github.com/raboof/connbeat.git","ssh_url":"git@github.com:raboof/connbeat.git","clone_url":"https://github.com/raboof/connbeat.git","svn_url":"https://github.com/raboof/connbeat","homepage":"","size":26599,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/raboof/connbeat/pulls/79"},"html":{"href":"https://github.com/raboof/connbeat/pull/79"},"issue":{"href":"https://api.github.com/repos/raboof/connbeat/issues/79"},"comments":{"href":"https://api.github.com/repos/raboof/connbeat/issues/79/comments"},"review_comments":{"href":"https://api.github.com/repos/raboof/connbeat/pulls/79/comments"},"review_comment":{"href":"https://api.github.com/repos/raboof/connbeat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/raboof/connbeat/pulls/79/commits"},"statuses":{"href":"https://api.github.com/repos/raboof/connbeat/statuses/6778749e534c7653d75516c9864cba239d5aeb9b"}}}}
{"actor":{"display_login":"whazenberg"}}