filetime: add collector (#1639)

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2024-09-24 23:34:39 +02:00
committed by GitHub
parent d43f6ffdec
commit f442d6e22a
9 changed files with 234 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
package filetime_test
import (
"testing"
"github.com/prometheus-community/windows_exporter/pkg/collector/filetime"
"github.com/prometheus-community/windows_exporter/pkg/testutils"
)
func BenchmarkCollector(b *testing.B) {
testutils.FuncBenchmarkCollector(b, filetime.Name, filetime.NewWithFlags)
}