mirror of
https://github.com/prometheus-community/windows_exporter
synced 2024-12-25 07:52:05 +00:00
0711268d3c
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
14 lines
349 B
Go
14 lines
349 B
Go
package logon_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/prometheus-community/windows_exporter/pkg/collector/logon"
|
|
"github.com/prometheus-community/windows_exporter/pkg/testutils"
|
|
)
|
|
|
|
func BenchmarkCollector(b *testing.B) {
|
|
// No context name required as collector source is WMI
|
|
testutils.FuncBenchmarkCollector(b, logon.Name, logon.NewWithFlags)
|
|
}
|