Hacker News new | ask | show | jobs
by jdoss 806 days ago
I recently setup Victoria Metrics + https://github.com/prometheus/snmp_exporter + Grafana to get start tracking bandwidth on my top of rack switches in my Datacenter rack which has been a pretty awesome setup. The way you can auto generate a config for your SNMP MIBs with SNMP Exporter was unexpectedly not a terrible experience.

My next task is to get centralized logging going with Victoria Logs + Vector, I'll have to check this out once I get everything setup. I believe I can use LogQL with Victoria Logs but I haven't tried it out yet. https://docs.victoriametrics.com/victorialogs/logsql/

2 comments

This is what I've been doing on my cluster:

https://github.com/nklmilojevic/home/blob/main/kubernetes/ap...

https://github.com/nklmilojevic/home/tree/main/kubernetes/ap...

Here you have Vector in aggregator + agent mode and several sources. VictoriaLogs also recently added Grafana datasource so it is fairly easy to set it up:

https://github.com/nklmilojevic/home/blob/main/kubernetes/ap...

I'm a big fan of VictoriaMetrics as well and we use it extensively in my company at high scale.

I've been eyeing a VictoriaLogs setup for my docker container fleet, but I haven't quite spotted where docker's remote logging export options overlap with VictoriaLogs ingestion options.

Wrinkle: two docker remote logging plugins I tried (e.g. loki, elastic) didn't seem to work on ARM processors out of the box.

Check out Vector for shipping logs from Docker. It might work out for you https://vector.dev/docs/reference/configuration/sources/dock...

I use Podman for all of my container stuff and there are issues with how Podman produces JSON logs

https://github.com/vectordotdev/vector/issues/6807 https://github.com/containers/podman/issues/16317

which needs to get fixed before I can use it for my workloads.