MySQL 9.1.0
Source Code Documentation
Example component

Instrumented code that emits telemetry log records, can use either simple log interface (no attributes attached) or more complex one with string, double or int64 attributes attached to the record.

As an example, see "components/test_server_telemetry_logs" test component source code, used to test this service.