![]()  | 
  
    MySQL 9.5.0
    
   Source Code Documentation 
   | 
 
A service that allows you to extract stats from the replica applier. More...
#include <rpl_applier_metrics_service.h>
Public Attributes | |
| mysql_service_status_t(* | get_applier_metrics )(Applier_metrics_table *table) | 
| Get metrics for the replication applier.  More... | |
| void(* | free_applier_metrics )(Applier_metrics_table *table) | 
| Free memory for object holding metrics for the replication applier.  More... | |
| mysql_service_status_t(* | get_worker_metrics )(Worker_metrics_table *table) | 
| Get metrics for replication workers.  More... | |
| void(* | free_worker_metrics )(Worker_metrics_table *table) | 
| Free memory for object holding metrics for the replication workers.  More... | |
| mysql_service_status_t(* | enable_metric_collection )() | 
| Enables metric collection in the server for replication applier components.  More... | |
| mysql_service_status_t(* | disable_metric_collection )() | 
| Enables metric collection in the server for replication applier components.  More... | |
A service that allows you to extract stats from the replica applier.
You can extract general metrics for every running coordindator. You can extract metrics for all replication workers running
| mysql_service_status_t(* s_mysql_replication_applier_metrics::disable_metric_collection) () | 
Enables metric collection in the server for replication applier components.
| FALSE | Succeeded. | 
| TRUE | Failed. | 
| mysql_service_status_t(* s_mysql_replication_applier_metrics::enable_metric_collection) () | 
Enables metric collection in the server for replication applier components.
| FALSE | Succeeded. | 
| TRUE | Failed. | 
| void(* s_mysql_replication_applier_metrics::free_applier_metrics) (Applier_metrics_table *table) | 
Free memory for object holding metrics for the replication applier.
| [out] | table | Pointer to object that was previously retrieved from get_applier_metrics.  | 
| void(* s_mysql_replication_applier_metrics::free_worker_metrics) (Worker_metrics_table *table) | 
Free memory for object holding metrics for the replication workers.
| [out] | table | Pointer to object that was previously retrieved from get_worker_metrics.  | 
| mysql_service_status_t(* s_mysql_replication_applier_metrics::get_applier_metrics) (Applier_metrics_table *table) | 
Get metrics for the replication applier.
| [out] | table | pointer, whose value will be set to an array of arrays of fields in which the metric values are stored. | 
| FALSE | Succeeded. | 
| TRUE | Failed. | 
| mysql_service_status_t(* s_mysql_replication_applier_metrics::get_worker_metrics) (Worker_metrics_table *table) | 
Get metrics for replication workers.
| [out] | table | pointer, whose value will be set to an array of arrays of fields in which the metric values are stored. | 
| FALSE | Succeeded. | 
| TRUE | Failed. |