QAN API error: "qh.Profile: No query classes for selected instance and time range. Please check whet
在使用PMM监控mysql时,进入http://ip/qan出现“QAN API error: "qh.Profile: No query classes for selected instance and time range. Please check whether your MySQL settings match the recommended.".”这个错误提示,感到莫名其妙的是刚开始为什么突然出现了故障:
我这边查到的原因是:
http://ip/qan这个页面默认查询的是最近1小时,但是最近一小时可能没有慢查询情况,所以出现上述错误提示,这应该算是PMM的一个bug吧,调整时间间隔就可。