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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章