percona PMM Query Analytics报“ No query classes for selected instance and time range”错

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了percona PMM Query Analytics报“ No query classes for selected instance and time range”错相关的知识,希望对你有一定的参考价值。

完整报错信息如下:

There is no data for the selected mysql instance, time range or search query.

QAN API error: "qh.Profile: No query classes for selected instance and time range. Please check whether your MySQL settings match the recommended.".
Check the /var/log/qan-api.log file in docker container for more information.


解决方法:

PMM使用slow log作为查询源,需要开启慢日志:

slow_query_log=ON
long_query_time=0

以上是关于percona PMM Query Analytics报“ No query classes for selected instance and time range”错的主要内容,如果未能解决你的问题,请参考以下文章

Percona Monitoring and Management (PMM) 监控MongoDB

Percona公司提供的MySQL监控工具PMM的安装和配置

安装Percona-pmm-server感触

centos 6.8 安装percona pmm(监控神器)

Percona Monitoring and Management(PMM)部署实录

percona顶级项目(针对数据库)