MySQL 9.1.0
Source Code Documentation
|
This service is named mysql_server_telemetry_traces_v1 and it exposes three major methods:
register_telemetry
: plugin/component to register notification callbacksunregister_telemetry
: plugin/component to unregister notification callbacksabort_telemetry
: abort telemetry tracing for current statement within THD (on telemetry component uninstall)Register/unregister methods accept the pointer to a telemetry_v1_t structure that stores a collection of function pointers (callbacks), each callback called to notify of a different event type:
This set of callbacks allows the plugin/component to implement telemetry tracing of the statements being executed.
Following diagram shows the block diagram of PFS services functionality, to register/unregister notification callbacks, exposed via mysql-server component.