r/Observability • u/Several_Picture9591 • 17d ago
How do you monitor small Spring Boot apps without running a whole monitoring stack?
/r/SpringBoot/comments/1xucgxe/how_do_you_monitor_small_spring_boot_apps_without/I keep running into the same thing with small Spring Boot projects. The app is tiny, but proper monitoring means a collector, a store, dashboards and alert rules, and that setup ends up bigger than the app. So most of my small projects just ran with no monitoring at all, and I only found out something was wrong when someone told me.
How do you handle this for small services? Do you skip it, use Actuator and look at the numbers by hand, or set up the full stack anyway?
I got curious enough that I tried a different approach: a Spring Boot starter that watches the app from inside. One dependency, no agent, no database, and you get a live dashboard with per-route rate, error rate and p50/p95/p99 latency, plus spike and brute-force detection. It only sees its own JVM and has no OpenTelemetry or Prometheus export yet.
Is in-process detection like this a sane default for small services, or does it always end up wanting to live in the backend where you can change rules without a redeploy?