IIS queries are disabled by default, and can be enabled with the
`--collector.process.iis=true` flag.
These WMI queries are suspected to be one source of virtual memory leaks
in the exporter.
These WMI queries are also responsible for timeouts on some hosts.
Signed-off-by: Ben Reedy <breed808@breed808.com>
Documented IIS worker process apppool matching.
Discovered this feature at [process.go:221](eb73859393/collector/process.go (L221)). This also solves issue #1074.
Signed-off-by: MarNicGit <47538428+MarNicGit@users.noreply.github.com>
Updated the regexp's to better working ones. `.+` does not match process names with no extension. Also used a neater regexp for the `|` example.
Signed-off-by: MarNicGit <47538428+MarNicGit@users.noreply.github.com>
Related to #659, this is a breaking change!
Fixes
```
windows_process_handle_count non-histogram and non-summary metrics should not have "_count" suffix
windows_process_thread_count non-histogram and non-summary metrics should not have "_count" suffix
```
for process and terminal_services collectors.
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>