{"action":"opened","number":4189,"pull_request":{"url":"https://api.github.com/repos/influxdata/telegraf/pulls/4189","id":190094969,"html_url":"https://github.com/influxdata/telegraf/pull/4189","diff_url":"https://github.com/influxdata/telegraf/pull/4189.diff","patch_url":"https://github.com/influxdata/telegraf/pull/4189.patch","issue_url":"https://api.github.com/repos/influxdata/telegraf/issues/4189","number":4189,"state":"open","locked":false,"title":"Fix Cannot use instance wildcard in win_perf_counters #2879 and others","user":{"login":"vlastahajek","id":29980246,"avatar_url":"https://avatars3.githubusercontent.com/u/29980246?v=4","gravatar_id":"","url":"https://api.github.com/users/vlastahajek","html_url":"https://github.com/vlastahajek","followers_url":"https://api.github.com/users/vlastahajek/followers","following_url":"https://api.github.com/users/vlastahajek/following{/other_user}","gists_url":"https://api.github.com/users/vlastahajek/gists{/gist_id}","starred_url":"https://api.github.com/users/vlastahajek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vlastahajek/subscriptions","organizations_url":"https://api.github.com/users/vlastahajek/orgs","repos_url":"https://api.github.com/users/vlastahajek/repos","events_url":"https://api.github.com/users/vlastahajek/events{/privacy}","received_events_url":"https://api.github.com/users/vlastahajek/received_events","type":"User","site_admin":false},"body":"- Added wildcards expansion logic which seems to be only usable way to get instance names with instance index\r\n- Added periodic counters refreshing \r\n- Primarily fixes #2879  and also #1827\r\n- Fixes 1st (remaining) issue in #1291\r\n- Maybe also fixes #3303 and probably also #3293\r\n- As handling status of returned counters values properly, maybe fixes #1354 as well\r\n- Added wrappers around Win32 API syscalls\r\n     - Win32 API decoupled from plugin code\r\n    -  Enables mocking\r\n- Added unit tests\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.\r\n","created_at":"2018-05-23T20:27:05Z","updated_at":"2018-05-23T20:27:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/influxdata/telegraf/pulls/4189/commits","review_comments_url":"https://api.github.com/repos/influxdata/telegraf/pulls/4189/comments","review_comment_url":"https://api.github.com/repos/influxdata/telegraf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/influxdata/telegraf/issues/4189/comments","statuses_url":"https://api.github.com/repos/influxdata/telegraf/statuses/121a7d33e35724bdf84af458b1bd315e31af720e","head":{"label":"bonitoo-io:vh-multi-instance-process-fix","ref":"vh-multi-instance-process-fix","sha":"121a7d33e35724bdf84af458b1bd315e31af720e","user":{"login":"bonitoo-io","id":29195056,"avatar_url":"https://avatars0.githubusercontent.com/u/29195056?v=4","gravatar_id":"","url":"https://api.github.com/users/bonitoo-io","html_url":"https://github.com/bonitoo-io","followers_url":"https://api.github.com/users/bonitoo-io/followers","following_url":"https://api.github.com/users/bonitoo-io/following{/other_user}","gists_url":"https://api.github.com/users/bonitoo-io/gists{/gist_id}","starred_url":"https://api.github.com/users/bonitoo-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonitoo-io/subscriptions","organizations_url":"https://api.github.com/users/bonitoo-io/orgs","repos_url":"https://api.github.com/users/bonitoo-io/repos","events_url":"https://api.github.com/users/bonitoo-io/events{/privacy}","received_events_url":"https://api.github.com/users/bonitoo-io/received_events","type":"Organization","site_admin":false},"repo":{"id":97141051,"name":"telegraf","full_name":"bonitoo-io/telegraf","owner":{"login":"bonitoo-io","id":29195056,"avatar_url":"https://avatars0.githubusercontent.com/u/29195056?v=4","gravatar_id":"","url":"https://api.github.com/users/bonitoo-io","html_url":"https://github.com/bonitoo-io","followers_url":"https://api.github.com/users/bonitoo-io/followers","following_url":"https://api.github.com/users/bonitoo-io/following{/other_user}","gists_url":"https://api.github.com/users/bonitoo-io/gists{/gist_id}","starred_url":"https://api.github.com/users/bonitoo-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bonitoo-io/subscriptions","organizations_url":"https://api.github.com/users/bonitoo-io/orgs","repos_url":"https://api.github.com/users/bonitoo-io/repos","events_url":"https://api.github.com/users/bonitoo-io/events{/privacy}","received_events_url":"https://api.github.com/users/bonitoo-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bonitoo-io/telegraf","description":"The plugin-driven server agent for collecting & reporting metrics.","fork":true,"url":"https://api.github.com/repos/bonitoo-io/telegraf","forks_url":"https://api.github.com/repos/bonitoo-io/telegraf/forks","keys_url":"https://api.github.com/repos/bonitoo-io/telegraf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bonitoo-io/telegraf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bonitoo-io/telegraf/teams","hooks_url":"https://api.github.com/repos/bonitoo-io/telegraf/hooks","issue_events_url":"https://api.github.com/repos/bonitoo-io/telegraf/issues/events{/number}","events_url":"https://api.github.com/repos/bonitoo-io/telegraf/events","assignees_url":"https://api.github.com/repos/bonitoo-io/telegraf/assignees{/user}","branches_url":"https://api.github.com/repos/bonitoo-io/telegraf/branches{/branch}","tags_url":"https://api.github.com/repos/bonitoo-io/telegraf/tags","blobs_url":"https://api.github.com/repos/bonitoo-io/telegraf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bonitoo-io/telegraf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bonitoo-io/telegraf/git/refs{/sha}","trees_url":"https://api.github.com/repos/bonitoo-io/telegraf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bonitoo-io/telegraf/statuses/{sha}","languages_url":"https://api.github.com/repos/bonitoo-io/telegraf/languages","stargazers_url":"https://api.github.com/repos/bonitoo-io/telegraf/stargazers","contributors_url":"https://api.github.com/repos/bonitoo-io/telegraf/contributors","subscribers_url":"https://api.github.com/repos/bonitoo-io/telegraf/subscribers","subscription_url":"https://api.github.com/repos/bonitoo-io/telegraf/subscription","commits_url":"https://api.github.com/repos/bonitoo-io/telegraf/commits{/sha}","git_commits_url":"https://api.github.com/repos/bonitoo-io/telegraf/git/commits{/sha}","comments_url":"https://api.github.com/repos/bonitoo-io/telegraf/comments{/number}","issue_comment_url":"https://api.github.com/repos/bonitoo-io/telegraf/issues/comments{/number}","contents_url":"https://api.github.com/repos/bonitoo-io/telegraf/contents/{+path}","compare_url":"https://api.github.com/repos/bonitoo-io/telegraf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bonitoo-io/telegraf/merges","archive_url":"https://api.github.com/repos/bonitoo-io/telegraf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bonitoo-io/telegraf/downloads","issues_url":"https://api.github.com/repos/bonitoo-io/telegraf/issues{/number}","pulls_url":"https://api.github.com/repos/bonitoo-io/telegraf/pulls{/number}","milestones_url":"https://api.github.com/repos/bonitoo-io/telegraf/milestones{/number}","notifications_url":"https://api.github.com/repos/bonitoo-io/telegraf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bonitoo-io/telegraf/labels{/name}","releases_url":"https://api.github.com/repos/bonitoo-io/telegraf/releases{/id}","deployments_url":"https://api.github.com/repos/bonitoo-io/telegraf/deployments","created_at":"2017-07-13T15:56:26Z","updated_at":"2018-05-23T20:08:42Z","pushed_at":"2018-05-23T20:12:08Z","git_url":"git://github.com/bonitoo-io/telegraf.git","ssh_url":"git@github.com:bonitoo-io/telegraf.git","clone_url":"https://github.com/bonitoo-io/telegraf.git","svn_url":"https://github.com/bonitoo-io/telegraf","homepage":"","size":17942,"stargazers_count":2,"watchers_count":2,"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"},"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"influxdata:master","ref":"master","sha":"fbf09409e96af5c0afcedaed30439310502eff25","user":{"login":"influxdata","id":5713248,"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,"name":"telegraf","full_name":"influxdata/telegraf","owner":{"login":"influxdata","id":5713248,"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-05-23T20:14:00Z","pushed_at":"2018-05-23T19:27:27Z","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":24130,"stargazers_count":4931,"watchers_count":4931,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1833,"mirror_url":null,"archived":false,"open_issues_count":586,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1833,"open_issues":586,"watchers":4931,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/4189"},"html":{"href":"https://github.com/influxdata/telegraf/pull/4189"},"issue":{"href":"https://api.github.com/repos/influxdata/telegraf/issues/4189"},"comments":{"href":"https://api.github.com/repos/influxdata/telegraf/issues/4189/comments"},"review_comments":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/4189/comments"},"review_comment":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/influxdata/telegraf/pulls/4189/commits"},"statuses":{"href":"https://api.github.com/repos/influxdata/telegraf/statuses/121a7d33e35724bdf84af458b1bd315e31af720e"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":25,"additions":1505,"deletions":618,"changed_files":6}}
{"actor":{"display_login":"vlastahajek"}}