Documentation ¶
Index ¶
- Constants
- Variables
- type Collector
- type Config
- type Win32_PerfRawData_BalancerStats_HyperVDynamicMemoryVM
- type Win32_PerfRawData_Counters_HyperVVirtualStorageDevice
- type Win32_PerfRawData_EthernetPerfProvider_HyperVLegacyNetworkAdapter
- type Win32_PerfRawData_HvStats_HyperVHypervisor
- type Win32_PerfRawData_HvStats_HyperVHypervisorLogicalProcessor
- type Win32_PerfRawData_HvStats_HyperVHypervisorRootPartition
- type Win32_PerfRawData_HvStats_HyperVHypervisorRootVirtualProcessor
- type Win32_PerfRawData_HvStats_HyperVHypervisorVirtualProcessor
- type Win32_PerfRawData_NvspNicStats_HyperVVirtualNetworkAdapter
- type Win32_PerfRawData_NvspSwitchStats_HyperVVirtualSwitch
- type Win32_PerfRawData_VidPerfProvider_HyperVVMVidPartition
- type Win32_PerfRawData_VmmsVirtualMachineStats_HyperVVirtualMachineHealthSummary
Constants ¶
const Name = "hyperv"
Variables ¶
var ConfigDefaults = Config{}
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector is a Prometheus Collector for hyper-v.
func NewWithFlags ¶
func NewWithFlags(_ *kingpin.Application) *Collector
type Win32_PerfRawData_BalancerStats_HyperVDynamicMemoryVM ¶
type Win32_PerfRawData_BalancerStats_HyperVDynamicMemoryVM struct { Name string `mi:"Name"` AddedMemory uint64 `mi:"AddedMemory"` AveragePressure uint64 `mi:"AveragePressure"` CurrentPressure uint64 `mi:"CurrentPressure"` GuestVisiblePhysicalMemory uint64 `mi:"GuestVisiblePhysicalMemory"` MaximumPressure uint64 `mi:"MaximumPressure"` MemoryAddOperations uint64 `mi:"MemoryAddOperations"` MemoryRemoveOperations uint64 `mi:"MemoryRemoveOperations"` MinimumPressure uint64 `mi:"MinimumPressure"` PhysicalMemory uint64 `mi:"PhysicalMemory"` RemovedMemory uint64 `mi:"RemovedMemory"` }
Win32_PerfRawData_BalancerStats_HyperVDynamicMemoryVM ...
type Win32_PerfRawData_Counters_HyperVVirtualStorageDevice ¶
type Win32_PerfRawData_Counters_HyperVVirtualStorageDevice struct { Name string `mi:"Name"` ErrorCount uint64 `mi:"ErrorCount"` QueueLength uint32 `mi:"QueueLength"` ReadBytesPersec uint64 `mi:"ReadBytesPersec"` ReadOperationsPerSec uint64 `mi:"ReadOperationsPerSec"` WriteBytesPersec uint64 `mi:"WriteBytesPersec"` WriteOperationsPerSec uint64 `mi:"WriteOperationsPerSec"` }
Win32_PerfRawData_Counters_HyperVVirtualStorageDevice ...
type Win32_PerfRawData_EthernetPerfProvider_HyperVLegacyNetworkAdapter ¶
type Win32_PerfRawData_EthernetPerfProvider_HyperVLegacyNetworkAdapter struct { Name string `mi:"Name"` BytesDropped uint64 `mi:"BytesDropped"` BytesReceivedPersec uint64 `mi:"BytesReceivedPersec"` BytesSentPersec uint64 `mi:"BytesSentPersec"` FramesDropped uint64 `mi:"FramesDropped"` FramesReceivedPersec uint64 `mi:"FramesReceivedPersec"` FramesSentPersec uint64 `mi:"FramesSentPersec"` }
Win32_PerfRawData_EthernetPerfProvider_HyperVLegacyNetworkAdapter ...
type Win32_PerfRawData_HvStats_HyperVHypervisor ¶
type Win32_PerfRawData_HvStats_HyperVHypervisor struct { LogicalProcessors uint64 `mi:"LogicalProcessors"` VirtualProcessors uint64 `mi:"VirtualProcessors"` }
Win32_PerfRawData_HvStats_HyperVHypervisor ...
type Win32_PerfRawData_HvStats_HyperVHypervisorLogicalProcessor ¶
type Win32_PerfRawData_HvStats_HyperVHypervisorLogicalProcessor struct { Name string `mi:"Name"` PercentGuestRunTime uint64 `mi:"PercentGuestRunTime"` PercentHypervisorRunTime uint64 `mi:"PercentHypervisorRunTime"` PercentTotalRunTime uint64 `mi:"PercentTotalRunTime"` }
Win32_PerfRawData_HvStats_HyperVHypervisorLogicalProcessor ...
type Win32_PerfRawData_HvStats_HyperVHypervisorRootPartition ¶
type Win32_PerfRawData_HvStats_HyperVHypervisorRootPartition struct { Name string `mi:"Name"` AddressSpaces uint64 `mi:"AddressSpaces"` AttachedDevices uint64 `mi:"AttachedDevices"` DepositedPages uint64 `mi:"DepositedPages"` DeviceDMAErrors uint64 `mi:"DeviceDMAErrors"` DeviceInterruptErrors uint64 `mi:"DeviceInterruptErrors"` DeviceInterruptMappings uint64 `mi:"DeviceInterruptMappings"` DeviceInterruptThrottleEvents uint64 `mi:"DeviceInterruptThrottleEvents"` GPAPages uint64 `mi:"GPAPages"` GPASpaceModificationsPersec uint64 `mi:"GPASpaceModificationsPersec"` IOTLBFlushCost uint64 `mi:"IOTLBFlushCost"` IOTLBFlushesPersec uint64 `mi:"IOTLBFlushesPersec"` RecommendedVirtualTLBSize uint64 `mi:"RecommendedVirtualTLBSize"` SkippedTimerTicks uint64 `mi:"SkippedTimerTicks"` Value1Gdevicepages uint64 `mi:"Value1Gdevicepages"` Value1GGPApages uint64 `mi:"Value1GGPApages"` Value2Mdevicepages uint64 `mi:"Value2Mdevicepages"` Value2MGPApages uint64 `mi:"Value2MGPApages"` Value4Kdevicepages uint64 `mi:"Value4Kdevicepages"` Value4KGPApages uint64 `mi:"Value4KGPApages"` VirtualTLBFlushEntiresPersec uint64 `mi:"VirtualTLBFlushEntiresPersec"` VirtualTLBPages uint64 `mi:"VirtualTLBPages"` }
Win32_PerfRawData_HvStats_HyperVHypervisorRootPartition ...
type Win32_PerfRawData_HvStats_HyperVHypervisorRootVirtualProcessor ¶
type Win32_PerfRawData_HvStats_HyperVHypervisorRootVirtualProcessor struct { Name string `mi:"Name"` PercentGuestRunTime uint64 `mi:"PercentGuestRunTime"` PercentHypervisorRunTime uint64 `mi:"PercentHypervisorRunTime"` PercentRemoteRunTime uint64 `mi:"PercentRemoteRunTime"` PercentTotalRunTime uint64 `mi:"PercentTotalRunTime"` CPUWaitTimePerDispatch uint64 `mi:"CPUWaitTimePerDispatch"` }
Win32_PerfRawData_HvStats_HyperVHypervisorRootVirtualProcessor ...
type Win32_PerfRawData_HvStats_HyperVHypervisorVirtualProcessor ¶
type Win32_PerfRawData_HvStats_HyperVHypervisorVirtualProcessor struct { Name string `mi:"Name"` PercentGuestRunTime uint64 `mi:"PercentGuestRunTime"` PercentHypervisorRunTime uint64 `mi:"PercentHypervisorRunTime"` PercentRemoteRunTime uint64 `mi:"PercentRemoteRunTime"` PercentTotalRunTime uint64 `mi:"PercentTotalRunTime"` CPUWaitTimePerDispatch uint64 `mi:"CPUWaitTimePerDispatch"` }
Win32_PerfRawData_HvStats_HyperVHypervisorVirtualProcessor ...
type Win32_PerfRawData_NvspNicStats_HyperVVirtualNetworkAdapter ¶
type Win32_PerfRawData_NvspNicStats_HyperVVirtualNetworkAdapter struct { Name string `mi:"Name"` BytesReceivedPersec uint64 `mi:"BytesReceivedPersec"` BytesSentPersec uint64 `mi:"BytesSentPersec"` DroppedPacketsIncomingPersec uint64 `mi:"DroppedPacketsIncomingPersec"` DroppedPacketsOutgoingPersec uint64 `mi:"DroppedPacketsOutgoingPersec"` PacketsReceivedPersec uint64 `mi:"PacketsReceivedPersec"` PacketsSentPersec uint64 `mi:"PacketsSentPersec"` }
Win32_PerfRawData_NvspNicStats_HyperVVirtualNetworkAdapter ...
type Win32_PerfRawData_NvspSwitchStats_HyperVVirtualSwitch ¶
type Win32_PerfRawData_NvspSwitchStats_HyperVVirtualSwitch struct { Name string `mi:"Name"` BroadcastPacketsReceivedPersec uint64 `mi:"BroadcastPacketsReceivedPersec"` BroadcastPacketsSentPersec uint64 `mi:"BroadcastPacketsSentPersec"` BytesPersec uint64 `mi:"BytesPersec"` BytesReceivedPersec uint64 `mi:"BytesReceivedPersec"` BytesSentPersec uint64 `mi:"BytesSentPersec"` DirectedPacketsReceivedPersec uint64 `mi:"DirectedPacketsReceivedPersec"` DirectedPacketsSentPersec uint64 `mi:"DirectedPacketsSentPersec"` DroppedPacketsIncomingPersec uint64 `mi:"DroppedPacketsIncomingPersec"` DroppedPacketsOutgoingPersec uint64 `mi:"DroppedPacketsOutgoingPersec"` ExtensionsDroppedPacketsIncomingPersec uint64 `mi:"ExtensionsDroppedPacketsIncomingPersec"` ExtensionsDroppedPacketsOutgoingPersec uint64 `mi:"ExtensionsDroppedPacketsOutgoingPersec"` LearnedMacAddresses uint64 `mi:"LearnedMacAddresses"` LearnedMacAddressesPersec uint64 `mi:"LearnedMacAddressesPersec"` MulticastPacketsReceivedPersec uint64 `mi:"MulticastPacketsReceivedPersec"` MulticastPacketsSentPersec uint64 `mi:"MulticastPacketsSentPersec"` NumberofSendChannelMovesPersec uint64 `mi:"NumberofSendChannelMovesPersec"` NumberofVMQMovesPersec uint64 `mi:"NumberofVMQMovesPersec"` PacketsFlooded uint64 `mi:"PacketsFlooded"` PacketsFloodedPersec uint64 `mi:"PacketsFloodedPersec"` PacketsPersec uint64 `mi:"PacketsPersec"` PacketsReceivedPersec uint64 `mi:"PacketsReceivedPersec"` PacketsSentPersec uint64 `mi:"PacketsSentPersec"` PurgedMacAddresses uint64 `mi:"PurgedMacAddresses"` PurgedMacAddressesPersec uint64 `mi:"PurgedMacAddressesPersec"` }
Win32_PerfRawData_NvspSwitchStats_HyperVVirtualSwitch ...
type Win32_PerfRawData_VidPerfProvider_HyperVVMVidPartition ¶
type Win32_PerfRawData_VidPerfProvider_HyperVVMVidPartition struct { Name string `mi:"Name"` PhysicalPagesAllocated uint64 `mi:"PhysicalPagesAllocated"` PreferredNUMANodeIndex uint64 `mi:"PreferredNUMANodeIndex"` RemotePhysicalPages uint64 `mi:"RemotePhysicalPages"` }
Win32_PerfRawData_VidPerfProvider_HyperVVMVidPartition ..,.
type Win32_PerfRawData_VmmsVirtualMachineStats_HyperVVirtualMachineHealthSummary ¶
type Win32_PerfRawData_VmmsVirtualMachineStats_HyperVVirtualMachineHealthSummary struct { HealthCritical uint32 `mi:"HealthCritical"` HealthOk uint32 `mi:"HealthOK"` }
Win32_PerfRawData_VmmsVirtualMachineStats_HyperVVirtualMachineHealthSummary vm health status.