mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-10-29 15:09:05 +01: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:
@@ -60,6 +60,7 @@ func BenchmarkRowSetInstanceNames(b *testing.B) {
|
||||
rows.finish()
|
||||
state.names.removeUnseen()
|
||||
|
||||
state.keys = rows.keys
|
||||
state.valid = rows.valid
|
||||
}
|
||||
|
||||
@@ -171,6 +172,7 @@ func BenchmarkRowSetProcessShape(b *testing.B) {
|
||||
rows.finish()
|
||||
state.names.removeUnseen()
|
||||
|
||||
state.keys = rows.keys
|
||||
state.valid = rows.valid
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user