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

Backend that uses AppMon (MonALISA) More...

#include <ApMonBackend.h>

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

Public Member Functions

 ApMonBackend (const std::string &path)
 
 ~ApMonBackend ()=default
 Default destructor.
 
void send (std::vector< Metric > &&metrics) override
 
void send (const Metric &metric) 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

Backend that uses AppMon (MonALISA)

Uses ApMonBackend library to push metric to MonALISA Service. ApMonBackend accepts timestamps as integers, therefore a cast is needed.

Author
Adam Wegrzynek adam..nosp@m.wegr.nosp@m.zynek.nosp@m.@cer.nosp@m.n.ch

Constructor & Destructor Documentation

o2::monitoring::backends::ApMonBackend::ApMonBackend ( const std::string &  path)

Constructs AppMon backend

Parameters
pathfilepath to ApMonBackend configuration file

Member Function Documentation

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

Extends entity value

Parameters
nametag name (unused)
valuetag value that is concatenated to entity string

Implements o2::monitoring::Backend.

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

Sends multiple metrics not related to each other @param metrics vector of metrics

Implements o2::monitoring::Backend.

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

Sends metric via MonALISA ApMonBackend's intances is type-aware therefore cast of metric value is needed

Parameters
metricreference to metric object:

Implements o2::monitoring::Backend.


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