mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-04 17:46:36 +00:00
README: add an example for -collector.process.processes-where
This commit is contained in:
@@ -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)
|
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 process collector and specify a custom query
|
||||||
|
|
||||||
|
.\wmi_exporter.exe "-collectors.enabled" "process" "-collector.process.processes-where" "Name='firefox'"
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
Under [MIT](LICENSE)
|
Under [MIT](LICENSE)
|
||||||
|
|||||||
Reference in New Issue
Block a user