Done
Details
Assignee
Jiří ČtvrtkaJiří ČtvrtkaReporter
Agustin GallegoAgustin GallegoPriority
MediumComponents
Labels
Needs QA
YesFix versions
Story Points
3Sprint
None
Details
Details
Assignee
Jiří Čtvrtka
Jiří ČtvrtkaReporter
Agustin Gallego
Agustin GallegoPriority
Components
Labels
Needs QA
Yes
Fix versions
Story Points
3
Sprint
None
Smart Checklist
Smart Checklist
Smart Checklist
Created April 20, 2020 at 10:58 PM
Updated November 13, 2024 at 8:43 AM
Resolved July 1, 2020 at 8:35 AM
If we use only query analytics, by disabling MySQL metrics agent, the Explain and Tables tabs stop working, with the following message:
Couldn't resolve dsn, as there should be only one exporter
See screenshots attached, for before and after.
Steps to reproduce:
Add all services
pmm-admin add mysql ...
give it some time for it to collect queries correctly
test that Explain and Tables tabs are working correctly in QAN dashboard
Remove MySQL metrics exporter/agent
pmm-admin list
get agent ID for mysql metrics
pmm-admin inventory remove agent /agent_id/68dd87c1-4246-43ef-bb6b-5f524c1089d5
test Explain and Tables tabs again, to find errors as shown in attached screenshots
Suggested fix:
Now we use mysqld_exporter agent as single source of credentials, I suggest to use qan agent as primary source and then if it doesn't exist check other agent types related to current service type.