Monitoring  3.3.4
O2 Monitoring library
o2::monitoring::backends::StdOut Class Referencefinal

Prints metrics to standard output via std::cout. More...

#include <StdOut.h>

Inheritance diagram for o2::monitoring::backends::StdOut:
Collaboration diagram for o2::monitoring::backends::StdOut:

Public Member Functions

 StdOut (const std::string &prefix="METRIC")
 Default constructor.
 
 ~StdOut ()=default
 Default destructor.
 
void send (const Metric &metric) override
 
void send (std::vector< Metric > &&metrics) override
 
void addGlobalTag (std::string_view name, std::string_view value) override
 
- Public Member Functions inherited from o2::monitoring::Backend
 Backend ()
 Default constructor.
 
virtual ~Backend ()=default
 Default destructor.
 
void setVerbosisty (Verbosity level)
 Set verbosity level.
 
Verbosity getVerbosity ()
 Get verbosity level.
 

Detailed Description

Prints metrics to standard output via std::cout.

Member Function Documentation

void o2::monitoring::backends::StdOut::addGlobalTag ( std::string_view  name,
std::string_view  value 
)
overridevirtual

Adds tag

Parameters
nametag name
valuetag value

Implements o2::monitoring::Backend.

void o2::monitoring::backends::StdOut::send ( const Metric metric)
overridevirtual

Prints metric

Parameters
metricreference to metric object

Implements o2::monitoring::Backend.

void o2::monitoring::backends::StdOut::send ( std::vector< Metric > &&  metrics)
overridevirtual

Prints vector of metrics @param metrics vector of metrics

Implements o2::monitoring::Backend.


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