{"action":"created","comment":{"url":"https://api.github.com/repos/influxdata/telegraf/pulls/comments/199605958","pull_request_review_id":133759320,"id":199605958,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTYwNTk1OA==","diff_hunk":"@@ -0,0 +1,30 @@\n+# Swap Input Plugin\n+\n+The swap plugin collects system swap metrics.\n+\n+For a more information on what swap memory is, read [All about Linux swap space](https://www.linux.com/news/all-about-linux-swap-space).\n+\n+### Configuration:\n+\n+```toml\n+# Read metrics about swap memory usage\n+[[inputs.swap]]\n+  # no configuration\n+```\n+\n+### Metrics:\n+\n+- swap\n+  - fields:\n+  \t- free (int)\n+  \t- total (int)\n+  \t- used (int)\n+  \t- used_percent (float)\n+    - sin (int)\n+    - sout (int)","path":"plugins/inputs/system/SWAP_README.md","position":24,"original_position":24,"commit_id":"47b7376b0b050213f23cfc958638dbf2e506dc0c","original_commit_id":"47b7376b0b050213f23cfc958638dbf2e506dc0c","user":{"login":"danielnelson","id":1048079,"node_id":"MDQ6VXNlcjEwNDgwNzk=","avatar_url":"https://avatars3.githubusercontent.com/u/1048079?v=4","gravatar_id":"","url":"https://api.github.com/users/danielnelson","html_url":"https://github.com/danielnelson","followers_url":"https://api.github.com/users/danielnelson/followers","following_url":"https://api.github.com/users/danielnelson/following{/other_user}","gists_url":"https://api.github.com/users/danielnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/danielnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielnelson/subscriptions","organizations_url":"https://api.github.com/users/danielnelson/orgs","repos_url":"https://api.github.com/users/danielnelson/repos","events_url":"https://api.github.com/users/danielnelson/events{/privacy}","received_events_url":"https://api.github.com/users/danielnelson/received_events","type":"User","site_admin":false},"body":"Wrong field name here but I will take care of it after the merge.","created_at":"2018-07-02T20:06:27Z","updated_at":"2018-07-02T20:06:27Z","html_url":"https://github.com/influxdata/telegraf/pull/4342#discussion_r199605958","pull_request_url":"https://api.github.com/repos/influxdata/telegraf/pulls/4342","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/comments/199605958"},"html":{"href":"https://github.com/influxdata/telegraf/pull/4342#discussion_r199605958"},"pull_request":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/4342"}}},"pull_request":{"url":"https://api.github.com/repos/influxdata/telegraf/pulls/4342","id":196999002,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2OTk5MDAy","html_url":"https://github.com/influxdata/telegraf/pull/4342","diff_url":"https://github.com/influxdata/telegraf/pull/4342.diff","patch_url":"https://github.com/influxdata/telegraf/pull/4342.patch","issue_url":"https://api.github.com/repos/influxdata/telegraf/issues/4342","number":4342,"state":"open","locked":false,"title":"Resolves #4290 - no clear documentation on swap input plugin","user":{"login":"sdomino","id":28181,"node_id":"MDQ6VXNlcjI4MTgx","avatar_url":"https://avatars0.githubusercontent.com/u/28181?v=4","gravatar_id":"","url":"https://api.github.com/users/sdomino","html_url":"https://github.com/sdomino","followers_url":"https://api.github.com/users/sdomino/followers","following_url":"https://api.github.com/users/sdomino/following{/other_user}","gists_url":"https://api.github.com/users/sdomino/gists{/gist_id}","starred_url":"https://api.github.com/users/sdomino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdomino/subscriptions","organizations_url":"https://api.github.com/users/sdomino/orgs","repos_url":"https://api.github.com/users/sdomino/repos","events_url":"https://api.github.com/users/sdomino/events{/privacy}","received_events_url":"https://api.github.com/users/sdomino/received_events","type":"User","site_admin":false},"body":"### Required for all PRs:\r\n\r\n- [x] Signed [CLA](https://influxdata.com/community/cla/).\r\n- [x] Associated README.md updated.\r\n- [x] Has appropriate unit tests.\r\n","created_at":"2018-06-25T04:26:45Z","updated_at":"2018-07-02T20:06:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d22b5360ceeba0df67c5205d71a820d11faf3d11","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/influxdata/telegraf/milestones/33","html_url":"https://github.com/influxdata/telegraf/milestone/33","labels_url":"https://api.github.com/repos/influxdata/telegraf/milestones/33/labels","id":3420240,"node_id":"MDk6TWlsZXN0b25lMzQyMDI0MA==","number":33,"title":"1.7.1","description":"","creator":{"login":"danielnelson","id":1048079,"node_id":"MDQ6VXNlcjEwNDgwNzk=","avatar_url":"https://avatars3.githubusercontent.com/u/1048079?v=4","gravatar_id":"","url":"https://api.github.com/users/danielnelson","html_url":"https://github.com/danielnelson","followers_url":"https://api.github.com/users/danielnelson/followers","following_url":"https://api.github.com/users/danielnelson/following{/other_user}","gists_url":"https://api.github.com/users/danielnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/danielnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielnelson/subscriptions","organizations_url":"https://api.github.com/users/danielnelson/orgs","repos_url":"https://api.github.com/users/danielnelson/repos","events_url":"https://api.github.com/users/danielnelson/events{/privacy}","received_events_url":"https://api.github.com/users/danielnelson/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":14,"state":"open","created_at":"2018-06-12T23:06:35Z","updated_at":"2018-06-30T02:08:52Z","due_on":"2018-07-03T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/influxdata/telegraf/pulls/4342/commits","review_comments_url":"https://api.github.com/repos/influxdata/telegraf/pulls/4342/comments","review_comment_url":"https://api.github.com/repos/influxdata/telegraf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/influxdata/telegraf/issues/4342/comments","statuses_url":"https://api.github.com/repos/influxdata/telegraf/statuses/47b7376b0b050213f23cfc958638dbf2e506dc0c","head":{"label":"sdomino:issue/no-clear-documentation-on-swap-input-plugin","ref":"issue/no-clear-documentation-on-swap-input-plugin","sha":"47b7376b0b050213f23cfc958638dbf2e506dc0c","user":{"login":"sdomino","id":28181,"node_id":"MDQ6VXNlcjI4MTgx","avatar_url":"https://avatars0.githubusercontent.com/u/28181?v=4","gravatar_id":"","url":"https://api.github.com/users/sdomino","html_url":"https://github.com/sdomino","followers_url":"https://api.github.com/users/sdomino/followers","following_url":"https://api.github.com/users/sdomino/following{/other_user}","gists_url":"https://api.github.com/users/sdomino/gists{/gist_id}","starred_url":"https://api.github.com/users/sdomino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdomino/subscriptions","organizations_url":"https://api.github.com/users/sdomino/orgs","repos_url":"https://api.github.com/users/sdomino/repos","events_url":"https://api.github.com/users/sdomino/events{/privacy}","received_events_url":"https://api.github.com/users/sdomino/received_events","type":"User","site_admin":false},"repo":{"id":138373435,"node_id":"MDEwOlJlcG9zaXRvcnkxMzgzNzM0MzU=","name":"telegraf","full_name":"sdomino/telegraf","owner":{"login":"sdomino","id":28181,"node_id":"MDQ6VXNlcjI4MTgx","avatar_url":"https://avatars0.githubusercontent.com/u/28181?v=4","gravatar_id":"","url":"https://api.github.com/users/sdomino","html_url":"https://github.com/sdomino","followers_url":"https://api.github.com/users/sdomino/followers","following_url":"https://api.github.com/users/sdomino/following{/other_user}","gists_url":"https://api.github.com/users/sdomino/gists{/gist_id}","starred_url":"https://api.github.com/users/sdomino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdomino/subscriptions","organizations_url":"https://api.github.com/users/sdomino/orgs","repos_url":"https://api.github.com/users/sdomino/repos","events_url":"https://api.github.com/users/sdomino/events{/privacy}","received_events_url":"https://api.github.com/users/sdomino/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sdomino/telegraf","description":"The plugin-driven server agent for collecting & reporting metrics.","fork":true,"url":"https://api.github.com/repos/sdomino/telegraf","forks_url":"https://api.github.com/repos/sdomino/telegraf/forks","keys_url":"https://api.github.com/repos/sdomino/telegraf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sdomino/telegraf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sdomino/telegraf/teams","hooks_url":"https://api.github.com/repos/sdomino/telegraf/hooks","issue_events_url":"https://api.github.com/repos/sdomino/telegraf/issues/events{/number}","events_url":"https://api.github.com/repos/sdomino/telegraf/events","assignees_url":"https://api.github.com/repos/sdomino/telegraf/assignees{/user}","branches_url":"https://api.github.com/repos/sdomino/telegraf/branches{/branch}","tags_url":"https://api.github.com/repos/sdomino/telegraf/tags","blobs_url":"https://api.github.com/repos/sdomino/telegraf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sdomino/telegraf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sdomino/telegraf/git/refs{/sha}","trees_url":"https://api.github.com/repos/sdomino/telegraf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sdomino/telegraf/statuses/{sha}","languages_url":"https://api.github.com/repos/sdomino/telegraf/languages","stargazers_url":"https://api.github.com/repos/sdomino/telegraf/stargazers","contributors_url":"https://api.github.com/repos/sdomino/telegraf/contributors","subscribers_url":"https://api.github.com/repos/sdomino/telegraf/subscribers","subscription_url":"https://api.github.com/repos/sdomino/telegraf/subscription","commits_url":"https://api.github.com/repos/sdomino/telegraf/commits{/sha}","git_commits_url":"https://api.github.com/repos/sdomino/telegraf/git/commits{/sha}","comments_url":"https://api.github.com/repos/sdomino/telegraf/comments{/number}","issue_comment_url":"https://api.github.com/repos/sdomino/telegraf/issues/comments{/number}","contents_url":"https://api.github.com/repos/sdomino/telegraf/contents/{+path}","compare_url":"https://api.github.com/repos/sdomino/telegraf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sdomino/telegraf/merges","archive_url":"https://api.github.com/repos/sdomino/telegraf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sdomino/telegraf/downloads","issues_url":"https://api.github.com/repos/sdomino/telegraf/issues{/number}","pulls_url":"https://api.github.com/repos/sdomino/telegraf/pulls{/number}","milestones_url":"https://api.github.com/repos/sdomino/telegraf/milestones{/number}","notifications_url":"https://api.github.com/repos/sdomino/telegraf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sdomino/telegraf/labels{/name}","releases_url":"https://api.github.com/repos/sdomino/telegraf/releases{/id}","deployments_url":"https://api.github.com/repos/sdomino/telegraf/deployments","created_at":"2018-06-23T05:15:21Z","updated_at":"2018-06-23T05:15:25Z","pushed_at":"2018-06-25T04:25:42Z","git_url":"git://github.com/sdomino/telegraf.git","ssh_url":"git@github.com:sdomino/telegraf.git","clone_url":"https://github.com/sdomino/telegraf.git","svn_url":"https://github.com/sdomino/telegraf","homepage":"","size":18848,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"influxdata:master","ref":"master","sha":"23523ffd10bac33b0e40bad98bee4213049109ff","user":{"login":"influxdata","id":5713248,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3MTMyNDg=","avatar_url":"https://avatars2.githubusercontent.com/u/5713248?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkzMzI1ODk3Mw==","name":"telegraf","full_name":"influxdata/telegraf","owner":{"login":"influxdata","id":5713248,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU3MTMyNDg=","avatar_url":"https://avatars2.githubusercontent.com/u/5713248?v=4","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":"2018-07-02T18:58:54Z","pushed_at":"2018-07-02T19:00:01Z","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":18925,"stargazers_count":5123,"watchers_count":5123,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1910,"mirror_url":null,"archived":false,"open_issues_count":613,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1910,"open_issues":613,"watchers":5123,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/4342"},"html":{"href":"https://github.com/influxdata/telegraf/pull/4342"},"issue":{"href":"https://api.github.com/repos/influxdata/telegraf/issues/4342"},"comments":{"href":"https://api.github.com/repos/influxdata/telegraf/issues/4342/comments"},"review_comments":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/4342/comments"},"review_comment":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/4342/commits"},"statuses":{"href":"https://api.github.com/repos/influxdata/telegraf/statuses/47b7376b0b050213f23cfc958638dbf2e506dc0c"}},"author_association":"NONE"}}
{"actor":{"display_login":"danielnelson"}}