{"action":"created","comment":{"url":"https://api.github.com/repos/solana-labs/solana/pulls/comments/216495551","pull_request_review_id":153990495,"id":216495551,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjQ5NTU1MQ==","diff_hunk":"@@ -0,0 +1,46 @@\n+#!/bin/bash -e\n+#\n+# Reports network statistics\n+#\n+\n+cd \"$(dirname \"$0\")\"\n+\n+# shellcheck source=scripts/configure-metrics.sh\n+source configure-metrics.sh\n+\n+packets_received=0\n+packets_received_diff=0\n+receive_errors=0\n+receive_errors_diff=0\n+rcvbuf_errors=0\n+rcvbuf_errors_diff=0\n+\n+update_netstat() {\n+  net_stat=$(netstat -suna)","path":"scripts/net-stats.sh","position":19,"original_position":19,"commit_id":"5024bd548168fa41017baa2643a968533fbf2cce","original_commit_id":"5024bd548168fa41017baa2643a968533fbf2cce","user":{"login":"mvines","id":1281082,"node_id":"MDQ6VXNlcjEyODEwODI=","avatar_url":"https://avatars1.githubusercontent.com/u/1281082?v=4","gravatar_id":"","url":"https://api.github.com/users/mvines","html_url":"https://github.com/mvines","followers_url":"https://api.github.com/users/mvines/followers","following_url":"https://api.github.com/users/mvines/following{/other_user}","gists_url":"https://api.github.com/users/mvines/gists{/gist_id}","starred_url":"https://api.github.com/users/mvines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvines/subscriptions","organizations_url":"https://api.github.com/users/mvines/orgs","repos_url":"https://api.github.com/users/mvines/repos","events_url":"https://api.github.com/users/mvines/events{/privacy}","received_events_url":"https://api.github.com/users/mvines/received_events","type":"User","site_admin":false},"body":"nit: `declare net_stat=$(netstat -suna)`","created_at":"2018-09-10T22:32:16Z","updated_at":"2018-09-10T22:32:16Z","html_url":"https://github.com/solana-labs/solana/pull/1176#discussion_r216495551","pull_request_url":"https://api.github.com/repos/solana-labs/solana/pulls/1176","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/solana-labs/solana/pulls/comments/216495551"},"html":{"href":"https://github.com/solana-labs/solana/pull/1176#discussion_r216495551"},"pull_request":{"href":"https://api.github.com/repos/solana-labs/solana/pulls/1176"}}},"pull_request":{"url":"https://api.github.com/repos/solana-labs/solana/pulls/1176","id":214452072,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0NDUyMDcy","html_url":"https://github.com/solana-labs/solana/pull/1176","diff_url":"https://github.com/solana-labs/solana/pull/1176.diff","patch_url":"https://github.com/solana-labs/solana/pull/1176.patch","issue_url":"https://api.github.com/repos/solana-labs/solana/issues/1176","number":1176,"state":"open","locked":false,"title":"Report UDP network statistics","user":{"login":"pgarg66","id":40076733,"node_id":"MDQ6VXNlcjQwMDc2NzMz","avatar_url":"https://avatars1.githubusercontent.com/u/40076733?v=4","gravatar_id":"","url":"https://api.github.com/users/pgarg66","html_url":"https://github.com/pgarg66","followers_url":"https://api.github.com/users/pgarg66/followers","following_url":"https://api.github.com/users/pgarg66/following{/other_user}","gists_url":"https://api.github.com/users/pgarg66/gists{/gist_id}","starred_url":"https://api.github.com/users/pgarg66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgarg66/subscriptions","organizations_url":"https://api.github.com/users/pgarg66/orgs","repos_url":"https://api.github.com/users/pgarg66/repos","events_url":"https://api.github.com/users/pgarg66/events{/privacy}","received_events_url":"https://api.github.com/users/pgarg66/received_events","type":"User","site_admin":false},"body":"Fixes #1093","created_at":"2018-09-10T21:39:13Z","updated_at":"2018-09-10T22:32:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c48930ceebbe116597550aa85ad4933a8031d66","assignee":null,"assignees":[],"requested_reviewers":[{"login":"garious","id":55449,"node_id":"MDQ6VXNlcjU1NDQ5","avatar_url":"https://avatars1.githubusercontent.com/u/55449?v=4","gravatar_id":"","url":"https://api.github.com/users/garious","html_url":"https://github.com/garious","followers_url":"https://api.github.com/users/garious/followers","following_url":"https://api.github.com/users/garious/following{/other_user}","gists_url":"https://api.github.com/users/garious/gists{/gist_id}","starred_url":"https://api.github.com/users/garious/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garious/subscriptions","organizations_url":"https://api.github.com/users/garious/orgs","repos_url":"https://api.github.com/users/garious/repos","events_url":"https://api.github.com/users/garious/events{/privacy}","received_events_url":"https://api.github.com/users/garious/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/solana-labs/solana/pulls/1176/commits","review_comments_url":"https://api.github.com/repos/solana-labs/solana/pulls/1176/comments","review_comment_url":"https://api.github.com/repos/solana-labs/solana/pulls/comments{/number}","comments_url":"https://api.github.com/repos/solana-labs/solana/issues/1176/comments","statuses_url":"https://api.github.com/repos/solana-labs/solana/statuses/5024bd548168fa41017baa2643a968533fbf2cce","head":{"label":"pgarg66:net-stats","ref":"net-stats","sha":"5024bd548168fa41017baa2643a968533fbf2cce","user":{"login":"pgarg66","id":40076733,"node_id":"MDQ6VXNlcjQwMDc2NzMz","avatar_url":"https://avatars1.githubusercontent.com/u/40076733?v=4","gravatar_id":"","url":"https://api.github.com/users/pgarg66","html_url":"https://github.com/pgarg66","followers_url":"https://api.github.com/users/pgarg66/followers","following_url":"https://api.github.com/users/pgarg66/following{/other_user}","gists_url":"https://api.github.com/users/pgarg66/gists{/gist_id}","starred_url":"https://api.github.com/users/pgarg66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgarg66/subscriptions","organizations_url":"https://api.github.com/users/pgarg66/orgs","repos_url":"https://api.github.com/users/pgarg66/repos","events_url":"https://api.github.com/users/pgarg66/events{/privacy}","received_events_url":"https://api.github.com/users/pgarg66/received_events","type":"User","site_admin":false},"repo":{"id":141088287,"node_id":"MDEwOlJlcG9zaXRvcnkxNDEwODgyODc=","name":"solana","full_name":"pgarg66/solana","owner":{"login":"pgarg66","id":40076733,"node_id":"MDQ6VXNlcjQwMDc2NzMz","avatar_url":"https://avatars1.githubusercontent.com/u/40076733?v=4","gravatar_id":"","url":"https://api.github.com/users/pgarg66","html_url":"https://github.com/pgarg66","followers_url":"https://api.github.com/users/pgarg66/followers","following_url":"https://api.github.com/users/pgarg66/following{/other_user}","gists_url":"https://api.github.com/users/pgarg66/gists{/gist_id}","starred_url":"https://api.github.com/users/pgarg66/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgarg66/subscriptions","organizations_url":"https://api.github.com/users/pgarg66/orgs","repos_url":"https://api.github.com/users/pgarg66/repos","events_url":"https://api.github.com/users/pgarg66/events{/privacy}","received_events_url":"https://api.github.com/users/pgarg66/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pgarg66/solana","description":"Blockchain, Rebuilt for Scale","fork":true,"url":"https://api.github.com/repos/pgarg66/solana","forks_url":"https://api.github.com/repos/pgarg66/solana/forks","keys_url":"https://api.github.com/repos/pgarg66/solana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pgarg66/solana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pgarg66/solana/teams","hooks_url":"https://api.github.com/repos/pgarg66/solana/hooks","issue_events_url":"https://api.github.com/repos/pgarg66/solana/issues/events{/number}","events_url":"https://api.github.com/repos/pgarg66/solana/events","assignees_url":"https://api.github.com/repos/pgarg66/solana/assignees{/user}","branches_url":"https://api.github.com/repos/pgarg66/solana/branches{/branch}","tags_url":"https://api.github.com/repos/pgarg66/solana/tags","blobs_url":"https://api.github.com/repos/pgarg66/solana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pgarg66/solana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pgarg66/solana/git/refs{/sha}","trees_url":"https://api.github.com/repos/pgarg66/solana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pgarg66/solana/statuses/{sha}","languages_url":"https://api.github.com/repos/pgarg66/solana/languages","stargazers_url":"https://api.github.com/repos/pgarg66/solana/stargazers","contributors_url":"https://api.github.com/repos/pgarg66/solana/contributors","subscribers_url":"https://api.github.com/repos/pgarg66/solana/subscribers","subscription_url":"https://api.github.com/repos/pgarg66/solana/subscription","commits_url":"https://api.github.com/repos/pgarg66/solana/commits{/sha}","git_commits_url":"https://api.github.com/repos/pgarg66/solana/git/commits{/sha}","comments_url":"https://api.github.com/repos/pgarg66/solana/comments{/number}","issue_comment_url":"https://api.github.com/repos/pgarg66/solana/issues/comments{/number}","contents_url":"https://api.github.com/repos/pgarg66/solana/contents/{+path}","compare_url":"https://api.github.com/repos/pgarg66/solana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pgarg66/solana/merges","archive_url":"https://api.github.com/repos/pgarg66/solana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pgarg66/solana/downloads","issues_url":"https://api.github.com/repos/pgarg66/solana/issues{/number}","pulls_url":"https://api.github.com/repos/pgarg66/solana/pulls{/number}","milestones_url":"https://api.github.com/repos/pgarg66/solana/milestones{/number}","notifications_url":"https://api.github.com/repos/pgarg66/solana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pgarg66/solana/labels{/name}","releases_url":"https://api.github.com/repos/pgarg66/solana/releases{/id}","deployments_url":"https://api.github.com/repos/pgarg66/solana/deployments","created_at":"2018-07-16T04:57:37Z","updated_at":"2018-09-10T18:28:50Z","pushed_at":"2018-09-10T22:26:56Z","git_url":"git://github.com/pgarg66/solana.git","ssh_url":"git@github.com:pgarg66/solana.git","clone_url":"https://github.com/pgarg66/solana.git","svn_url":"https://github.com/pgarg66/solana","homepage":"https://solana.com","size":10819,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"solana-labs:master","ref":"master","sha":"2be0dbddbbcd292db59b38143850a9b6c8ea93e4","user":{"login":"solana-labs","id":35608259,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1NjA4MjU5","avatar_url":"https://avatars3.githubusercontent.com/u/35608259?v=4","gravatar_id":"","url":"https://api.github.com/users/solana-labs","html_url":"https://github.com/solana-labs","followers_url":"https://api.github.com/users/solana-labs/followers","following_url":"https://api.github.com/users/solana-labs/following{/other_user}","gists_url":"https://api.github.com/users/solana-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/solana-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solana-labs/subscriptions","organizations_url":"https://api.github.com/users/solana-labs/orgs","repos_url":"https://api.github.com/users/solana-labs/repos","events_url":"https://api.github.com/users/solana-labs/events{/privacy}","received_events_url":"https://api.github.com/users/solana-labs/received_events","type":"Organization","site_admin":false},"repo":{"id":121470383,"node_id":"MDEwOlJlcG9zaXRvcnkxMjE0NzAzODM=","name":"solana","full_name":"solana-labs/solana","owner":{"login":"solana-labs","id":35608259,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM1NjA4MjU5","avatar_url":"https://avatars3.githubusercontent.com/u/35608259?v=4","gravatar_id":"","url":"https://api.github.com/users/solana-labs","html_url":"https://github.com/solana-labs","followers_url":"https://api.github.com/users/solana-labs/followers","following_url":"https://api.github.com/users/solana-labs/following{/other_user}","gists_url":"https://api.github.com/users/solana-labs/gists{/gist_id}","starred_url":"https://api.github.com/users/solana-labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solana-labs/subscriptions","organizations_url":"https://api.github.com/users/solana-labs/orgs","repos_url":"https://api.github.com/users/solana-labs/repos","events_url":"https://api.github.com/users/solana-labs/events{/privacy}","received_events_url":"https://api.github.com/users/solana-labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/solana-labs/solana","description":"Blockchain, Rebuilt for Scale","fork":false,"url":"https://api.github.com/repos/solana-labs/solana","forks_url":"https://api.github.com/repos/solana-labs/solana/forks","keys_url":"https://api.github.com/repos/solana-labs/solana/keys{/key_id}","collaborators_url":"https://api.github.com/repos/solana-labs/solana/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/solana-labs/solana/teams","hooks_url":"https://api.github.com/repos/solana-labs/solana/hooks","issue_events_url":"https://api.github.com/repos/solana-labs/solana/issues/events{/number}","events_url":"https://api.github.com/repos/solana-labs/solana/events","assignees_url":"https://api.github.com/repos/solana-labs/solana/assignees{/user}","branches_url":"https://api.github.com/repos/solana-labs/solana/branches{/branch}","tags_url":"https://api.github.com/repos/solana-labs/solana/tags","blobs_url":"https://api.github.com/repos/solana-labs/solana/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/solana-labs/solana/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/solana-labs/solana/git/refs{/sha}","trees_url":"https://api.github.com/repos/solana-labs/solana/git/trees{/sha}","statuses_url":"https://api.github.com/repos/solana-labs/solana/statuses/{sha}","languages_url":"https://api.github.com/repos/solana-labs/solana/languages","stargazers_url":"https://api.github.com/repos/solana-labs/solana/stargazers","contributors_url":"https://api.github.com/repos/solana-labs/solana/contributors","subscribers_url":"https://api.github.com/repos/solana-labs/solana/subscribers","subscription_url":"https://api.github.com/repos/solana-labs/solana/subscription","commits_url":"https://api.github.com/repos/solana-labs/solana/commits{/sha}","git_commits_url":"https://api.github.com/repos/solana-labs/solana/git/commits{/sha}","comments_url":"https://api.github.com/repos/solana-labs/solana/comments{/number}","issue_comment_url":"https://api.github.com/repos/solana-labs/solana/issues/comments{/number}","contents_url":"https://api.github.com/repos/solana-labs/solana/contents/{+path}","compare_url":"https://api.github.com/repos/solana-labs/solana/compare/{base}...{head}","merges_url":"https://api.github.com/repos/solana-labs/solana/merges","archive_url":"https://api.github.com/repos/solana-labs/solana/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/solana-labs/solana/downloads","issues_url":"https://api.github.com/repos/solana-labs/solana/issues{/number}","pulls_url":"https://api.github.com/repos/solana-labs/solana/pulls{/number}","milestones_url":"https://api.github.com/repos/solana-labs/solana/milestones{/number}","notifications_url":"https://api.github.com/repos/solana-labs/solana/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/solana-labs/solana/labels{/name}","releases_url":"https://api.github.com/repos/solana-labs/solana/releases{/id}","deployments_url":"https://api.github.com/repos/solana-labs/solana/deployments","created_at":"2018-02-14T04:26:27Z","updated_at":"2018-09-10T20:48:58Z","pushed_at":"2018-09-10T22:26:58Z","git_url":"git://github.com/solana-labs/solana.git","ssh_url":"git@github.com:solana-labs/solana.git","clone_url":"https://github.com/solana-labs/solana.git","svn_url":"https://github.com/solana-labs/solana","homepage":"https://solana.com","size":10844,"stargazers_count":334,"watchers_count":334,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":53,"mirror_url":null,"archived":false,"open_issues_count":102,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":53,"open_issues":102,"watchers":334,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/solana-labs/solana/pulls/1176"},"html":{"href":"https://github.com/solana-labs/solana/pull/1176"},"issue":{"href":"https://api.github.com/repos/solana-labs/solana/issues/1176"},"comments":{"href":"https://api.github.com/repos/solana-labs/solana/issues/1176/comments"},"review_comments":{"href":"https://api.github.com/repos/solana-labs/solana/pulls/1176/comments"},"review_comment":{"href":"https://api.github.com/repos/solana-labs/solana/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/solana-labs/solana/pulls/1176/commits"},"statuses":{"href":"https://api.github.com/repos/solana-labs/solana/statuses/5024bd548168fa41017baa2643a968533fbf2cce"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mvines"}}