Monitoring  3.3.4
O2 Monitoring library
o2::monitoring::transports::UDP Class Reference

Transport that sends string formatted metrics via UDP. More...

#include <UDP.h>

Inheritance diagram for o2::monitoring::transports::UDP:
Collaboration diagram for o2::monitoring::transports::UDP:

Public Member Functions

 UDP (const std::string &hostname, int port)
 
 ~UDP ()=default
 Default destructor.
 
void send (std::string &&message) override
 

Detailed Description

Transport that sends string formatted metrics via UDP.

Constructor & Destructor Documentation

o2::monitoring::transports::UDP::UDP ( const std::string &  hostname,
int  port 
)

Constructor

Parameters
hostnameInfluxDB instance hostname
portInfluxDB instance port number

Member Function Documentation

void o2::monitoring::transports::UDP::send ( std::string &&  message)
overridevirtual

Sends metric via UDP

Parameters
messager-value string formated

Implements o2::monitoring::transports::TransportInterface.


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