8000 GitHub - nixos-homelab/monitoring: NixOS Homelab modules for observability · GitHub
[go: up one dir, main page]

Skip to content

About

NixOS Homelab modules for observability

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

41 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nixos-homelab-monitoring

Observability stack on top of nixos-homelab: Grafana, long-term metrics storage, and the exporters/collectors that feed it, for both cluster and host-level monitoring.

For the full list of module options, see the options reference.

Setup

{
  inputs = {
    ...
    homelab-monitoring = {
      url = "github:nixos-homelab/monitoring";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    ...
  };
}
{ inputs, ... }:
{
  imports = [
    inputs.homelab-monitoring.nixosModules.grafana
    inputs.homelab-monitoring.nixosModules.mimir
  ];
  config = {
    homelab.grafana.enable = true;
    homelab.mimir.enable = true;
  };
}

Modules

  • grafana: dashboards, provisioned with datasources for Mimir.
  • mimir: long-term Prometheus-compatible metrics storage.
  • alloy: the Grafana Alloy agent that scrapes and forwards metrics/logs, with a per-service integrations allow-list like homepage's.
  • node-exporter: host-level metrics (CPU, memory, disk, network).
  • smartctl-exporter: disk S.M.A.R.T. health metrics.
  • zfs-exporter: ZFS pool metrics.
  • metrics-server: standard Kubernetes metrics-server, for kubectl top and autoscaling.

About

NixOS Homelab modules for observability

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages

0