|
pulsatrix
|
Construction options. More...
#include <system_monitor.hpp>
Public Attributes | |
| std::chrono::milliseconds | interval {1000} |
| Sampling period of the background thread (> 0). | |
| std::string | log_path = "" |
| Log file; empty = no log. | |
| LogFormat | format = LogFormat::JsonLines |
| bool | append = false |
| std::size_t | history_capacity = 3600 |
| Ring-buffer size for history(); 0 keeps none. | |
Construction options.
| bool pulsatrix::SystemMonitor::Options::append = false |
| LogFormat pulsatrix::SystemMonitor::Options::format = LogFormat::JsonLines |
Log record encoding.
| std::size_t pulsatrix::SystemMonitor::Options::history_capacity = 3600 |
Ring-buffer size for history(); 0 keeps none.
| std::chrono::milliseconds pulsatrix::SystemMonitor::Options::interval {1000} |
Sampling period of the background thread (> 0).
| std::string pulsatrix::SystemMonitor::Options::log_path = "" |
Log file; empty = no log.