long_running_queries
Identify MySQL/MariaDB queries running longer than a specified threshold (default 60s), listed oldest first, to quickly spot and address slow-running statements.
Instructions
[READ] Active statements running at least min_seconds, oldest first.
Args: min_seconds: Minimum age in seconds (default 60). target: Target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| min_seconds | No |