mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-10-25 21:19:03 +01:00
headers: fail Build on missing native exports and assert MI/COM layouts (#2739)
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
@@ -70,6 +70,10 @@ type vmVirtualNode struct {
|
||||
}
|
||||
|
||||
func (c *Collector) buildHost() error {
|
||||
if err := hcs.Load(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
var err error
|
||||
|
||||
c.perfDataCollectorLogicalProcessor, err = pdh.NewCollector[perfDataCounterValuesHost](c.logger, pdh.CounterTypeRaw, "Hyper-V Hypervisor Logical Processor", pdh.InstancesAll)
|
||||
|
||||
Reference in New Issue
Block a user