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

#include <system_resource_collector.h>

Collaboration diagram for kcenon::monitoring::system_metrics_config:
Collaboration graph

Public Attributes

bool collect_cpu = true
 
bool collect_memory = true
 
bool collect_disk = true
 
bool collect_network = true
 
bool collect_process = true
 
bool enable_load_history = false
 
size_t load_history_max_samples = 1000
 
std::chrono::milliseconds interval = std::chrono::seconds(10)
 

Detailed Description

Configuration for system metrics collection

Allows selective enabling/disabling of metric categories with configurable collection intervals for fine-grained control.

Examples
system_collectors_example.cpp.

Definition at line 68 of file system_resource_collector.h.

Member Data Documentation

◆ collect_cpu

bool kcenon::monitoring::system_metrics_config::collect_cpu = true
Examples
system_collectors_example.cpp.

Definition at line 69 of file system_resource_collector.h.

Referenced by main(), TEST_F(), TEST_F(), and TEST_F().

◆ collect_disk

bool kcenon::monitoring::system_metrics_config::collect_disk = true
Examples
system_collectors_example.cpp.

Definition at line 71 of file system_resource_collector.h.

Referenced by main(), TEST_F(), TEST_F(), and TEST_F().

◆ collect_memory

bool kcenon::monitoring::system_metrics_config::collect_memory = true
Examples
system_collectors_example.cpp.

Definition at line 70 of file system_resource_collector.h.

Referenced by main(), TEST_F(), TEST_F(), and TEST_F().

◆ collect_network

bool kcenon::monitoring::system_metrics_config::collect_network = true
Examples
system_collectors_example.cpp.

Definition at line 72 of file system_resource_collector.h.

Referenced by main(), TEST_F(), TEST_F(), and TEST_F().

◆ collect_process

bool kcenon::monitoring::system_metrics_config::collect_process = true
Examples
system_collectors_example.cpp.

Definition at line 73 of file system_resource_collector.h.

Referenced by main(), TEST_F(), and TEST_F().

◆ enable_load_history

bool kcenon::monitoring::system_metrics_config::enable_load_history = false
Examples
system_collectors_example.cpp.

Definition at line 74 of file system_resource_collector.h.

Referenced by main().

◆ interval

std::chrono::milliseconds kcenon::monitoring::system_metrics_config::interval = std::chrono::seconds(10)
Examples
system_collectors_example.cpp.

Definition at line 76 of file system_resource_collector.h.

Referenced by main().

◆ load_history_max_samples

size_t kcenon::monitoring::system_metrics_config::load_history_max_samples = 1000
Examples
system_collectors_example.cpp.

Definition at line 75 of file system_resource_collector.h.

Referenced by main().


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