MySQL 26.10.0
Source Code Documentation
health_monitor_storage_mapping.h File Reference
#include <mysql/components/library_mysys/system_info.h>
#include <ctime>
#include <string>
#include <vector>
#include "health_monitor_system_bits.h"

Go to the source code of this file.

Classes

struct  hm::System_Disk_Table_Row
 

Namespaces

namespace  hm
 

Functions

Result_state hm::convert_storage_snapshot (const mysql::system_info::Storage_snapshot &snapshot, time_t timestamp, std::vector< System_Disk_Stats > &output)
 Convert a storage snapshot into Health Monitor disk records. More...
 
System_Disk_Table_Row hm::make_system_disk_table_row (const System_Disk_Stats &record)
 Convert a disk record into a Performance Schema table row. More...
 
bool hm::system_disk_table_column_is_null (const System_Disk_Table_Row &row, unsigned int index)
 Determine whether disk table column is NULL. More...
 
bool hm::system_disk_read_write_metric_eligible (const System_Disk_Stats &record, bool partition)
 Determine whether a read/write metric can use a disk record. More...
 
bool hm::system_disk_flush_metric_eligible (const System_Disk_Stats &record, bool partition)
 Determine whether a flush metric can use a disk record. More...