windows_exporter/pkg/collector/msmq/msmq_test.go

14 lines
345 B
Go
Raw Normal View History

package msmq_test
import (
"testing"
"github.com/prometheus-community/windows_exporter/pkg/collector/msmq"
"github.com/prometheus-community/windows_exporter/pkg/testutils"
)
func BenchmarkCollector(b *testing.B) {
2024-08-05 13:50:41 +00:00
// No context name required as Collector source is WMI
testutils.FuncBenchmarkCollector(b, msmq.Name, msmq.NewWithFlags)
}