mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-04 01:26:37 +00:00
updates: add windows update collector (#1652)
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
@@ -46,6 +46,7 @@ import (
|
||||
"github.com/prometheus-community/windows_exporter/pkg/collector/textfile"
|
||||
"github.com/prometheus-community/windows_exporter/pkg/collector/thermalzone"
|
||||
"github.com/prometheus-community/windows_exporter/pkg/collector/time"
|
||||
"github.com/prometheus-community/windows_exporter/pkg/collector/updates"
|
||||
"github.com/prometheus-community/windows_exporter/pkg/collector/vmware"
|
||||
"github.com/prometheus-community/windows_exporter/pkg/collector/vmware_blast"
|
||||
)
|
||||
@@ -96,6 +97,7 @@ type Config struct {
|
||||
Textfile textfile.Config `yaml:"textfile"`
|
||||
Thermalzone thermalzone.Config `yaml:"thermalzone"`
|
||||
Time time.Config `yaml:"time"`
|
||||
Updates updates.Config `yaml:"updates"`
|
||||
Vmware vmware.Config `yaml:"vmware"`
|
||||
VmwareBlast vmware_blast.Config `yaml:"vmware_blast"`
|
||||
}
|
||||
@@ -149,6 +151,7 @@ var ConfigDefaults = Config{
|
||||
Textfile: textfile.ConfigDefaults,
|
||||
Thermalzone: thermalzone.ConfigDefaults,
|
||||
Time: time.ConfigDefaults,
|
||||
Updates: updates.ConfigDefaults,
|
||||
Vmware: vmware.ConfigDefaults,
|
||||
VmwareBlast: vmware_blast.ConfigDefaults,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user