r/tanstack • • 2d ago

Lightweight monitoring for self-hosted TanStack Start apps without Prometheus or Grafana

Post image

I've been developing StatLite, an open-source, lightweight application monitoring dashboard for small servers and self-hosted applications.

I've recently added a TanStack Start integration that provides:

  • HTTP request rates, errors and latency
  • Application CPU and V8 heap usage
  • Application availability and restarts
  • Historical charts and Telegram alerts

StatLite runs as a single Go binary with SQLite storage and a built-in dashboard, using around 15 MiB of RAM at idle.

The TanStack Start integration uses a copyable metrics helper without additional npm dependencies. No Prometheus server, Grafana, external monitoring service or StatLite SDK is required.

Everything stays on your own infrastructure.

GitHub (MIT license): https://github.com/PVRLabs/statlite

TanStack Start integration guide: https://github.com/PVRLabs/statlite/blob/main/docs/integrate/node/tanstack-start.md

Live dashboard demo: https://pvrlabs.xyz/statlite/demo.html

I'm curious how people monitor their self-hosted TanStack Start applications today. If you're already using an existing metrics library, I'd also be interested in adding native integration so you can reuse your existing instrumentation.

Feedback is welcome!

13 Upvotes

0 comments sorted by