Live data from Hacker News

Show HN: Homelab Monitoring Setup with Grafana

blog.randombits.host

11–20 of 84 posts

Re: Show HN: Homelab Monitoring Setup with Grafana

#11
I've found VictoriaMetrics all-in-one binary to be perfect size for home at the very least for metrics gathering.

Supports Prometheus querying and few other formats for ingesting so any knowledge bout "how to get data into prometheus" applies pretty much 1:1 + their own vmagent is pretty advanced. Not related to company in any way, just a happy user.

https://victoriametrics.com/

Re: Show HN: Homelab Monitoring Setup with Grafana

#12
post #7

This confirms to me what I suspected when I was trying to determine whether to host my own Grafana stack or use the Grafana Cloud free tier - that I'd end up spending a ton of time fiddling with a constellation of services I didn't actually care about that I could spend on the projects and services I do care about. I've not found it too hard to stay within the limits of the free tier. The 10 dashboards limit is the m…

> This confirms to me what I suspected when I was trying to determine whether to host my own Grafana stack or use the Grafana Cloud free tier - that I'd end up spending a ton of time fiddling with a constellation of services I didn't actually care about that I could spend on the projects and services I do care about. This. Although it can be fun to learn, I've done that, got the t-shirt (literally from a conference)

From my experience once setup it's pretty much "touch never aside from updates" type of deal. I had one stack based off influxdb for 5+ years, now changed the backend for victoriametrics (mostly because a lot of stuff supports prometheus-likes), and again, not much touching after setup.

But I did similar stuff for work so I already had the skills.

Re: Show HN: Homelab Monitoring Setup with Grafana

#13
post #11

I've found VictoriaMetrics all-in-one binary to be perfect size for home at the very least for metrics gathering. Supports Prometheus querying and few other formats for ingesting so any knowledge bout "how to get data into prometheus" applies pretty much 1:1 + their own vmagent is pretty advanced. Not related to company in any way, just a happy user. https://victoriametrics.com/

I’ll never understand how companies with a UI focused product end up with websites that don’t have any screenshots of the UI. I spent over a minute on the site and couldn’t find a screenshot.

Re: Show HN: Homelab Monitoring Setup with Grafana

#14
post #2

Hey everyone, this is a post I've been working on the past few months about setting up my own monitoring stack with Grafana for my home server. I'd love your feedback on how this process could be easier for me, some resources on learning the Grafana query languages, and general comments. Thanks for taking the time to read + engage!

What does the monitoring actually do for you? I've seen these setups, even setup one for myself a few times (either Grafana or similar such as Netdata, or Linode's Longview) but I've not really seen what it does for me beyond the "your disk is almost full" warnings.

Re: Show HN: Homelab Monitoring Setup with Grafana

#15
post #11

I've found VictoriaMetrics all-in-one binary to be perfect size for home at the very least for metrics gathering. Supports Prometheus querying and few other formats for ingesting so any knowledge bout "how to get data into prometheus" applies pretty much 1:1 + their own vmagent is pretty advanced. Not related to company in any way, just a happy user. https://victoriametrics.com/

I’ll never understand how companies with a UI focused product end up with websites that don’t have any screenshots of the UI. I spent over a minute on the site and couldn’t find a screenshot.

It’s a database

Re: Show HN: Homelab Monitoring Setup with Grafana

#16

I'm in the process of building out a Grafana stack (Prometheus, Loki, Tempo, Mimir, Grafana) for my day job right now. ...and also for one of my side projects, OSRBeyond. It's easy to get overwhelmed by all the moving pieces, but it's also a lot of _fun_ to set up.

> It's easy to get overwhelmed by all the moving pieces

Exactly my thoughts! Isn't there something (open source and as good as Prometheus+Grafana) that doesn't have as many moving parts as the stack used by OP? I can imagine there are many use cases for that: from side projects (homelabs) to small startups that don't have huge distributed systems, but still need monitoring (without relying on third-parties).

Ideally, my setup would be:

- install an agent in each server I'm interesting in gathering metrics from. In this regard, Prometheus works just fine

- one service to handle logs/metrics/traces ingestion and that allows you to search and visualize your stuff in nice dashboards. Grafana works, but it doesn't support logs and traces out of the box (you need Loki for that)

So, basically 2 pieces of software (if they can be installed by just dropping a binary, even better)

Re: Show HN: Homelab Monitoring Setup with Grafana

#17

I'm in the process of building out a Grafana stack (Prometheus, Loki, Tempo, Mimir, Grafana) for my day job right now. ...and also for one of my side projects, OSRBeyond. It's easy to get overwhelmed by all the moving pieces, but it's also a lot of _fun_ to set up.

I've had great success using this helm chart to install the entire stack into my EKS clusters. Even if you're not using Kubernetes, it's still a useful example for how everything should fit together. https://github.com/prometheus-community/helm-charts/tree/mai...

Good luck! It's a lot.

Re: Show HN: Homelab Monitoring Setup with Grafana

#18
post #11

I've found VictoriaMetrics all-in-one binary to be perfect size for home at the very least for metrics gathering. Supports Prometheus querying and few other formats for ingesting so any knowledge bout "how to get data into prometheus" applies pretty much 1:1 + their own vmagent is pretty advanced. Not related to company in any way, just a happy user. https://victoriametrics.com/

I’ll never understand how companies with a UI focused product end up with websites that don’t have any screenshots of the UI. I spent over a minute on the site and couldn’t find a screenshot.

Could you explain why you had that thought? AFAIK VictoriaMetrics is a backend product that is positioned as an alternative to Prometheus/Graphite/InfluxDB/OpenTSDB, perfectly works with Grafana. It has its datasource for Grafana and yes, it has integrated VMUI which you can try at https://play.victoriametrics.com.

Re: Show HN: Homelab Monitoring Setup with Grafana

#19
I recently set up packet loss monitoring on a Raspberry Pi, using Prometheus for logging and graphing.

https://video.nstr.no/w/hjTH3Vggn2fvpTrQitMmVP

I would like to set up Grafana and more monitoring as well, on some of my other machines. But for now this is what I have :D

Post reply on HN