Skip to content
PVRLabsPublic

About

Lightweight self-hosted application monitoring for small servers. Spring Boot, Micronaut, Quarkus, SQLite-backed history, simple charts. No Prometheus/Grafana stack required.

Topics

Resources

Security policy

Stars

271 stars

Watchers

2 watching

Forks

Repository files navigation

StatLite

GitHub release CI License Go

StatLite provides lightweight, self-hosted monitoring for Spring Boot and other applications running on VPSs and small servers. One Go binary polls Spring Boot Actuator and other supported metrics endpoints, stores metrics locally in SQLite, and provides built-in historical charts without requiring Prometheus or Grafana.

🌐 Website · 👀 Interactive demo

StatLite dashboard monitoring a Spring Boot payments API
Main application dashboard for the Spring target.

Beyond Spring Boot, native coverage extends to Quarkus and Micronaut, selected Python and Node.js frameworks, and HTTP traffic through Caddy and Traefik. StatLite Metrics v1 is a fully supported alternative for applications that expose their own metrics endpoint. It collects traffic, latency, CPU, memory, optional application health, and optional host metrics. Metrics and history stay on your server, without continuously sending application metrics to a third-party monitoring SaaS.

The dashboard highlights elevated server error rates even while an application reports UP. See the Attention guide.

StatLite is built for resource-constrained servers. Low memory, CPU, disk, and operational overhead are treated as product constraints.

Learn how to set up lightweight Spring Boot monitoring without Prometheus and Grafana.

StatLite focuses on predefined application and host metrics with built-in charts. See monitoring options for capabilities, limitations, and tradeoffs.

Install

Install the latest release on macOS or Linux:

curl -fsSL https://raw.githubusercontent.com/PVRLabs/statlite/main/install.sh | sh

Follow any PATH instructions printed by the installer.

Or install with Homebrew:

brew install pvrlabs/tap/statlite

For Windows, see the Windows guide.

See Installation for supported platforms, custom install locations, source builds, and server-wide Linux setup.

Try it

On macOS or Linux, curl and Homebrew install only the binary. First save the self-monitoring configuration as statlite.yaml in your current directory, then run:

statlite

Open http://127.0.0.1:9090. This configuration monitors StatLite itself; allow a few polling intervals for history to appear.

Try with Docker

Run StatLite using the official Docker image (linux/amd64 and linux/arm64):

docker run --rm \
  -p 127.0.0.1:9090:9090 \
  ghcr.io/pvrlabs/statlite:latest

Open http://127.0.0.1:9090. This monitors StatLite itself; history is discarded when the container is removed.

See the Docker guide for monitoring applications, persistent storage, and networking.

Configure an application

If StatLite is already running, press Ctrl+C before continuing.

With the native executable, inspect a running Spring Boot application with Actuator health and metrics exposed (see the Spring Boot quickstart):

statlite inspect 'http://localhost:8080' --create-config ./spring.yaml
statlite --config ./spring.yaml

Open http://127.0.0.1:9090. Send some requests to your application and allow a few polling intervals to see traffic, latency, and JVM memory.

For other frameworks, existing configurations, and manual setup, see Configuration and Supported integrations.

Security: The demo and generated configurations bind to localhost, so the dashboard is unreachable directly through external network interfaces. To view a dashboard running on a VPS, connect through an SSH tunnel and open it in your local browser. SSH authenticates the connection, so you can use your existing SSH login and keep the dashboard port private. See Security and Remote Access for details and alternatives.

For proxy-level HTTP monitoring, select one Caddy host or one Traefik service.

Supported metric sources

StatLite collects application health, traffic, latency, CPU, and memory metrics, depending on the integration. Spring Boot Actuator is the reference for application metrics and health.

  • Spring Boot: Actuator health, request metrics, JVM heap, process CPU, and optional host metrics. Supports Micrometer Prometheus and Actuator JSON.
  • Quarkus: Request, latency, CPU, JVM heap, and process metrics through Micrometer Prometheus/OpenMetrics. Optional SmallRye Health.
  • Micronaut: Request, latency, CPU, JVM heap, and process metrics through Micrometer Prometheus. Optional management health.
  • Python exporters for FastAPI, Django, Flask.
  • Node.js exporters for Express, Fastify.
  • StatLite Metrics v1: A small JSON endpoint for applications in any language. Integration guides cover FastAPI, Express, Django, Go net/http, and Gin.

StatLite and its integration helpers send no telemetry to external collection services. StatLite polls your configured endpoints, and metrics remain under your control.

See Supported integrations for details.

Documentation

License

MIT

About

Lightweight self-hosted application monitoring for small servers. Spring Boot, Micronaut, Quarkus, SQLite-backed history, simple charts. No Prometheus/Grafana stack required.

Topics

Resources

Security policy

Stars

271 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages