Implementing smbclient collector (#1408)

Co-authored-by: Bob Allegretti <ballegre@gmail.com>
Co-authored-by: Jan-Otto Kröpke <github@jkroepke.de>
Co-authored-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
rob-scheepens
2024-05-11 12:06:03 -04:00
committed by GitHub
parent 9bf84fb10c
commit be25d79b71
7 changed files with 525 additions and 0 deletions

View File

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