With empty slow query log, incorrectly reported as not configured

Description

When accessing Query Analytics in PMM for the host, where there are no slow queries logged yet, message "There is no query data because the MySQL Server is not configured for monitoring." is displayed.  As soon as there is any slow query in the log, the message disappears and queries are displayed.

This behavior is misleading, as the configuration is actually fine, so would be better to display a more specific message like 'slow query log does not contain any entries yet'. 

How to test

None

How to document

None

Smart Checklist

Activity

Lalit Choudhary May 10, 2019 at 7:52 AM

HI

Thank you for the report.

Details

Assignee

Reporter

Priority

Components

Needs QA

Yes

Needs Doc

Yes

Affects versions

Smart Checklist

Created May 9, 2019 at 7:21 AM
Updated November 13, 2024 at 8:33 AM