20 points z33k | 10 comments | | HN request time: 1.044s | source | bottom

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.
1. not_your_vase ◴[] No.42145841[source]
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).
replies(1): >>42148624 #
2. PeterZaitsev ◴[] No.42146511[source]
Check out Coroot, it is rather light, simple to deploy and understand
3. rickette ◴[] No.42148613[source]
netdata https://github.com/netdata/netdata
4. skwee357 ◴[] No.42148624[source]
Or you can use GoAccess [0]

[0] https://goaccess.io/

replies(1): >>42149586 #
5. kingkongjaffa ◴[] No.42149586{3}[source]
interesting

> GoAccess is written in C

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

6. GauntletWizard ◴[] No.42153143[source]
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
7. vdvsvwvwvwvwv ◴[] No.42153755[source]
I would love to know the answer? I wonder if Prometheus and Grafana would work at this light level of compute?
8. KronisLV ◴[] No.42155656[source]
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.

9. brokegrammer ◴[] No.42203275[source]
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.