Hosting and deployment Lightweight Django monitoring without running Prometheus or Grafana
I've been building StatLite, an open-source monitoring dashboard for applications running on small servers and VPSs.
I just added native Django support using django-prometheus. Instead of running a separate Prometheus server, StatLite reads the metrics endpoint directly and stores the history in SQLite.
It tracks HTTP requests, errors, average latency (with a separate metrics listener), process CPU and restarts where available.
StatLite itself is a single Go binary using around 12 MiB of idle RAM.
There are two supported Django configurations: an inline metrics endpoint for basic HTTP monitoring, or a separate listener for latency monitoring as well.
- Django setup: https://github.com/PVRLabs/statlite/blob/main/docs/targets/django.md
- GitHub (MIT): https://github.com/PVRLabs/statlite
I'd be interested in feedback from people running Django on small VPSs.
r/django • u/quiet_stacktrace • 5h ago
how do you handle seeding dev data that stays realistic as models change?
on a mid sized django project we keep breaking our fixtures every time a model changes, and half the team has stopped using them. i've seen factory_boy, custom management commands and loading a scrubbed prod dump. what actually held up for you over a year or two, and how do you keep it from rotting?