![]() |
Monitoring
3.3.4
O2 Monitoring library
|
Transport that sends string formatted metrics via UDP. More...
#include <UDP.h>
Public Member Functions | |
| UDP (const std::string &hostname, int port) | |
| ~UDP ()=default | |
| Default destructor. | |
| void | send (std::string &&message) override |
Transport that sends string formatted metrics via UDP.
| o2::monitoring::transports::UDP::UDP | ( | const std::string & | hostname, |
| int | port | ||
| ) |
Constructor
| hostname | InfluxDB instance hostname |
| port | InfluxDB instance port number |
|
overridevirtual |
Sends metric via UDP
| message | r-value string formated |
Implements o2::monitoring::transports::TransportInterface.