r/programming • u/fykup • 13d ago
Lightweight Spring Boot Monitoring Without Prometheus and Grafana
https://pvrlabs.xyz/articles/lightweight-spring-boot-monitoring.html
2
Upvotes
r/programming • u/fykup • 13d ago
View all comments
Show parent comment
1
u/fykup 11d ago
Yes, retention is included. StatLite stores metrics locally in SQLite with 90-day retention by default, configurable (including unlimited retention). You can explore historical trends directly in the dashboard.
Retention configuration: https://github.com/PVRLabs/statlite/blob/main/docs/configuration.md#retention
For alerting, there is a read-only API and automation recipes covering health failures, HTTP 5xx spikes, CPU, and memory thresholds.
Alerting isn't built into the dashboard itself - scheduling and notifications are handled externally through scripting. There is also a complete Telegram alerting example with failure and recovery notifications.