You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need call Live.getLastVisitsDetails API for a month data. But i found it is very slow to load all the data, eventually, it will say 'Gateway_Timeout' error.
I tried to filter only 'actionDetails' column and get 100 items one time. So, it will call around twenty times to get a month data. Just like below code.
There is not really any way to improve this performance. If you are happy with some raw data you may want to add disable_queued_filters=1 which will remove a lot of formatting and I think it will also remove the action details. The only way around this is otherwise to work with filter offset and filter limit and fetch them over many requests. Or you could develop your own plugin that gives you the data in the way you want which could be optimized for better performance (eg querying raw data in your plugin). More info on developing plugins see https://developer.piwik.org/ or https://piwik.org/development/
Hello piwik team,
I need call Live.getLastVisitsDetails API for a month data. But i found it is very slow to load all the data, eventually, it will say 'Gateway_Timeout' error.
I tried to filter only 'actionDetails' column and get 100 items one time. So, it will call around twenty times to get a month data. Just like below code.
But it didn't make much improvement. How can i improve the performance?
Thanks in advance,
The text was updated successfully, but these errors were encountered: