Skip to content

Latest commit

 

History

History
113 lines (104 loc) · 8.52 KB

collector.hyperv.md

File metadata and controls

113 lines (104 loc) · 8.52 KB

hyperv collector

The hyperv collector exposes metrics about the Hyper-V hypervisor

Metric name prefix hyperv
Classes Win32_PerfRawData_VmmsVirtualMachineStats_HyperVVirtualMachineHealthSummary
Win32_PerfRawData_VidPerfProvider_HyperVVMVidPartition
Win32_PerfRawData_HvStats_HyperVHypervisorRootPartition
Win32_PerfRawData_HvStats_HyperVHypervisor
Win32_PerfRawData_HvStats_HyperVHypervisorRootVirtualProcessor
Win32_PerfRawData_HvStats_HyperVHypervisorVirtualProcessor
Win32_PerfRawData_NvspSwitchStats_HyperVVirtualSwitch
Win32_PerfRawData_EthernetPerfProvider_HyperVLegacyNetworkAdapter
Win32_PerfRawData_Counters_HyperVVirtualStorageDevice
Win32_PerfRawData_NvspNicStats_HyperVVirtualNetworkAdapter
Enabled by default? No

Flags

None

Metrics

Name Description Type Labels
windows_hyperv_health_critical Not yet documented counter None
windows_hyperv_health_ok Not yet documented counter None
windows_hyperv_vid_physical_pages_allocated Not yet documented counter vm
windows_hyperv_vid_preferred_numa_node_index Not yet documented counter vm
windows_hyperv_vid_remote_physical_pages Not yet documented counter vm
windows_hyperv_root_partition_address_spaces Not yet documented counter None
windows_hyperv_root_partition_attached_devices Not yet documented counter None
windows_hyperv_root_partition_deposited_pages Not yet documented counter None
windows_hyperv_root_partition_device_dma_errors Not yet documented counter None
windows_hyperv_root_partition_device_interrupt_errors Not yet documented counter None
windows_hyperv_root_partition_device_interrupt_mappings Not yet documented counter None
windows_hyperv_root_partition_device_interrupt_throttle_events Not yet documented counter None
windows_hyperv_root_partition_preferred_numa_node_index Not yet documented counter None
windows_hyperv_root_partition_gpa_space_modifications Not yet documented counter None
windows_hyperv_root_partition_io_tlb_flush_cost Not yet documented counter None
windows_hyperv_root_partition_io_tlb_flush Not yet documented counter None
windows_hyperv_root_partition_recommended_virtual_tlb_size Not yet documented counter None
windows_hyperv_root_partition_physical_pages_allocated Not yet documented counter None
windows_hyperv_root_partition_1G_device_pages Not yet documented counter None
windows_hyperv_root_partition_1G_gpa_pages Not yet documented counter None
windows_hyperv_root_partition_2M_device_pages Not yet documented counter None
windows_hyperv_root_partition_2M_gpa_pages Not yet documented counter None
windows_hyperv_root_partition_4K_device_pages Not yet documented counter None
windows_hyperv_root_partition_4K_gpa_pages Not yet documented counter None
windows_hyperv_root_partition_virtual_tlb_flush_entires Not yet documented counter None
windows_hyperv_root_partition_virtual_tlb_pages Not yet documented counter None
windows_hyperv_hypervisor_virtual_processors Not yet documented counter None
windows_hyperv_hypervisor_logical_processors Not yet documented counter None
windows_hyperv_host_cpu_guest_run_time Not yet documented counter core
windows_hyperv_host_cpu_hypervisor_run_time Not yet documented counter core
windows_hyperv_host_cpu_remote_run_time Not yet documented counter core
windows_hyperv_host_cpu_total_run_time Not yet documented counter core
windows_hyperv_vm_cpu_guest_run_time Not yet documented counter vm, core
windows_hyperv_vm_cpu_hypervisor_run_time Not yet documented counter vm, core
windows_hyperv_vm_cpu_remote_run_time Not yet documented counter vm, core
windows_hyperv_vm_cpu_total_run_time Not yet documented counter vm, core
windows_hyperv_vswitch_broadcast_packets_received_total Not yet documented counter vswitch
windows_hyperv_vswitch_broadcast_packets_sent_total Not yet documented counter vswitch
windows_hyperv_vswitch_bytes_total Not yet documented counter vswitch
windows_hyperv_vswitch_bytes_received_total Not yet documented counter vswitch
windows_hyperv_vswitch_bytes_sent_total Not yet documented counter vswitch
windows_hyperv_vswitch_directed_packets_received_total Not yet documented counter vswitch
windows_hyperv_vswitch_directed_packets_send_total Not yet documented counter vswitch
windows_hyperv_vswitch_dropped_packets_incoming_total Not yet documented counter vswitch
windows_hyperv_vswitch_dropped_packets_outcoming_total Not yet documented counter vswitch
windows_hyperv_vswitch_extensions_dropped_packets_incoming_total Not yet documented counter vswitch
windows_hyperv_vswitch_extensions_dropped_packets_outcoming_total Not yet documented counter vswitch
windows_hyperv_vswitch_learned_mac_addresses_total Not yet documented counter vswitch
windows_hyperv_vswitch_multicast_packets_received_total Not yet documented counter vswitch
windows_hyperv_vswitch_multicast_packets_sent_total Not yet documented counter vswitch
windows_hyperv_vswitch_number_of_send_channel_moves_total Not yet documented counter vswitch
windows_hyperv_vswitch_number_of_vmq_moves_total Not yet documented counter vswitch
windows_hyperv_vswitch_packets_flooded_total Not yet documented counter vswitch
windows_hyperv_vswitch_packets_total Not yet documented counter vswitch
windows_hyperv_vswitch_packets_received_total Not yet documented counter vswitch
windows_hyperv_vswitch_packets_sent_total Not yet documented counter vswitch
windows_hyperv_vswitch_purged_mac_addresses_total Not yet documented counter vswitch
windows_hyperv_ethernet_bytes_dropped Not yet documented counter adapter
windows_hyperv_ethernet_bytes_received Not yet documented counter adapter
windows_hyperv_ethernet_bytes_sent Not yet documented counter adapter
windows_hyperv_ethernet_frames_dropped Not yet documented counter adapter
windows_hyperv_ethernet_frames_received Not yet documented counter adapter
windows_hyperv_ethernet_frames_sent Not yet documented counter adapter
windows_hyperv_vm_device_error_count Not yet documented counter vm_device
windows_hyperv_vm_device_queue_length Not yet documented counter vm_device
windows_hyperv_vm_device_bytes_read Not yet documented counter vm_device
windows_hyperv_vm_device_operations_read Not yet documented counter vm_device
windows_hyperv_vm_device_bytes_written Not yet documented counter vm_device
windows_hyperv_vm_device_operations_written Not yet documented counter vm_device
windows_hyperv_vm_interface_bytes_received Not yet documented counter vm_interface
windows_hyperv_vm_interface_bytes_sent Not yet documented counter vm_interface
windows_hyperv_vm_interface_packets_incoming_dropped Not yet documented counter vm_interface
windows_hyperv_vm_interface_packets_outgoing_dropped Not yet documented counter vm_interface
windows_hyperv_vm_interface_packets_received Not yet documented counter vm_interface
windows_hyperv_vm_interface_packets_sent Not yet documented counter vm_interface

Example metric

This collector does not yet have explained examples, we would appreciate your help adding them!

Useful queries

Percent of physical CPU resources used per VM (on instance "localhost")

(sum (rate(windows_hyperv_vm_cpu_hypervisor_run_time{instance="localhost"}[1m]))) / ignoring(vm) group_left max (windows_cs_logical_processors{instance="localhost"}) / 100000

Percent of physical CPU resources used by all VMs (on all monitored hosts)

(sum by (instance)(rate(windows_hyperv_vm_cpu_total_run_time{}[1m]))) / max by (instance)(windows_cs_logical_processors{}) / 100000

Percent of physical CPU resources by the hosts themselves (on all monitored hosts)

(sum by (instance)(rate(windows_hyperv_host_cpu_total_run_time{}[1m]))) / sum by (instance)(windows_cs_logical_processors{}) / 100000

Alerting examples

This collector does not yet have alerting examples, we would appreciate your help adding them!