Open Dieterbe opened 4 months ago
This will need a bit of manual work, while django-prometheus can automatically monitor the models and report creations, deletions and updates, we won't know where these came from (mobile / web). For things that already happen exclusively through the API, we could check the user agent.
Also, we can easily modify the count for users that logged in in the last x days or similar
https://github.com/korfuri/django-prometheus?tab=readme-ov-file#monitoring-your-models
In order to...
...i would like us to collect basic prometheus metrics from the wger backend, which we can then visualize in grafana. basically a count of these things happening, broken down by "platform" (web vs mobile)
we can then visualize these quite easily in grafana