Hacker News

z33k
Ask HN: Light self-hosted logs/metrics/traces dashboard?

I’m aware of enterprise scale observability tools like ELK stack and datadog. I’d like to monitor my containerized (hobby) web app running on a $6/mo VPS. I’d rather self-host to keep the costs low, but grafana takes up gigabytes of memory that my VPS does not have. Are there any lighter alternatives? My hobby site can handle around 500 concurrent users and I don’t expect much growth.


brokegrammeran hour ago

One way to save costs would be by using journalctl to view logs then setup your app to send you an email whenever an unhandled exception is raised or some other kind of error occurs.

GauntletWizard5 days ago

Grafana doesn't take up gigabytes unless you're doing something crazy; it's about 100mb in my small business deployments. Which still might be too much for your $6 VPS! I would still highly recommend Prometheus, as it's native dashboard has gotten a lot better with 3.0

KronisLV5 days ago

For monitoring servers: Zabbix would work.

For APM across some popular stacks: Apache Skywalking might be worth a look (though probably with PostgreSQL instead of ElasticSearch).

For analytics: Matomo is good.

For uptime monitoring: Uptime Kuma is really good.

Consider a separate cheap VPS for the monitoring stack, whatever it might end up being, like something from Hetzner.

not_your_vase6 days ago

Poor man's dashboard: Get your desired metrics with grep/wc/whatever shell commands from your logs, and visualize with PyQtGraph/PySide (or even gnuplot, for an even lighter experience).

skwee3576 days ago

Or you can use GoAccess [0]

[0] https://goaccess.io/

kingkongjaffa6 days ago

interesting

> GoAccess is written in C

I assumed it would be written in Golang from the name.

vdvsvwvwvwvwv5 days ago

I would love to know the answer? I wonder if Prometheus and Grafana would work at this light level of compute?

PeterZaitsev6 days ago

Check out Coroot, it is rather light, simple to deploy and understand

rickette6 days ago

hn-front (c) 2024 voximity
source