mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-03-08 03:26:35 +00:00
Only query the perflib objects we need
This commit is contained in:
@@ -127,7 +127,7 @@ func mssqlExpandEnabledCollectors(enabled string) []string {
|
||||
}
|
||||
|
||||
func init() {
|
||||
Factories["mssql"] = NewMSSQLCollector
|
||||
registerCollector("mssql", NewMSSQLCollector)
|
||||
}
|
||||
|
||||
// A MSSQLCollector is a Prometheus collector for various WMI Win32_PerfRawData_MSSQLSERVER_* metrics
|
||||
|
||||
Reference in New Issue
Block a user