Added flag to filter services (like the one for processes). Added example for said flag in README.md (#109)

This commit is contained in:
vbeausoleil
2017-08-10 18:31:39 -04:00
committed by Martin Lindhe
parent 96faedf481
commit 44c39405c7
2 changed files with 27 additions and 1 deletions

View File

@@ -60,6 +60,14 @@ See [open issues](https://github.com/martinlindhe/wmi_exporter/issues)
The prometheus metrics will be exposed on [localhost:9182](http://localhost:9182)
## Examples
Please note: The quotes in the parameter names are required because of how Powershell parses command line arguments.
### Enable only service collector and specify a custom query
.\wmi_exporter.exe "-collectors.enabled" "service" "-collector.service.services-where" "Name='wmi_exporter'"
## License