15 lines
321 B
Go
15 lines
321 B
Go
//go:build windows
|
|
|
|
package dns_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/prometheus-community/windows_exporter/internal/collector/dns"
|
|
"github.com/prometheus-community/windows_exporter/internal/utils/testutils"
|
|
)
|
|
|
|
func BenchmarkCollector(b *testing.B) {
|
|
testutils.FuncBenchmarkCollector(b, dns.Name, dns.NewWithFlags)
|
|
}
|