106 std::string &effective_path,
107 uint64_t &generation);
#define MYSQL_THD
Definition: backup_page_tracker.h:38
Store and synchronize the effective automatic monitored path.
Definition: health_monitor_monitored_path.h:36
Definition: health_monitor_system_vars.h:68
static void refresh_disk_monitored_datadir(MYSQL_THD thd)
Read and store the global data directory for automatic path selection.
Definition: health_monitor_system_vars.cc:63
static sv_char & memory_report_definition()
Definition: health_monitor_system_vars.cc:144
static int unregister_all()
Definition: health_monitor_system_vars.cc:807
static sv_char & disk_monitored()
Definition: health_monitor_system_vars.cc:60
static bool select_disk_monitored_path(const std::string &configured_path, std::string &effective_path, uint64_t &generation)
Select the effective path monitored by the Disk Collector.
Definition: health_monitor_system_vars.cc:93
static sv_bool & system_disk_stats_history()
Definition: health_monitor_system_vars.cc:155
static uint64_t disk_monitored_generation()
Return the generation of the cached automatic monitored path.
Definition: health_monitor_system_vars.cc:88
static Vars & vars()
Definition: health_monitor_system_vars.cc:46
static int register_all()
Definition: health_monitor_system_vars.cc:608
static sv_int & memory_retention()
Definition: health_monitor_system_vars.cc:137
static sv_ulong & disk_low_space_level()
Definition: health_monitor_system_vars.cc:113
static sv_ulong & disk_forecast_run_mode()
Definition: health_monitor_system_vars.cc:131
static sv_ulong & disk_low_space_critical_level()
Definition: health_monitor_system_vars.cc:115
static sv_int & disk_forecast_sample_interval()
Definition: health_monitor_system_vars.cc:129
static sv_bool & disk_forecast_running()
Definition: health_monitor_system_vars.cc:128
static sv_int & disk_recovery_time_2()
Definition: health_monitor_system_vars.cc:122
static sv_int & memory_sample_interval()
Definition: health_monitor_system_vars.cc:136
static sv_int & disk_forecast_report_interval()
Definition: health_monitor_system_vars.cc:130
static sv_ulong & memory_warn_level_2()
Definition: health_monitor_system_vars.cc:139
static sv_int & disk_recovery_level()
Definition: health_monitor_system_vars.cc:120
static sv_int & status_interval()
Definition: health_monitor_system_vars.cc:54
static int initialize_all()
Definition: health_monitor_system_vars.cc:243
static sv_bool & periodic_reporting()
Definition: health_monitor_system_vars.cc:147
static sv_bool & system_process_stats_history()
Definition: health_monitor_system_vars.cc:157
static sv_int & disk_retention()
Definition: health_monitor_system_vars.cc:59
static sv_int & disk_recovery_time_1()
Definition: health_monitor_system_vars.cc:121
static sv_bool & system_running()
Definition: health_monitor_system_vars.cc:151
static sv_bool & disk_running()
Definition: health_monitor_system_vars.cc:57
static sv_ulong & memory_warn_level_3()
Definition: health_monitor_system_vars.cc:140
static sv_bool & system_cpu_stats_history()
Definition: health_monitor_system_vars.cc:154
static sv_int & disk_recovery_max_cycles()
Definition: health_monitor_system_vars.cc:123
static sv_bool & disk_fallback_force()
Definition: health_monitor_system_vars.cc:111
static sv_bool & memory_running()
Definition: health_monitor_system_vars.cc:135
static void request_disk_monitored_datadir_refresh()
Request an automatic monitored path refresh after a system variable SET.
Definition: health_monitor_system_vars.cc:84
static sv_int & disk_low_space_percent()
Definition: health_monitor_system_vars.cc:114
static sv_ulong & disk_recovery_window()
Definition: health_monitor_system_vars.cc:125
static sv_ulong & memory_warn_level_1()
Definition: health_monitor_system_vars.cc:138
static sv_char & disk_forecast_test_filename()
Definition: health_monitor_system_vars.cc:132
static sv_int & system_sample_interval()
Definition: health_monitor_system_vars.cc:152
static sv_int & system_retention()
Definition: health_monitor_system_vars.cc:153
static sv_int & disk_sample_interval()
Definition: health_monitor_system_vars.cc:58
static sv_bool & system_memory_stats_history()
Definition: health_monitor_system_vars.cc:156
static sv_char & periodic_report_definition()
Definition: health_monitor_system_vars.cc:148
static sv_bool & memory_reporting()
Definition: health_monitor_system_vars.cc:143
static sv_int & disk_low_space_duration()
Definition: health_monitor_system_vars.cc:112
static sv_bool & disk_fallback_enable()
Definition: health_monitor_system_vars.cc:110
static sv_int & disk_warn_level_3()
Definition: health_monitor_system_vars.cc:118
static sv_bool & disk_recovery_enable()
Definition: health_monitor_system_vars.cc:119
static sv_int & disk_recovery_increment()
Definition: health_monitor_system_vars.cc:124
static sv_int & disk_warn_level_2()
Definition: health_monitor_system_vars.cc:117
static sv_int & disk_warn_level_1()
Definition: health_monitor_system_vars.cc:116
Definition: health_monitor_system_vars.h:38
const char * desc
Definition: health_monitor_system_vars.h:43
Sysvar_base(void *val)
Definition: health_monitor_system_vars.h:41
void * val_ptr
Definition: health_monitor_system_vars.h:45
const char * name
Definition: health_monitor_system_vars.h:42
bool dynamic
Definition: health_monitor_system_vars.h:47
bool registered
Definition: health_monitor_system_vars.h:46
int type
Definition: health_monitor_system_vars.h:44
mysql_sys_var_check_func check_func
Definition: health_monitor_system_vars.h:48
mysql_sys_var_update_func update_func
Definition: health_monitor_system_vars.h:49
Definition: health_monitor_system_vars.h:53
T def
Definition: health_monitor_system_vars.h:59
T min
Definition: health_monitor_system_vars.h:57
Sysvar()
Definition: health_monitor_system_vars.h:55
T max
Definition: health_monitor_system_vars.h:58
T val
Definition: health_monitor_system_vars.h:56
Specifies macros to define Components.
int(* mysql_sys_var_check_func)(MYSQL_THD thd, SYS_VAR *var, void *save, struct st_mysql_value *value)
Signature for the check function.
Definition: component_sys_var_service.h:78
void(* mysql_sys_var_update_func)(MYSQL_THD thd, SYS_VAR *var, void *val_ptr, const void *save)
Signature for the update function.
Definition: component_sys_var_service.h:106
#define T
Definition: jit_executor_value.cc:373
Definition: component_command.h:29
Specifies macros to define Service Implementations.
Definition: health_monitor_system_vars.h:154
sv_int system_sample_interval
Definition: health_monitor_system_vars.h:206
sv_ulong disk_forecast_run_mode
Definition: health_monitor_system_vars.h:185
sv_int disk_low_space_percent
Definition: health_monitor_system_vars.h:168
sv_ulong disk_low_space_level
Definition: health_monitor_system_vars.h:167
sv_int status_interval
Definition: health_monitor_system_vars.h:156
sv_int disk_recovery_level
Definition: health_monitor_system_vars.h:174
sv_bool disk_forecast_running
Definition: health_monitor_system_vars.h:182
sv_int disk_low_space_duration
Definition: health_monitor_system_vars.h:166
sv_bool disk_fallback_force
Definition: health_monitor_system_vars.h:165
sv_char memory_report_definition
Definition: health_monitor_system_vars.h:198
sv_char disk_monitored
Definition: health_monitor_system_vars.h:162
sv_bool disk_running
Definition: health_monitor_system_vars.h:159
sv_bool memory_reporting
Definition: health_monitor_system_vars.h:197
sv_int disk_recovery_increment
Definition: health_monitor_system_vars.h:178
sv_int disk_retention
Definition: health_monitor_system_vars.h:161
sv_ulong memory_warn_level_3
Definition: health_monitor_system_vars.h:194
sv_ulong disk_low_space_critical_level
Definition: health_monitor_system_vars.h:169
sv_bool system_disk_stats_history
Definition: health_monitor_system_vars.h:209
sv_bool system_memory_stats_history
Definition: health_monitor_system_vars.h:210
sv_bool memory_running
Definition: health_monitor_system_vars.h:189
sv_bool system_running
Definition: health_monitor_system_vars.h:205
sv_int memory_sample_interval
Definition: health_monitor_system_vars.h:190
sv_int disk_recovery_time_1
Definition: health_monitor_system_vars.h:175
sv_int disk_warn_level_1
Definition: health_monitor_system_vars.h:170
sv_bool system_process_stats_history
Definition: health_monitor_system_vars.h:211
sv_ulong memory_warn_level_1
Definition: health_monitor_system_vars.h:192
sv_ulong memory_warn_level_2
Definition: health_monitor_system_vars.h:193
sv_bool disk_recovery_enable
Definition: health_monitor_system_vars.h:173
Monitored_path_cache disk_monitored_datadir
Definition: health_monitor_system_vars.h:163
sv_bool periodic_reporting
Definition: health_monitor_system_vars.h:201
sv_int disk_forecast_sample_interval
Definition: health_monitor_system_vars.h:183
sv_int disk_recovery_time_2
Definition: health_monitor_system_vars.h:176
sv_char periodic_report_definition
Definition: health_monitor_system_vars.h:202
sv_int system_retention
Definition: health_monitor_system_vars.h:207
bool registered
Definition: health_monitor_system_vars.h:213
sv_bool disk_fallback_enable
Definition: health_monitor_system_vars.h:164
sv_int disk_recovery_max_cycles
Definition: health_monitor_system_vars.h:177
sv_bool system_cpu_stats_history
Definition: health_monitor_system_vars.h:208
sv_int disk_forecast_report_interval
Definition: health_monitor_system_vars.h:184
sv_int memory_retention
Definition: health_monitor_system_vars.h:191
sv_int disk_warn_level_3
Definition: health_monitor_system_vars.h:172
sv_ulong disk_recovery_window
Definition: health_monitor_system_vars.h:179
sv_int disk_sample_interval
Definition: health_monitor_system_vars.h:160
sv_char disk_forecast_test_filename
Definition: health_monitor_system_vars.h:186
sv_int disk_warn_level_2
Definition: health_monitor_system_vars.h:171