mirror of
https://github.com/prometheus-community/windows_exporter
synced 2025-02-18 04:57:20 +00:00
Merge pull request #107 from martinlindhe/doc-process
README: add an example for -collector.process.processes-where, fixes #105
This commit is contained in:
commit
e547c13716
@ -69,6 +69,14 @@ Please note: The quotes in the parameter names are required because of how Power
|
||||
.\wmi_exporter.exe "-collectors.enabled" "service" "-collector.service.services-where" "Name='wmi_exporter'"
|
||||
|
||||
|
||||
## Examples
|
||||
|
||||
Please note: The quotes in the parameter names are required because of how Powershell parses command line arguments.
|
||||
|
||||
### Enable only process collector and specify a custom query
|
||||
|
||||
.\wmi_exporter.exe "-collectors.enabled" "process" "-collector.process.processes-where" "Name='firefox'"
|
||||
|
||||
## License
|
||||
|
||||
Under [MIT](LICENSE)
|
||||
|
Loading…
Reference in New Issue
Block a user