mirror of
https://github.com/prometheus-community/windows_exporter
synced 2025-01-09 07:50:10 +00:00
e6a15d4ec4
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
16 lines
381 B
Go
16 lines
381 B
Go
//go:build windows
|
|
|
|
package msmq_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/prometheus-community/windows_exporter/internal/collector/msmq"
|
|
"github.com/prometheus-community/windows_exporter/internal/utils/testutils"
|
|
)
|
|
|
|
func BenchmarkCollector(b *testing.B) {
|
|
// No context name required as Collector source is WMI
|
|
testutils.FuncBenchmarkCollector(b, msmq.Name, msmq.NewWithFlags)
|
|
}
|