Show and Tell Lightweight monitoring for Flask apps without running Prometheus and Grafana
I've been building StatLite, an open-source, self-hosted application monitoring tool for small servers and VPS instances.
I recently added native Flask support using the existing prometheus-flask-exporter library. If you already expose compatible Prometheus metrics, you can use them directly without deploying a separate Prometheus server or Grafana.
StatLite provides:
- HTTP request rates, 404s, 4xx and 5xx errors
- Average response latency
- Process CPU usage and restart detection
- Automatic detection of elevated server error rates
- Historical charts and optional Telegram alerts
It's a single Go binary with SQLite storage, using around 12-15 MiB of RAM at idle. Everything stays on your server, with no external telemetry collection.
Both single-process and multi-worker Gunicorn deployments are supported and verified, including metric continuity across individual worker replacements.
Flask integration guide:
https://github.com/PVRLabs/statlite/blob/main/docs/targets/flask.md
Live interactive demo:
https://pvrlabs.xyz/statlite/demo.html
GitHub (MIT license):
https://github.com/PVRLabs/statlite
I'm curious what other Flask developers use for monitoring, especially when running smaller applications on a VPS.
Would something like this be useful for your deployments?