mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-02 00:26:35 +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:
@@ -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'"
|
.\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
|
## License
|
||||||
|
|
||||||
Under [MIT](LICENSE)
|
Under [MIT](LICENSE)
|
||||||
|
|||||||
Reference in New Issue
Block a user