I’ve been trying to find a good and repeatable way of doing metrics in Django. When I say metrics I mean something like: “User played X amount of games in month Y.”
This has been a big struggle. We’ve yet to figure a good way of doing this.
Our requirements are:
- no 3rd party service (we need to write and read these values)
- no secondary database (postgresql should do just nicely)
- Django ORM needs to work properly
If a good solution presents itself we are more than willing to waiver these requirements. But still they are the assumptions we are working on. Onto the problem itself.