IIS queries are disabled by default, and can be enabled with the
`--collector.process.iis=true` flag.
These WMI queries are suspected to be one source of virtual memory leaks
in the exporter.
These WMI queries are also responsible for timeouts on some hosts.
Signed-off-by: Ben Reedy <breed808@breed808.com>
* Added physical_disk collector.
Signed-off-by: Rob Scheepens <rob.scheepens@nutanix.com>
Signed-off-by: Brantley West <brantley@nutanix.com>
* exporter.go: Added physical_disk to defaultCollectors
Signed-off-by: Rob Scheepens <rob.scheepens@nutanix.com>
Signed-off-by: Brantley West <brantley@nutanix.com>
* Fix test cases for physicaldisk metrics
Signed-off-by: Rob Scheepens <rob.scheepens@nutanix.com>
Signed-off-by: Brantley West <brantley@nutanix.com>
* physical_disk.go: cleanup gofmt error
Signed-off-by: Brantley West <brantley@nutanix.com>
* physical_disk.go: populate physical disk 'number' label
Signed-off-by: Brantley West <brantley@nutanix.com>
* Added docs/collector.physical_disk.md.
Signed-off-by: Rob Scheepens <rob.scheepens@nutanix.com>
* physical_disk.go: change 'number' label to 'disk' to match node_exporter label
Signed-off-by: Brantley West <brantley@nutanix.com>
* physical_disk.go: adopt github.com/go-kit/log
Signed-off-by: Brantley West <brantley@nutanix.com>
* physical_disk.go: adopt include/exclude disk list
Signed-off-by: Brantley West <brantley@nutanix.com>
* fix: Add init config for physical_disk collector
Signed-off-by: Ben Reedy <breed808@breed808.com>
* chore: gofmt physical_disk collector
Signed-off-by: Ben Reedy <breed808@breed808.com>
---------
Signed-off-by: Rob Scheepens <rob.scheepens@nutanix.com>
Signed-off-by: Brantley West <brantley@nutanix.com>
Signed-off-by: Ben Reedy <breed808@breed808.com>
Co-authored-by: Brantley West <brantley@nutanix.com>
Co-authored-by: Ben Reedy <breed808@breed808.com>
Signed-off-by: Tom Powell <t.powell@mwam.com>
Added collector for VMware Blast session metrics
Signed-off-by: Tom Powell <t.powell@mwam.com>
Updating collection logic to handle missing WMI classes
Signed-off-by: Tom Powell <t.powell@mwam.com>
Updating packet loss metric to gauge
Signed-off-by: Tom Powell <t.powell@mwam.com>
This change adds 4 new CPU related metrics:
* process_mperf_total
* processor_rtc_total
* processor_utility_total
* processor_privileged_utility_total
and renames the existing process_performance to
processor_performance_total, since it was previously misunderstood and
was unlikely to be have been useful without the above new metrics
The data sources for these are not particularly well understood, and the
examples show that in some cases, arbitrary scaling factors are required
to actually make them useful, but in my testing on hundreds of systems
with a broad range of CPUs and operating systems from 2012r2 through to
2019 has proved out that we can use them to accurately display actual
CPU frequencies and CPU utilisation as it is represented in taskmgr.
Things I don't particularly like and would like input on:
* I would have preferred to do the scaling of processor_mperf_total in
the code, but there isn't an elegant way of doing this right now.
* Maybe processor_mperf_total should be called
processor_mperformance_total.
See #787 for discussion.
Signed-off-by: Steffen Higel <higels@valvesoftware.com>
Documented IIS worker process apppool matching.
Discovered this feature at [process.go:221](eb73859393/collector/process.go (L221)). This also solves issue #1074.
Signed-off-by: MarNicGit <47538428+MarNicGit@users.noreply.github.com>
Updated the regexp's to better working ones. `.+` does not match process names with no extension. Also used a neater regexp for the `|` example.
Signed-off-by: MarNicGit <47538428+MarNicGit@users.noreply.github.com>