kellpossible / avalanche-report

A simple self-hosted web server for creating and managing an avalanche forecast for a region, along with accepting public observations.
GNU Affero General Public License v3.0
21 stars 2 forks source link

Improve analytics #22

Closed kellpossible closed 1 year ago

kellpossible commented 1 year ago

Batching should be on a 1m basis at minimum. This can be enforced by immediately collecting all results into hashmap counder and then applying the rate limiting for the database write.

It would also be good to have a per-route time series graph. This could be done using htmx to provide a nice experience. Click on the route to show the graph in a row underneath it or something similar.