![]() |
Monitoring
3.3.4
O2 Monitoring library
|
Transport that sends string formatted metrics via TCP. More...
#include <TCP.h>
Public Member Functions | |
| TCP (const std::string &hostname, int port) | |
| ~TCP ()=default | |
| Default destructor. | |
| void | send (std::string &&message) override |
Transport that sends string formatted metrics via TCP.
| o2::monitoring::transports::TCP::TCP | ( | 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.