{"action":"opened","issue":{"url":"https://api.github.com/repos/influxdata/telegraf/issues/2210","repository_url":"https://api.github.com/repos/influxdata/telegraf","labels_url":"https://api.github.com/repos/influxdata/telegraf/issues/2210/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/telegraf/issues/2210/comments","events_url":"https://api.github.com/repos/influxdata/telegraf/issues/2210/events","html_url":"https://github.com/influxdata/telegraf/issues/2210","id":198027695,"number":2210,"title":"WinPerf Input Plugin Problems with multiple process instances","user":{"login":"githubmui","id":17704200,"avatar_url":"https://avatars.githubusercontent.com/u/17704200?v=3","gravatar_id":"","url":"https://api.github.com/users/githubmui","html_url":"https://github.com/githubmui","followers_url":"https://api.github.com/users/githubmui/followers","following_url":"https://api.github.com/users/githubmui/following{/other_user}","gists_url":"https://api.github.com/users/githubmui/gists{/gist_id}","starred_url":"https://api.github.com/users/githubmui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/githubmui/subscriptions","organizations_url":"https://api.github.com/users/githubmui/orgs","repos_url":"https://api.github.com/users/githubmui/repos","events_url":"https://api.github.com/users/githubmui/events{/privacy}","received_events_url":"https://api.github.com/users/githubmui/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-29T15:53:34Z","updated_at":"2016-12-29T15:53:34Z","closed_at":null,"body":"Hi,\r\n\r\ne.g. if Notepad is started three times, then the instances are name  \"Notepad\", \"Notepad#1\" and \"Notepad#2\" (Can be seen in PerfMon).\r\nIn this situation it seems not possible to get only the \"Process\" performance counters of instance \"Notepad#2\".\r\n\r\n[[inputs.win_perf_counters]]\r\n   [[inputs.win_perf_counters.object]]\r\n    # Process metrics\r\n    ObjectName = \"Process\"\r\n    Counters = [\"ID Process\",\"% Processor Time\",\"Handle Count\",\"Thread Count\"]\r\n    Instances = [\"Notepad#2\"]\r\n    Measurement = \"win_proc\"\r\n\r\n-> QUESTION 1) Is there a way to overcome this problems?\r\n\r\nEven when ' Instances=[\"*\"] ' is configured the instances are listed but can not be identified anymore.\r\nWith configuration ' Instances=[\"*\"] ' I got a further problem: hundreds of unnecessary process data where returned which repeatedly needed quite a lot of time.\r\n\r\n-> QUESTION 2) Is there a possibility to get only Notepad instances e.g. with a filter like ' Instance = [\"Notepad*\"] '?\r\n\r\nThank you in advance for help."}}
{"actor":{"display_login":"githubmui"}}