mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-02 08:36:36 +00:00
updates: add windows update collector (#1652)
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
12
pkg/collector/updates/updates_test.go
Normal file
12
pkg/collector/updates/updates_test.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package updates_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/prometheus-community/windows_exporter/pkg/collector/updates"
|
||||
"github.com/prometheus-community/windows_exporter/pkg/testutils"
|
||||
)
|
||||
|
||||
func BenchmarkCollector(b *testing.B) {
|
||||
testutils.FuncBenchmarkCollector(b, "printer", updates.NewWithFlags)
|
||||
}
|
||||
Reference in New Issue
Block a user