From ff68ef102f5ab017a80a94a62358be603808ae5a Mon Sep 17 00:00:00 2001 From: Andrey Burtasov Date: Thu, 16 Nov 2023 16:26:25 +0300 Subject: [PATCH] added smb collector to map Signed-off-by: Andrey Burtasov --- pkg/collector/map.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/collector/map.go b/pkg/collector/map.go index fc5c7e77..85e26933 100644 --- a/pkg/collector/map.go +++ b/pkg/collector/map.go @@ -43,6 +43,7 @@ import ( "github.com/prometheus-community/windows_exporter/pkg/collector/remote_fx" "github.com/prometheus-community/windows_exporter/pkg/collector/scheduled_task" "github.com/prometheus-community/windows_exporter/pkg/collector/service" + "github.com/prometheus-community/windows_exporter/pkg/collector/smb" "github.com/prometheus-community/windows_exporter/pkg/collector/smtp" "github.com/prometheus-community/windows_exporter/pkg/collector/system" "github.com/prometheus-community/windows_exporter/pkg/collector/tcp" @@ -111,6 +112,7 @@ var Map = map[string]types.CollectorBuilderWithFlags{ time.Name: time.NewWithFlags, vmware.Name: vmware.NewWithFlags, vmware_blast.Name: vmware_blast.NewWithFlags, + smb.Name: smb.NewWithFlags, } func Available() []string {