MySQL 9.1.0
Source Code Documentation
Example component

Component/plugin that implements telemetry log export, typically also uses other services within the callback to inspect and filter out the logs according to its needs.

For example, you can skip logging records based on log metadata such as log level (severity). As an example, see "components/test_server_telemetry_logs" test component source code, used to test this service.