percona / percona-monitoring-plugins

Percona Monitoring Plugins
GNU General Public License v2.0
134 stars 113 forks source link

pmp-check-mysql-innodb Output Long Query #69

Open tony-caffe opened 7 years ago

tony-caffe commented 7 years ago

Hi,

For the monitor check, pmp-check-mysql-innodb, for max_duration option, when receiving an alert, it gave good information such as user host and duration but I think having the SQL Query would be helpful as well, that way its easier to track if needing to optimize and you dont have to go looking for it. I think this would be a great Feature Request that would be very useful.

Thanks!