MySQL 26.10.0
Source Code Documentation
health_monitor_storage_mapping.cc File Reference
#include "health_monitor_storage_mapping.h"
#include <cassert>
#include <chrono>
#include <iterator>
#include <map>
#include <string>
#include <string_view>
#include <unordered_set>
#include <utility>
#include <vector>

Namespaces

namespace  hm
 
namespace  hm::anonymous_namespace{health_monitor_storage_mapping.cc}
 

Functions

bool hm::anonymous_namespace{health_monitor_storage_mapping.cc}::valid_name (const std::string_view name)
 
template<typename Row , typename Name >
bool hm::anonymous_namespace{health_monitor_storage_mapping.cc}::valid_rows (const std::vector< Row > &rows, Name name, const bool allow_empty=false)
 
bool hm::anonymous_namespace{health_monitor_storage_mapping.cc}::convert_milliseconds (const std::chrono::milliseconds value, uint64_t &output)
 
bool hm::anonymous_namespace{health_monitor_storage_mapping.cc}::has_row_producing_failure (const mysql::system_info::Storage_snapshot &snapshot)
 
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...