Only query the perflib objects we need

This commit is contained in:
Calle Pettersson
2020-02-09 21:09:26 +01:00
parent 0865061210
commit 21a02c4fbe
33 changed files with 97 additions and 57 deletions

View File

@@ -9,7 +9,7 @@ import (
)
func init() {
Factories["netframework_clrexceptions"] = NewNETFramework_NETCLRExceptionsCollector
registerCollector("netframework_clrexceptions", NewNETFramework_NETCLRExceptionsCollector)
}
// A NETFramework_NETCLRExceptionsCollector is a Prometheus collector for WMI Win32_PerfRawData_NETFramework_NETCLRExceptions metrics