Metrics picker in Graphs which uses API.get should not trigger archiving #4755
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
c: Performance
For when we could improve the performance / speed of Matomo.
wontfix
If you can reproduce this issue, please reopen the issue or create a new one describing it.
Milestone
when loading Visitors > Overview, the graph at the top of the page has a Metrics picker. This metrics picker uses API.get to get the list of metrics available to display. When the picker calls API.get, if we are currently looking at a custom date range (period=range) then the API.get will be triggered on all plugins APIs loaded by this magic API.
So in turn the VisitFrequency.get and Goals.get and Actions.get and VisitsSummary.get are triggered. This is slow when not pre-archived.
So we should fix so that the picker itself only calls the report Metadata api and not the ask for report data when we only need metrics names.
The text was updated successfully, but these errors were encountered: