MySQL 9.1.0
Source Code Documentation
Server telemetry traces service

Performance Schema server telemetry traces service is a mechanism which provides plugins/components a way to get notifications related to SQL statements lifetime.

Service Introduction

Service Interface

Example component