redbrick / nix-configs

NixOS configs for Redbrick deployment
Apache License 2.0
15 stars 5 forks source link

Propolis: Use Prometheus and node-exporter to gather system metrics #33

Closed butlerx closed 4 years ago

butlerx commented 4 years ago

Nixos has a large number of Prometheus exporters https://nixos.org/nixos/options.html#services.prometheus.exporters

The node exporter was previously used to monitor Zeus https://graphs.redbrick.dcu.ie/d/rYdddlPWk/server-overview?orgId=1

This is a very detailed metric collector that can be easily extended. And more collectors can be easily added to Prometheus.

m1cr0man commented 4 years ago

Ah, I think the PRs were duplicated.

butlerx commented 4 years ago

feel free to merge but hold of deploying as ill need to migrate the loki data files from /var/loki to /var/db/loki

theycallmemac commented 4 years ago

@butlerx cool, once you've migrated those file make sure you redploy. Merging now.