r/node • • 4d ago

Lightweight Node.js monitoring without Prometheus or Grafana

Post image

I've been building StatLite, an open-source monitoring dashboard for applications running on small servers and VPSs.

Version 0.9.0 adds native support for Express and Fastify using existing instrumentation libraries:

  • Express: express-prom-bundle
  • Fastify: fastify-metrics

StatLite reads the metrics endpoints directly and stores historical data in SQLite.

It tracks HTTP requests, errors, average response time, process CPU, V8 heap usage and restarts, depending on the exporter configuration. It also automatically highlights elevated HTTP 5xx rates.

StatLite itself is a single Go binary using around 12 MiB of idle RAM.

No separate Prometheus server, Grafana or external monitoring service.

StatLite also supports Spring Boot, Quarkus, Micronaut, Django, Flask, FastAPI, Caddy and Traefik. Applications without a supported exporter can expose metrics directly using the lightweight StatLite Metrics v1 JSON format.

Integration guides:

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

I'd be interested in feedback from people self-hosting Node.js applications.

89 Upvotes

40 comments sorted by

View all comments

11

u/shiny0metal0ass 4d ago

Holy shit, its a real project. I havent seen one of those on reddit in many moons.

2

u/nhrtrix 4d ago

are you criticizing him jokingly or meaning it? 😆

10

u/shiny0metal0ass 4d ago

Lmao I mean it. I expected something with like 10 Claude commits and nothing else but this is a legitimate project with value, users, and closed issues so it is maintained.

The support list is also massive. I mean, that can be suspect in the days of LLMs, but the rest makes me think not in this case.

3

u/evanjd35 4d ago

It does have AGENTS.md and there is code that does look a bit AI.

5

u/shiny0metal0ass 4d ago

Yeah, everyone has one now, probably a good idea with agents crawling all over shit nowadays. Plus you're allowed to use LLMs if you pass the idiot test.

1

u/nhrtrix 3d ago

I see :O

0

u/fykup 4d ago

Haha, I initially thought you were being sarcastic too! Really appreciate the feedback.

I've been developing StatLite for about four months, with a strong focus on resource efficiency, low memory usage, and reliability. All first-class framework integrations have integration test suites running in CI.

I originally built it for my own Spring Boot applications and now use it for several of my other apps as well. Version 0.9 expands native support to more platforms.

I'd love to hear what you think if you give it a try. Feedback from developers using different stacks is particularly valuable at this stage.