109 bool write_stat,
bool write_metric,
constexpr value_type timestamp
Definition: classic_protocol_constants.h:278
Definition: component_command.h:29
void publish_filesystem_records(Disk_Info &sample, time_t timestamp, bool write_stat, bool write_metric, Filesystem_change change, const Disk_series_reset_action &reset_series, const Disk_record_writer &stat_writer, const Disk_record_writer &metric_writer)
Publish the records for one complete filesystem sample.
Definition: health_monitor_filesystem_sample.cc:96
bool accept_filesystem_snapshot(const mysql::system_info::Filesystem_snapshot &snapshot, Filesystem_sample_state &state, Disk_Info &output, Filesystem_change &change)
Accept a complete snapshot and update the last successful sample state.
Definition: health_monitor_filesystem_sample.cc:76
Filesystem_change classify_filesystem_change(const Filesystem_sample_state &state, const Disk_Info &sample)
Classify a complete sample against the last successful sample.
Definition: health_monitor_filesystem_sample.cc:64
bool convert_filesystem_snapshot(const mysql::system_info::Filesystem_snapshot &snapshot, Disk_Info &output)
Convert a filesystem snapshot into a Disk Collector record.
Definition: health_monitor_filesystem_sample.cc:35
std::function< void()> Disk_series_reset_action
Definition: health_monitor_disk_forecast_reset.h:72
Filesystem_change
Definition: health_monitor_filesystem_sample.h:36
std::function< void(const Disk_Info &)> Disk_record_writer
Definition: health_monitor_filesystem_sample.h:50
Disk Info Record structure for health_block_device.
Definition: health_monitor_disk_bits.h:36
Definition: health_monitor_filesystem_sample.h:43
bool initialized
Definition: health_monitor_filesystem_sample.h:46
uint64_t capacity_bytes
Definition: health_monitor_filesystem_sample.h:45
std::string filesystem_id
Definition: health_monitor_filesystem_sample.h:44
Filesystem identity and usage collected for one monitored path.
Definition: system_info.h:184