docs: remove old service.services-where CLI frag from docs (#1634)
This commit is contained in:
parent
2635e5d8eb
commit
9bea340c44
|
@ -193,7 +193,7 @@ The prometheus metrics will be exposed on [localhost:9182](http://localhost:9182
|
||||||
|
|
||||||
### Enable only service collector and specify a custom query
|
### Enable only service collector and specify a custom query
|
||||||
|
|
||||||
.\windows_exporter.exe --collectors.enabled "service" --collector.service.services-where "Name='windows_exporter'"
|
.\windows_exporter.exe --collectors.enabled "service" --collector.service.include="windows_exporter"
|
||||||
|
|
||||||
### Enable only process collector and specify a custom query
|
### Enable only process collector and specify a custom query
|
||||||
|
|
||||||
|
@ -222,7 +222,7 @@ collectors:
|
||||||
enabled: cpu,net,service
|
enabled: cpu,net,service
|
||||||
collector:
|
collector:
|
||||||
service:
|
service:
|
||||||
services-where: "Name='windows_exporter'"
|
include: windows_exporter
|
||||||
log:
|
log:
|
||||||
level: warn
|
level: warn
|
||||||
```
|
```
|
||||||
|
|
|
@ -2,6 +2,6 @@ collectors:
|
||||||
enabled: cpu,cpu_info,exchange,iis,logical_disk,logon,memory,net,os,process,remote_fx,service,system,tcp,time,terminal_services,textfile
|
enabled: cpu,cpu_info,exchange,iis,logical_disk,logon,memory,net,os,process,remote_fx,service,system,tcp,time,terminal_services,textfile
|
||||||
collector:
|
collector:
|
||||||
service:
|
service:
|
||||||
services-where: "Name='windows_exporter'"
|
include: "windows_exporter"
|
||||||
log:
|
log:
|
||||||
level: warn
|
level: warn
|
|
@ -4,7 +4,7 @@ collectors:
|
||||||
enabled: cpu,cs,logical_disk,net,os,service,system
|
enabled: cpu,cs,logical_disk,net,os,service,system
|
||||||
collector:
|
collector:
|
||||||
service:
|
service:
|
||||||
services-where: Name='windows_exporter'
|
include: "windows_exporter"
|
||||||
scheduled_task:
|
scheduled_task:
|
||||||
include: /Microsoft/.+
|
include: /Microsoft/.+
|
||||||
log:
|
log:
|
||||||
|
|
|
@ -65,4 +65,4 @@ data:
|
||||||
enabled: '[defaults],container'
|
enabled: '[defaults],container'
|
||||||
collector:
|
collector:
|
||||||
service:
|
service:
|
||||||
services-where: "Name='containerd' or Name='kubelet'"
|
include: "containerd|kubelet"
|
||||||
|
|
Loading…
Reference in New Issue