11#include "roo_io/fs/filesystem.h"
29 roo_io::Filesystem&
fs()
const {
return fs_; }
30 const String&
name()
const {
return name_; }
40 roo_io::Filesystem& fs_;
77 Status compactVaultOneLevel();
86 int16_t compaction_head_index_end_;
89 bool flush_in_progress_;
100 void write(int64_t timestamp, uint64_t stream_id,
float data);
123 void next(std::vector<Sample>* sample);
In-memory cache of log directory entries.
Collection of timeseries sharing transform and source resolution.
roo_io::Filesystem & fs() const
Resolution resolution() const
const String & name() const
void getVaultFilePath(const VaultFileRef &ref, String *path) const
const Transform & transform() const
Reader for a single log file.
Reader that walks across a sequence of log files.
Writer for log files at a fixed resolution.
Sequential reader for a single vault file.
Identifies a specific file in the monitoring vault.
Iterator that scans monitoring data at a given resolution.
int64_t cursor() const
Returns current iterator timestamp.
void next(std::vector< Sample > *sample)
Advances by one resolution step and fills sample.
Writes vault files for a collection at a specific resolution.
Represents a single write operation to a monitoring collection.
void write(int64_t timestamp, uint64_t stream_id, float data)
Write interface for a monitoring collection.
const Collection & collection() const
void flushAll()
Periodically flushes logged data into vault files.
Umbrella header for the roo_monitoring module.
Resolution
Time resolution used for log and vault files.