license collector (#1524)

This commit is contained in:
Jan-Otto Kröpke
2024-07-23 13:02:25 +02:00
committed by GitHub
parent 64c8423e61
commit fa8d28c181
8 changed files with 209 additions and 0 deletions

View File

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