Monitoring
3.3.4
O2 Monitoring library
|
Backend pure virtual interface. More...
#include <Backend.h>
Public Member Functions | |
Backend () | |
Default constructor. | |
virtual | ~Backend ()=default |
Default destructor. | |
void | setVerbosisty (Verbosity level) |
Set verbosity level. | |
Verbosity | getVerbosity () |
Get verbosity level. | |
virtual void | send (const Metric &metric)=0 |
Sends metric via backend. | |
virtual void | send (std::vector< Metric > &&metrics)=0 |
Sends multiple metrics not related to each other. | |
virtual void | addGlobalTag (std::string_view name, std::string_view value)=0 |
Sets a tag. | |
Backend pure virtual interface.
Interface that allows to send a metric to remote backend. In addition, default tagset (for all handled metrics) can be created.