5#ifndef GR_RESOURCE_MANAGER_CHANNEL_LAG
6#define GR_RESOURCE_MANAGER_CHANNEL_LAG
This class will be used to execute SQL Queries.
Definition: resource_manager_channel_lag.h:34
static int fetch_channel_lag(std::vector< lag_record > &record)
Execute a SQL Query and fetch the lag for group replication applier channel and recovery channel.
Definition: resource_manager_channel_lag.cc:145
static bool is_debug_variable_present(const std::string &variable)
Check if the passed string is present in GLOBAL.DEBUG or not.
Definition: resource_manager_channel_lag.cc:92
Some integer typedefs for easier portability.
static int record
Definition: mysqltest.cc:195
Definition: resource_manager.cc:53
Stores the channel lag information.
Definition: resource_manager_channel_lag.h:16
uint lag_in_seconds
Lag in seconds.
Definition: resource_manager_channel_lag.h:25
std::string channel_name
Either group_replication_applier or group_replication_recovery.
Definition: resource_manager_channel_lag.h:23
std::string metric
Either group_replication_applier_channel_lag or group_replication_recovery_channel_lag.
Definition: resource_manager_channel_lag.h:21
long long timestamp
Stores the timestamp when information was fetched.
Definition: resource_manager_channel_lag.h:18