Merge pull request #107 from martinlindhe/doc-process

README: add an example for -collector.process.processes-where, fixes #105
This commit is contained in:
Calle Pettersson 2017-08-11 12:55:34 +02:00 committed by GitHub
commit e547c13716

View File

@ -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)