{"action":"closed","number":4363,"pull_request":{"url":"https://api.github.com/repos/influxdata/telegraf/pulls/4363","id":198464346,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4NDY0MzQ2","html_url":"https://github.com/influxdata/telegraf/pull/4363","diff_url":"https://github.com/influxdata/telegraf/pull/4363.diff","patch_url":"https://github.com/influxdata/telegraf/pull/4363.patch","issue_url":"https://api.github.com/repos/influxdata/telegraf/issues/4363","number":4363,"state":"closed","locked":false,"title":"Add filecount input plugin","user":{"login":"sometimesfood","id":153385,"node_id":"MDQ6VXNlcjE1MzM4NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/153385?v=4","gravatar_id":"","url":"https://api.github.com/users/sometimesfood","html_url":"https://github.com/sometimesfood","followers_url":"https://api.github.com/users/sometimesfood/followers","following_url":"https://api.github.com/users/sometimesfood/following{/other_user}","gists_url":"https://api.github.com/users/sometimesfood/gists{/gist_id}","starred_url":"https://api.github.com/users/sometimesfood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sometimesfood/subscriptions","organizations_url":"https://api.github.com/users/sometimesfood/orgs","repos_url":"https://api.github.com/users/sometimesfood/repos","events_url":"https://api.github.com/users/sometimesfood/events{/privacy}","received_events_url":"https://api.github.com/users/sometimesfood/received_events","type":"User","site_admin":false},"body":"This pull request introduces a new input plugin named `filecount`. The `filecount` plugin counts files in a directory that match certain criteria (e.g. \"name\", \"size\", \"mtime\" etc.).\r\n\r\nWhile `filecount` is modeled after the [collectd filecount plugin](https://collectd.org/documentation/manpages/collectd.conf.5.shtml#plugin_filecount), the two plugins do not share any code.\r\n\r\n### 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.","created_at":"2018-06-30T07:21:40Z","updated_at":"2018-07-31T22:05:56Z","closed_at":"2018-07-31T22:05:56Z","merged_at":"2018-07-31T22:05:56Z","merge_commit_sha":"228efe9a1d832f4251efa864b19a53e9ecb3869d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":696213361,"node_id":"MDU6TGFiZWw2OTYyMTMzNjE=","url":"https://api.github.com/repos/influxdata/telegraf/labels/new%20plugin","name":"new plugin","color":"513cc6","default":false}],"milestone":{"url":"https://api.github.com/repos/influxdata/telegraf/milestones/31","html_url":"https://github.com/influxdata/telegraf/milestone/31","labels_url":"https://api.github.com/repos/influxdata/telegraf/milestones/31/labels","id":3350319,"node_id":"MDk6TWlsZXN0b25lMzM1MDMxOQ==","number":31,"title":"1.8.0","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":78,"closed_issues":64,"state":"open","created_at":"2018-05-15T23:51:20Z","updated_at":"2018-07-31T22:05:56Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/influxdata/telegraf/pulls/4363/commits","review_comments_url":"https://api.github.com/repos/influxdata/telegraf/pulls/4363/comments","review_comment_url":"https://api.github.com/repos/influxdata/telegraf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/influxdata/telegraf/issues/4363/comments","statuses_url":"https://api.github.com/repos/influxdata/telegraf/statuses/b1149fcc60491220772f53b38ed5f780bce19555","head":{"label":"sometimesfood:filecount-plugin","ref":"filecount-plugin","sha":"b1149fcc60491220772f53b38ed5f780bce19555","user":{"login":"sometimesfood","id":153385,"node_id":"MDQ6VXNlcjE1MzM4NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/153385?v=4","gravatar_id":"","url":"https://api.github.com/users/sometimesfood","html_url":"https://github.com/sometimesfood","followers_url":"https://api.github.com/users/sometimesfood/followers","following_url":"https://api.github.com/users/sometimesfood/following{/other_user}","gists_url":"https://api.github.com/users/sometimesfood/gists{/gist_id}","starred_url":"https://api.github.com/users/sometimesfood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sometimesfood/subscriptions","organizations_url":"https://api.github.com/users/sometimesfood/orgs","repos_url":"https://api.github.com/users/sometimesfood/repos","events_url":"https://api.github.com/users/sometimesfood/events{/privacy}","received_events_url":"https://api.github.com/users/sometimesfood/received_events","type":"User","site_admin":false},"repo":{"id":139226840,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkyMjY4NDA=","name":"telegraf","full_name":"sometimesfood/telegraf","owner":{"login":"sometimesfood","id":153385,"node_id":"MDQ6VXNlcjE1MzM4NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/153385?v=4","gravatar_id":"","url":"https://api.github.com/users/sometimesfood","html_url":"https://github.com/sometimesfood","followers_url":"https://api.github.com/users/sometimesfood/followers","following_url":"https://api.github.com/users/sometimesfood/following{/other_user}","gists_url":"https://api.github.com/users/sometimesfood/gists{/gist_id}","starred_url":"https://api.github.com/users/sometimesfood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sometimesfood/subscriptions","organizations_url":"https://api.github.com/users/sometimesfood/orgs","repos_url":"https://api.github.com/users/sometimesfood/repos","events_url":"https://api.github.com/users/sometimesfood/events{/privacy}","received_events_url":"https://api.github.com/users/sometimesfood/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sometimesfood/telegraf","description":"The plugin-driven server agent for collecting & reporting metrics.","fork":true,"url":"https://api.github.com/repos/sometimesfood/telegraf","forks_url":"https://api.github.com/repos/sometimesfood/telegraf/forks","keys_url":"https://api.github.com/repos/sometimesfood/telegraf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sometimesfood/telegraf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sometimesfood/telegraf/teams","hooks_url":"https://api.github.com/repos/sometimesfood/telegraf/hooks","issue_events_url":"https://api.github.com/repos/sometimesfood/telegraf/issues/events{/number}","events_url":"https://api.github.com/repos/sometimesfood/telegraf/events","assignees_url":"https://api.github.com/repos/sometimesfood/telegraf/assignees{/user}","branches_url":"https://api.github.com/repos/sometimesfood/telegraf/branches{/branch}","tags_url":"https://api.github.com/repos/sometimesfood/telegraf/tags","blobs_url":"https://api.github.com/repos/sometimesfood/telegraf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sometimesfood/telegraf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sometimesfood/telegraf/git/refs{/sha}","trees_url":"https://api.github.com/repos/sometimesfood/telegraf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sometimesfood/telegraf/statuses/{sha}","languages_url":"https://api.github.com/repos/sometimesfood/telegraf/languages","stargazers_url":"https://api.github.com/repos/sometimesfood/telegraf/stargazers","contributors_url":"https://api.github.com/repos/sometimesfood/telegraf/contributors","subscribers_url":"https://api.github.com/repos/sometimesfood/telegraf/subscribers","subscription_url":"https://api.github.com/repos/sometimesfood/telegraf/subscription","commits_url":"https://api.github.com/repos/sometimesfood/telegraf/commits{/sha}","git_commits_url":"https://api.github.com/repos/sometimesfood/telegraf/git/commits{/sha}","comments_url":"https://api.github.com/repos/sometimesfood/telegraf/comments{/number}","issue_comment_url":"https://api.github.com/repos/sometimesfood/telegraf/issues/comments{/number}","contents_url":"https://api.github.com/repos/sometimesfood/telegraf/contents/{+path}","compare_url":"https://api.github.com/repos/sometimesfood/telegraf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sometimesfood/telegraf/merges","archive_url":"https://api.github.com/repos/sometimesfood/telegraf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sometimesfood/telegraf/downloads","issues_url":"https://api.github.com/repos/sometimesfood/telegraf/issues{/number}","pulls_url":"https://api.github.com/repos/sometimesfood/telegraf/pulls{/number}","milestones_url":"https://api.github.com/repos/sometimesfood/telegraf/milestones{/number}","notifications_url":"https://api.github.com/repos/sometimesfood/telegraf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sometimesfood/telegraf/labels{/name}","releases_url":"https://api.github.com/repos/sometimesfood/telegraf/releases{/id}","deployments_url":"https://api.github.com/repos/sometimesfood/telegraf/deployments","created_at":"2018-06-30T06:57:46Z","updated_at":"2018-07-27T19:45:48Z","pushed_at":"2018-07-27T19:45:44Z","git_url":"git://github.com/sometimesfood/telegraf.git","ssh_url":"git@github.com:sometimesfood/telegraf.git","clone_url":"https://github.com/sometimesfood/telegraf.git","svn_url":"https://github.com/sometimesfood/telegraf","homepage":"","size":19101,"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":"4e1a2536334e4b11979fdc288a55c81a3d16d634","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-31T16:48:37Z","pushed_at":"2018-07-31T22:05:56Z","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":19273,"stargazers_count":5279,"watchers_count":5279,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1973,"mirror_url":null,"archived":false,"open_issues_count":632,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1973,"open_issues":632,"watchers":5279,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/4363"},"html":{"href":"https://github.com/influxdata/telegraf/pull/4363"},"issue":{"href":"https://api.github.com/repos/influxdata/telegraf/issues/4363"},"comments":{"href":"https://api.github.com/repos/influxdata/telegraf/issues/4363/comments"},"review_comments":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/4363/comments"},"review_comment":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/4363/commits"},"statuses":{"href":"https://api.github.com/repos/influxdata/telegraf/statuses/b1149fcc60491220772f53b38ed5f780bce19555"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"glinton","id":2653109,"node_id":"MDQ6VXNlcjI2NTMxMDk=","avatar_url":"https://avatars0.githubusercontent.com/u/2653109?v=4","gravatar_id":"","url":"https://api.github.com/users/glinton","html_url":"https://github.com/glinton","followers_url":"https://api.github.com/users/glinton/followers","following_url":"https://api.github.com/users/glinton/following{/other_user}","gists_url":"https://api.github.com/users/glinton/gists{/gist_id}","starred_url":"https://api.github.com/users/glinton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glinton/subscriptions","organizations_url":"https://api.github.com/users/glinton/orgs","repos_url":"https://api.github.com/users/glinton/repos","events_url":"https://api.github.com/users/glinton/events{/privacy}","received_events_url":"https://api.github.com/users/glinton/received_events","type":"User","site_admin":false},"comments":12,"review_comments":0,"maintainer_can_modify":false,"commits":6,"additions":372,"deletions":0,"changed_files":11}}
{"actor":{"display_login":"glinton"}}