24#ifndef RPL_APPLIER_METRICS_SERVICE_H
25#define RPL_APPLIER_METRICS_SERVICE_H
Ownership-agnostic array class, which is both trivial and standard-layout.
Definition: array_view.h:53
A type code and a value that is either a 64 bit integer, a boolean, or a bounded-length string.
Definition: field.h:41
static PFS_engine_table_share_proxy table
Definition: pfs.cc:61
Worker_transaction_type
Transaction type for workers.
Definition: rpl_applier_metrics_service.h:125
@ DDL_TRX_TYPE
Definition: rpl_applier_metrics_service.h:128
@ UNKNOWN_TRX_TYPE
Definition: rpl_applier_metrics_service.h:126
@ DML_TRX_TYPE
Definition: rpl_applier_metrics_service.h:127
Enum_worker_metric_type
The information for each replication worker.
Definition: rpl_applier_metrics_service.h:92
@ worker_metric_type_end
last element of the enum, not used for any field.
Definition: rpl_applier_metrics_service.h:111
@ worker_id_t
The worker id.
Definition: rpl_applier_metrics_service.h:96
@ thread_id_t
The worker thread id.
Definition: rpl_applier_metrics_service.h:100
@ transaction_ongoing_full_size_t
The transactions ongoing total full size.
Definition: rpl_applier_metrics_service.h:104
@ transaction_type_t
The worker transaction being worked.
Definition: rpl_applier_metrics_service.h:102
@ worker_metrics_channel_name_t
CHANNEL_NAME.
Definition: rpl_applier_metrics_service.h:94
@ is_thread_id_unknown_t
Is the thread id unknown.
Definition: rpl_applier_metrics_service.h:98
@ transaction_ongoing_progress_size_t
The transaction ongoing total executed size.
Definition: rpl_applier_metrics_service.h:106
Enum_applier_metric_type
Gives a type to each piece of data extracted.
Definition: rpl_applier_metrics_service.h:31
@ transactions_ongoing_full_size_sum_t
Transactions ongoing total full size.
Definition: rpl_applier_metrics_service.h:49
@ waits_due_to_commit_order_sum_time_t
The total time workers waited for the commit order.
Definition: rpl_applier_metrics_service.h:81
@ waits_for_queues_full_sum_time_t
the time waited when the worker queues were full
Definition: rpl_applier_metrics_service.h:77
@ waits_for_commit_dependency_count_t
the number of waits on transaction dependencies
Definition: rpl_applier_metrics_service.h:67
@ waits_for_queues_full_count_t
the number of waits when worker queues were full
Definition: rpl_applier_metrics_service.h:75
@ applier_execution_time_t
Total execution time.
Definition: rpl_applier_metrics_service.h:35
@ transaction_ongoing_t
Transactions ongoing.
Definition: rpl_applier_metrics_service.h:41
@ waits_for_work_from_source_count_t
the number of waits for work from source
Definition: rpl_applier_metrics_service.h:59
@ are_transaction_pending_counts_unknown_t
transaction pending values unknown
Definition: rpl_applier_metrics_service.h:43
@ waits_for_available_worker_sum_time_t
the time waited for a worker to be available
Definition: rpl_applier_metrics_service.h:65
@ waits_due_to_commit_order_count_t
The number of times workers waited for the commit order.
Definition: rpl_applier_metrics_service.h:79
@ waits_for_work_from_source_sum_time_t
the time waited for work from source
Definition: rpl_applier_metrics_service.h:61
@ transaction_pending_t
Transactions pending.
Definition: rpl_applier_metrics_service.h:45
@ waits_for_queues_memory_sum_time_t
the time waited due to the lack of memory for queueing
Definition: rpl_applier_metrics_service.h:73
@ applier_metric_type_end
last element of the enum, not used for any field.
Definition: rpl_applier_metrics_service.h:88
@ transactions_ongoing_progress_size_sum_t
Transactions ongoing total executed size.
Definition: rpl_applier_metrics_service.h:51
@ transactions_committed_t
Transactions committed.
Definition: rpl_applier_metrics_service.h:39
@ waits_for_available_worker_count_t
the number of waits for a worker to be available
Definition: rpl_applier_metrics_service.h:63
@ transactions_pending_size_sum_t
Transactions pending total size.
Definition: rpl_applier_metrics_service.h:55
@ applier_metrics_channel_name_t
CHANNEL_NAME.
Definition: rpl_applier_metrics_service.h:33
@ events_committed_count_t
Events scheduled.
Definition: rpl_applier_metrics_service.h:57
@ last_applier_start_t
Last applier start.
Definition: rpl_applier_metrics_service.h:37
@ transactions_committed_size_sum_t
Transactions committed total size.
Definition: rpl_applier_metrics_service.h:47
@ time_to_read_from_relay_log_t
the time sum spent reading from the relay log
Definition: rpl_applier_metrics_service.h:83
@ waits_for_commit_dependency_sum_time_t
the time waited on transaction dependencies
Definition: rpl_applier_metrics_service.h:69
@ are_transaction_pending_sizes_unknown_t
Are transaction pending values unknown.
Definition: rpl_applier_metrics_service.h:53
@ waits_for_queues_memory_count_t
the number of waits due to the lack of memory for queueing
Definition: rpl_applier_metrics_service.h:71
#define DECLARE_METHOD(retval, name, args)
Declares a method as a part of the Service definition.
Definition: service.h:103
#define END_SERVICE_DEFINITION(name)
A macro to end the last Service definition started with the BEGIN_SERVICE_DEFINITION macro.
Definition: service.h:91
#define BEGIN_SERVICE_DEFINITION(name)
Declares a new Service.
Definition: service.h:86
#define DECLARE_BOOL_METHOD(name, args)
Declares a method that returns bool as a part of the Service definition.
Definition: service.h:112