#include <health_monitor_system_vars.h>
◆ System_vars()
| hm::System_vars::System_vars |
( |
| ) |
|
|
default |
◆ disk_fallback_enable()
| sv_bool & hm::System_vars::disk_fallback_enable |
( |
| ) |
|
|
static |
◆ disk_fallback_force()
| sv_bool & hm::System_vars::disk_fallback_force |
( |
| ) |
|
|
static |
◆ disk_forecast_report_interval()
| sv_int & hm::System_vars::disk_forecast_report_interval |
( |
| ) |
|
|
static |
◆ disk_forecast_run_mode()
| sv_ulong & hm::System_vars::disk_forecast_run_mode |
( |
| ) |
|
|
static |
◆ disk_forecast_running()
| sv_bool & hm::System_vars::disk_forecast_running |
( |
| ) |
|
|
static |
◆ disk_forecast_sample_interval()
| sv_int & hm::System_vars::disk_forecast_sample_interval |
( |
| ) |
|
|
static |
◆ disk_forecast_test_filename()
| sv_char & hm::System_vars::disk_forecast_test_filename |
( |
| ) |
|
|
static |
◆ disk_low_space_critical_level()
| sv_ulong & hm::System_vars::disk_low_space_critical_level |
( |
| ) |
|
|
static |
◆ disk_low_space_duration()
| sv_int & hm::System_vars::disk_low_space_duration |
( |
| ) |
|
|
static |
◆ disk_low_space_level()
| sv_ulong & hm::System_vars::disk_low_space_level |
( |
| ) |
|
|
static |
◆ disk_low_space_percent()
| sv_int & hm::System_vars::disk_low_space_percent |
( |
| ) |
|
|
static |
◆ disk_monitored()
| sv_char & hm::System_vars::disk_monitored |
( |
| ) |
|
|
static |
◆ disk_monitored_generation()
| uint64_t hm::System_vars::disk_monitored_generation |
( |
| ) |
|
|
static |
Return the generation of the cached automatic monitored path.
◆ disk_recovery_enable()
| sv_bool & hm::System_vars::disk_recovery_enable |
( |
| ) |
|
|
static |
◆ disk_recovery_increment()
| sv_int & hm::System_vars::disk_recovery_increment |
( |
| ) |
|
|
static |
◆ disk_recovery_level()
| sv_int & hm::System_vars::disk_recovery_level |
( |
| ) |
|
|
static |
◆ disk_recovery_max_cycles()
| sv_int & hm::System_vars::disk_recovery_max_cycles |
( |
| ) |
|
|
static |
◆ disk_recovery_time_1()
| sv_int & hm::System_vars::disk_recovery_time_1 |
( |
| ) |
|
|
static |
◆ disk_recovery_time_2()
| sv_int & hm::System_vars::disk_recovery_time_2 |
( |
| ) |
|
|
static |
◆ disk_recovery_window()
| sv_ulong & hm::System_vars::disk_recovery_window |
( |
| ) |
|
|
static |
◆ disk_retention()
| sv_int & hm::System_vars::disk_retention |
( |
| ) |
|
|
static |
◆ disk_running()
| sv_bool & hm::System_vars::disk_running |
( |
| ) |
|
|
static |
◆ disk_sample_interval()
| sv_int & hm::System_vars::disk_sample_interval |
( |
| ) |
|
|
static |
◆ disk_warn_level_1()
| sv_int & hm::System_vars::disk_warn_level_1 |
( |
| ) |
|
|
static |
◆ disk_warn_level_2()
| sv_int & hm::System_vars::disk_warn_level_2 |
( |
| ) |
|
|
static |
◆ disk_warn_level_3()
| sv_int & hm::System_vars::disk_warn_level_3 |
( |
| ) |
|
|
static |
◆ initialize_all()
| int hm::System_vars::initialize_all |
( |
| ) |
|
|
static |
◆ memory_report_definition()
| sv_char & hm::System_vars::memory_report_definition |
( |
| ) |
|
|
static |
◆ memory_reporting()
| sv_bool & hm::System_vars::memory_reporting |
( |
| ) |
|
|
static |
◆ memory_retention()
| sv_int & hm::System_vars::memory_retention |
( |
| ) |
|
|
static |
◆ memory_running()
| sv_bool & hm::System_vars::memory_running |
( |
| ) |
|
|
static |
◆ memory_sample_interval()
| sv_int & hm::System_vars::memory_sample_interval |
( |
| ) |
|
|
static |
◆ memory_warn_level_1()
| sv_ulong & hm::System_vars::memory_warn_level_1 |
( |
| ) |
|
|
static |
◆ memory_warn_level_2()
| sv_ulong & hm::System_vars::memory_warn_level_2 |
( |
| ) |
|
|
static |
◆ memory_warn_level_3()
| sv_ulong & hm::System_vars::memory_warn_level_3 |
( |
| ) |
|
|
static |
◆ periodic_report_definition()
| sv_char & hm::System_vars::periodic_report_definition |
( |
| ) |
|
|
static |
◆ periodic_reporting()
| sv_bool & hm::System_vars::periodic_reporting |
( |
| ) |
|
|
static |
◆ refresh_disk_monitored_datadir()
| void hm::System_vars::refresh_disk_monitored_datadir |
( |
MYSQL_THD |
thd | ) |
|
|
static |
Read and store the global data directory for automatic path selection.
This runs during registration. Runtime updates request an asynchronous refresh through the collector settings path.
- Parameters
-
| [in] | thd | THD handle or nullptr for the global value |
◆ register_all()
| int hm::System_vars::register_all |
( |
| ) |
|
|
static |
◆ request_disk_monitored_datadir_refresh()
| void hm::System_vars::request_disk_monitored_datadir_refresh |
( |
| ) |
|
|
static |
Request an automatic monitored path refresh after a system variable SET.
◆ select_disk_monitored_path()
| bool hm::System_vars::select_disk_monitored_path |
( |
const std::string & |
configured_path, |
|
|
std::string & |
effective_path, |
|
|
uint64_t & |
generation |
|
) |
| |
|
static |
Select the effective path monitored by the Disk Collector.
- Parameters
-
| [in] | configured_path | Configured disk_monitored value |
| [out] | effective_path | Configured path or stored data directory |
| [out] | generation | Current monitored-path cache generation |
- Returns
- true if a usable effective path is available, false otherwise
◆ status_interval()
| sv_int & hm::System_vars::status_interval |
( |
| ) |
|
|
static |
◆ system_cpu_stats_history()
| sv_bool & hm::System_vars::system_cpu_stats_history |
( |
| ) |
|
|
static |
◆ system_disk_stats_history()
| sv_bool & hm::System_vars::system_disk_stats_history |
( |
| ) |
|
|
static |
◆ system_memory_stats_history()
| sv_bool & hm::System_vars::system_memory_stats_history |
( |
| ) |
|
|
static |
◆ system_process_stats_history()
| sv_bool & hm::System_vars::system_process_stats_history |
( |
| ) |
|
|
static |
◆ system_retention()
| sv_int & hm::System_vars::system_retention |
( |
| ) |
|
|
static |
◆ system_running()
| sv_bool & hm::System_vars::system_running |
( |
| ) |
|
|
static |
◆ system_sample_interval()
| sv_int & hm::System_vars::system_sample_interval |
( |
| ) |
|
|
static |
◆ unregister_all()
| int hm::System_vars::unregister_all |
( |
| ) |
|
|
static |
◆ vars()
The documentation for this class was generated from the following files: