mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-02-20 11:46:36 +00:00
refactor: rename namespace to 'collector'
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
"net/http"
|
||||
"sync"
|
||||
|
||||
"github.com/martinlindhe/wmi_exporter/collectors"
|
||||
"github.com/martinlindhe/wmi_exporter/collector"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
)
|
||||
|
||||
@@ -29,9 +29,9 @@ var _ prometheus.Collector = &WmiExporter{}
|
||||
func NewWmiExporter() *WmiExporter {
|
||||
return &WmiExporter{
|
||||
collectors: []prometheus.Collector{
|
||||
collectors.NewOSCollector(),
|
||||
collectors.NewLogicalDiskCollector(),
|
||||
collectors.NewIISCollector(),
|
||||
collector.NewOSCollector(),
|
||||
collector.NewLogicalDiskCollector(),
|
||||
collector.NewIISCollector(),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user