added smb collector

Signed-off-by: Andrey Burtasov <BurtasovAA@GSP-I.RU>
This commit is contained in:
Andrey Burtasov
2023-11-16 13:09:44 +03:00
parent ab05f43716
commit 038eede644
2 changed files with 235 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
package smb_test
import (
"testing"
"github.com/prometheus-community/windows_exporter/pkg/collector/smb"
"github.com/prometheus-community/windows_exporter/pkg/testutils"
)
func BenchmarkCollector(b *testing.B) {
testutils.FuncBenchmarkCollector(b, smb.Name, smb.NewWithFlags)
}