Monitoring
3.3.4
O2 Monitoring library
|
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< Backend > | getStdOut (http::url uri) |
std::unique_ptr< Backend > | getInfluxDbv2 (http::url uri) |
std::unique_ptr< Backend > | getInfluxDb (http::url uri) |
std::unique_ptr< Backend > | getApMon (http::url) |
std::unique_ptr< Backend > | getNoop (http::url) |
ALICE O2 Monitoring system.
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"