mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-10-20 11:39:04 +02:00
pdh: report duplicate instances by occurrence instead of renaming them (#2742)
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
@@ -42,6 +42,9 @@ type collectorADAccessProcesses struct {
|
||||
|
||||
type perfDataCounterValuesADAccessProcesses struct {
|
||||
Name string
|
||||
// Occurrence makes pdh return every process with the same name; the
|
||||
// label logic in collectADAccessProcesses keeps them apart.
|
||||
Occurrence int
|
||||
|
||||
LdapReadTime float64 `perfdata:"LDAP Read Time"`
|
||||
LdapReadOperationsTotal float64 `perfdata:"LDAP Read Time,secondvalue"`
|
||||
|
||||
Reference in New Issue
Block a user