AdamVig / GoCoApi

API Server for the GoCoStudent app.
https://gocostudent.adamvig.com/api
GNU General Public License v3.0
0 stars 0 forks source link

Add per-request logging #10

Closed AdamVig closed 7 years ago

AdamVig commented 8 years ago

In the old API, every request was logged to the user's doc in the database by incrementing the number of requests the user had made to that endpoint.

This became less relevant when the app gained the autoload feature that requests data for all enabled modules every time the app is opened. It may be more relevant to keep separate global-level and user-level statistics, though the global statistics would be better generated by a logging/analytics platform such as New Relic.

User Statistics

Duplicates #3.