MySQL 8.4.2
Source Code Documentation
monitor_value_t Struct Reference

Two monitor structures are defined in this file. More...

#include <srv0mon.h>

Public Attributes

std::chrono::system_clock::time_point mon_start_time
 Start time of monitoring
More...
 
std::chrono::system_clock::time_point mon_stop_time
 Stop time of monitoring. More...
 
std::chrono::system_clock::time_point mon_reset_time
 Time counter was reset. More...
 
std::atomic< mon_type_tmon_value
 Current counter Value. More...
 
mon_type_t mon_max_value
 Current Max value. More...
 
mon_type_t mon_min_value
 Current Min value. More...
 
mon_type_t mon_value_reset
 value at last reset More...
 
mon_type_t mon_max_value_start
 Max value since start. More...
 
mon_type_t mon_min_value_start
 Min value since start. More...
 
mon_type_t mon_start_value
 Value at the start time. More...
 
mon_type_t mon_last_value
 Last set of values. More...
 
monitor_running_t mon_status
 

Detailed Description

Two monitor structures are defined in this file.

One is "monitor_value_t" which contains dynamic counter values for each counter. The other is "monitor_info_t", which contains static information (counter name, desc etc.) for each counter. In addition, an enum datatype "monitor_id_t" is also defined, it identifies each monitor with an internally used symbol, whose integer value indexes into above two structure for its dynamic and static information. Developer who intend to add new counters would require to fill in counter information as described in "monitor_info_t" and create the internal counter ID in "monitor_id_t". Structure containing the actual values of a monitor counter.

Member Data Documentation

◆ mon_last_value

mon_type_t monitor_value_t::mon_last_value

Last set of values.

◆ mon_max_value

mon_type_t monitor_value_t::mon_max_value

Current Max value.

◆ mon_max_value_start

mon_type_t monitor_value_t::mon_max_value_start

Max value since start.

◆ mon_min_value

mon_type_t monitor_value_t::mon_min_value

Current Min value.

◆ mon_min_value_start

mon_type_t monitor_value_t::mon_min_value_start

Min value since start.

◆ mon_reset_time

std::chrono::system_clock::time_point monitor_value_t::mon_reset_time

Time counter was reset.

◆ mon_start_time

std::chrono::system_clock::time_point monitor_value_t::mon_start_time

Start time of monitoring

◆ mon_start_value

mon_type_t monitor_value_t::mon_start_value

Value at the start time.

◆ mon_status

monitor_running_t monitor_value_t::mon_status

◆ mon_stop_time

std::chrono::system_clock::time_point monitor_value_t::mon_stop_time

Stop time of monitoring.

◆ mon_value

std::atomic<mon_type_t> monitor_value_t::mon_value

Current counter Value.

◆ mon_value_reset

mon_type_t monitor_value_t::mon_value_reset

value at last reset


The documentation for this struct was generated from the following file: