updates: add windows update collector (#1652)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2024-10-01 23:23:23 +02:00
committed by GitHub
parent 48e0e11063
commit 14910efd4f
7 changed files with 474 additions and 2 deletions

View 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)
}