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

Configuration for network metrics collector. More...

#include <network_metrics_collector.h>

Collaboration diagram for kcenon::monitoring::network_metrics_config:
Collaboration graph

Public Attributes

bool collect_socket_buffers {true}
 Enable socket buffer collection.
 
bool collect_tcp_states {true}
 Enable TCP state collection.
 
uint64_t time_wait_warning_threshold {10000}
 TIME_WAIT warning threshold.
 
uint64_t close_wait_warning_threshold {100}
 CLOSE_WAIT warning threshold.
 
uint64_t queue_full_threshold_bytes {65536}
 Socket queue full threshold.
 
uint64_t memory_warning_threshold_bytes {104857600}
 Socket memory warning (100MB)
 

Detailed Description

Configuration for network metrics collector.

Definition at line 156 of file network_metrics_collector.h.

Member Data Documentation

◆ close_wait_warning_threshold

uint64_t kcenon::monitoring::network_metrics_config::close_wait_warning_threshold {100}

CLOSE_WAIT warning threshold.

Definition at line 160 of file network_metrics_collector.h.

160{100};

◆ collect_socket_buffers

bool kcenon::monitoring::network_metrics_config::collect_socket_buffers {true}

Enable socket buffer collection.

Definition at line 157 of file network_metrics_collector.h.

157{true};

◆ collect_tcp_states

bool kcenon::monitoring::network_metrics_config::collect_tcp_states {true}

Enable TCP state collection.

Definition at line 158 of file network_metrics_collector.h.

158{true};

◆ memory_warning_threshold_bytes

uint64_t kcenon::monitoring::network_metrics_config::memory_warning_threshold_bytes {104857600}

Socket memory warning (100MB)

Definition at line 162 of file network_metrics_collector.h.

162{104857600};

◆ queue_full_threshold_bytes

uint64_t kcenon::monitoring::network_metrics_config::queue_full_threshold_bytes {65536}

Socket queue full threshold.

Definition at line 161 of file network_metrics_collector.h.

161{65536};

◆ time_wait_warning_threshold

uint64_t kcenon::monitoring::network_metrics_config::time_wait_warning_threshold {10000}

TIME_WAIT warning threshold.

Definition at line 159 of file network_metrics_collector.h.

159{10000};

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