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

Internal network data collector using platform abstraction layer. More...

#include <network_metrics_collector.h>

Collaboration diagram for kcenon::monitoring::network_info_collector:
Collaboration graph

Public Member Functions

 network_info_collector ()
 
 ~network_info_collector ()
 
 network_info_collector (const network_info_collector &)=delete
 
network_info_collectoroperator= (const network_info_collector &)=delete
 
 network_info_collector (network_info_collector &&)=delete
 
network_info_collectoroperator= (network_info_collector &&)=delete
 
bool is_socket_buffer_monitoring_available () const
 
bool is_tcp_state_monitoring_available () const
 
network_metrics collect_metrics (const network_metrics_config &config)
 

Private Attributes

std::unique_ptr< platform::metrics_providerprovider_
 

Detailed Description

Internal network data collector using platform abstraction layer.

This class provides network data collection using the unified metrics_provider interface, eliminating platform-specific code.

Definition at line 199 of file network_metrics_collector.h.

Constructor & Destructor Documentation

◆ network_info_collector() [1/3]

kcenon::monitoring::network_info_collector::network_info_collector ( )

◆ ~network_info_collector()

kcenon::monitoring::network_info_collector::~network_info_collector ( )

◆ network_info_collector() [2/3]

kcenon::monitoring::network_info_collector::network_info_collector ( const network_info_collector & )
delete

◆ network_info_collector() [3/3]

kcenon::monitoring::network_info_collector::network_info_collector ( network_info_collector && )
delete

Member Function Documentation

◆ collect_metrics()

network_metrics kcenon::monitoring::network_info_collector::collect_metrics ( const network_metrics_config & config)

Collect all network metrics

Parameters
configConfiguration specifying which metrics to collect
Returns
network_metrics structure with current values

◆ is_socket_buffer_monitoring_available()

bool kcenon::monitoring::network_info_collector::is_socket_buffer_monitoring_available ( ) const

Check if socket buffer monitoring is available on this system

Returns
True if socket buffer metrics can be read

◆ is_tcp_state_monitoring_available()

bool kcenon::monitoring::network_info_collector::is_tcp_state_monitoring_available ( ) const

Check if TCP state monitoring is available on this system

Returns
True if TCP state metrics can be read

◆ operator=() [1/2]

network_info_collector & kcenon::monitoring::network_info_collector::operator= ( const network_info_collector & )
delete

◆ operator=() [2/2]

network_info_collector & kcenon::monitoring::network_info_collector::operator= ( network_info_collector && )
delete

Member Data Documentation

◆ provider_

std::unique_ptr<platform::metrics_provider> kcenon::monitoring::network_info_collector::provider_
private

Definition at line 230 of file network_metrics_collector.h.


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