Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
udp_transport.h File Reference

UDP transport layer for metric exporters. More...

#include "../core/result_types.h"
#include "../core/error_codes.h"
#include <string>
#include <vector>
#include <cstdint>
#include <chrono>
#include <memory>
#include <atomic>
#include <span>
Include dependency graph for udp_transport.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::monitoring::udp_send_result
 Result of a UDP send operation. More...
 
struct  kcenon::monitoring::udp_statistics
 Statistics for UDP transport operations. More...
 
class  kcenon::monitoring::udp_transport
 Abstract UDP transport interface. More...
 
class  kcenon::monitoring::stub_udp_transport
 Stub UDP transport for testing. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::monitoring
 

Functions

std::unique_ptr< udp_transportkcenon::monitoring::create_default_udp_transport ()
 Create default UDP transport.
 
std::unique_ptr< stub_udp_transportkcenon::monitoring::create_stub_udp_transport ()
 Create stub UDP transport for testing.
 

Detailed Description

UDP transport layer for metric exporters.

This file provides UDP client abstraction for sending metric data to StatsD and other UDP-based metric backends.

Definition in file udp_transport.h.