Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
kcenon::monitoring::vm_metrics Struct Reference

Virtualization specific metrics. More...

#include <vm_collector.h>

Collaboration diagram for kcenon::monitoring::vm_metrics:
Collaboration graph

Public Attributes

bool is_virtualized {false}
 True if running in a VM.
 
vm_type type {vm_type::none}
 Detected hypervisor type.
 
double guest_cpu_steal_time {0.0}
 % CPU time stolen by hypervisor (if available)
 
std::string hypervisor_vendor
 Vendor string (e.g., "KVMKVMKVM" or "Microsoft Hv")
 

Detailed Description

Virtualization specific metrics.

Definition at line 69 of file vm_collector.h.

Member Data Documentation

◆ guest_cpu_steal_time

double kcenon::monitoring::vm_metrics::guest_cpu_steal_time {0.0}

% CPU time stolen by hypervisor (if available)

Definition at line 72 of file vm_collector.h.

72{0.0};

◆ hypervisor_vendor

std::string kcenon::monitoring::vm_metrics::hypervisor_vendor

Vendor string (e.g., "KVMKVMKVM" or "Microsoft Hv")

Definition at line 73 of file vm_collector.h.

◆ is_virtualized

bool kcenon::monitoring::vm_metrics::is_virtualized {false}

True if running in a VM.

Definition at line 70 of file vm_collector.h.

70{false};

◆ type

vm_type kcenon::monitoring::vm_metrics::type {vm_type::none}

Detected hypervisor type.

Definition at line 71 of file vm_collector.h.

@ none
Bare metal (or undetected)

The documentation for this struct was generated from the following file: