roo_monitoring
API Documentation for roo_monitoring
Loading...
Searching...
No Matches
common.cpp File Reference
#include "common.h"
#include <algorithm>
#include <memory>
#include "roo_logging.h"
Include dependency graph for common.cpp:

Go to the source code of this file.

Namespaces

namespace  roo_monitoring
 Umbrella header for the roo_monitoring module.
 

Functions

String roo_monitoring::subdir (String base, const String &sub)
 Returns a path formed by joining the base directory and subdirectory.
 
String roo_monitoring::filepath (String dir, int64_t file)
 Returns a file path for the given directory and timestamp-like value.
 
std::vector< int64_t > roo_monitoring::listFiles (roo_io::Mount &fs, const char *dirname)
 Lists timestamp-named files in the directory and returns their timestamps.
 

Variables

const char * roo_monitoring::kMonitoringBasePath = "/monitoring"
 Base directory for monitoring storage on the filesystem.
 
const char * roo_monitoring::kLogSubPath = "log"
 Subdirectory name used for raw log files.