mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-11 15:36:37 +00:00
feat!: Disable IIS queries in process collector
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>
This commit is contained in:
@@ -11,6 +11,7 @@ Enabled by default? | No
|
||||
|
||||
## Flags
|
||||
|
||||
<<<<<<< HEAD
|
||||
### `--collector.process.include`
|
||||
|
||||
Regexp of processes to include. Process name must both match `include` and not
|
||||
@@ -23,6 +24,12 @@ Regexp of processes to exclude. Process name must both match `include` and not
|
||||
match `exclude` to be included. Recommended to keep down number of returned
|
||||
metrics.
|
||||
|
||||
### `--collector.process.iis`
|
||||
|
||||
Enables IIS process name queries. IIS process names are combined with their app pool name to form the `process` label.
|
||||
|
||||
Disabled by default, and can be enabled with `--collector.process.iis=true`.
|
||||
|
||||
### Example
|
||||
To match all firefox processes: `--collector.process.include="firefox.*"`.
|
||||
Note that multiple processes with the same name will be disambiguated by
|
||||
|
||||
Reference in New Issue
Block a user