mirror of
https://github.com/prometheus-community/windows_exporter
synced 2025-01-23 07:43:50 +00:00
04257a1b25
Collector builder functions are only used internally in the `collector` package, and shouldn't needlessly be exposed as part of the package API to downstream clients. Signed-off-by: Ben Reedy <breed808@breed808.com>
10 lines
134 B
Go
10 lines
134 B
Go
package collector
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func BenchmarkDNSCollector(b *testing.B) {
|
|
benchmarkCollector(b, "dns", newDNSCollector)
|
|
}
|