r/django • • 18h ago

Hosting and deployment Lightweight Django monitoring without running Prometheus or Grafana

Post image
16 Upvotes

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.

I'd be interested in feedback from people running Django on small VPSs.


r/django • • 5h ago

how do you handle seeding dev data that stays realistic as models change?

3 Upvotes

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?


r/django • • 6h ago

Django security releases issued: 6.1.4, 6.0.11, and 5.2.20

Thumbnail djangoproject.com
22 Upvotes