rakam-io / rakam-api

📈 Collect customer event data from your apps. (Note that this project only includes the API collector, not the visualization platform)
https://rakam.io
GNU Affero General Public License v3.0
799 stars 105 forks source link

Stop executing queries automatically onclick of event explorer. #105

Closed RameshByndoor closed 5 years ago

RameshByndoor commented 6 years ago

event explorer queries are executed automatically onclick, with a environment contains too many collections this would add delay before user selects desired events.

buremba commented 6 years ago

The default query needs to go through the statistics endpoint which uses materialized view. I agree that the UX is not great if the user wants to select a few collections but let's do the optimization for materialized view (concurrent INSERT) and restrict the number of collections to 20 and group the others as Others and see how to UX is. I would rather try to make it work since it's more interactive.