junobuild / juno

Build Web3 at Lightning Speed
https://juno.build
Other
194 stars 13 forks source link

Enhance analytics statistics limits #829

Open peterpeterparker opened 5 days ago

peterpeterparker commented 5 days ago

Currently, the statistics for the analytics (to present the dashboard) are calculated on the fly. When no particular satellites is selected, the page views limit for the calculation lies around 67,000 entries. The web vitals seems to have a lower limits. When selecting a satellite, likewise, it's smaller.

It would be nice to enhance the limit. Either we do more queries (like batching days and merging data on the frontend, mmmmh) or some timer that gather frequently statistics in the smart contract (costs cycles).