Monitoring  3.3.4
O2 Monitoring library
o2::monitoring Namespace Reference

ALICE O2 Monitoring system. More...

Namespaces

 backends
 Monitoring backends.
 
 transports
 Monitoring transports.
 

Classes

class  Backend
 Backend pure virtual interface. More...
 
class  DerivedMetrics
 Enables Calculation of derived metrics. More...
 
class  Metric
 Represents a metric including value, type of the value, name, timestamp and tags. More...
 
class  Monitoring
 Main class that collects metrics from user and dispatches them to selected monitoring backends. More...
 
class  MonitoringException
 Internal monitoring exception. More...
 
class  MonitoringFactory
 Monitoring and monitoring backends factory. More...
 
class  MonLogger
 Simple Monitoring logging class. More...
 
class  ProcessDetails
 Collects process and machine related details such as PID, process name, hostname. More...
 
class  ProcessMonitor
 Monitors current process and/or other processes running at the same machien. More...
 
class  VariantVisitorAdd
 Adds boost variants. More...
 
class  VariantVisitorRate
 Subtracts boost variants in order to calculate rate. More...
 

Enumerations

enum  DerivedMetricMode { RATE, INCREMENT, NONE }
 Available derived metric modes.
 
enum  Verbosity : short { Prod, Info, Debug }
 Metric and Backedn verbosity.
 
enum  MetricType { INT = 0, STRING = 1, DOUBLE = 2, UINT64_T = 3 }
 Metric types.
 
enum  Severity { Error = 31, Warn = 33, Info = 49 }
 List of possible log severities.
 

Functions

std::unique_ptr< BackendgetStdOut (http::url uri)
 
std::unique_ptr< BackendgetInfluxDbv2 (http::url uri)
 
std::unique_ptr< BackendgetInfluxDb (http::url uri)
 
std::unique_ptr< BackendgetApMon (http::url)
 
std::unique_ptr< BackendgetNoop (http::url)
 

Detailed Description

ALICE O2 Monitoring system.

Function Documentation

std::unique_ptr<Backend> o2::monitoring::getInfluxDbv2 ( http::url  uri)

Extracts token from header add sets it as addition HTTP header http://localhost:9999/?org=YOUR_ORG&bucket=YOUR_BUCKET&token=AUTH_TOKEN -> http://localhost:9999/api/v2/write?org=YOUR_ORG&bucket=YOUR_BUCKET –header "Authorization: Token YOURAUTHTOKEN"