mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-07 21:46:37 +00:00
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)
|
|
}
|