Skip to content

✨ darkone.service.monitoring

Supervision module: Grafana dashboards + per-node exporter.

Read-only watch (monitoring/fs-readonly.nix): every node exports dnf_filesystem_forced_readonly, its rw mounts whose filesystem the kernel turned read-only, behind FilesystemReadOnly. Intended ro mounts and binds never appear; the file lives on tmpfs, so it outlives the failing disk.

  • enable bool Enable monitoring with prometheus, grafana and node exporter
  • isNode bool Is a monitoring node
  • kioskTarget str Target (relative, no /) for the automatic redirect to Grafana from the monitoring domain root. Overridden by the Loki module when active to point to a multi-source home dashboard.
darkone.service.monitoring = {
enable = false;
isNode = lib.hasAttrByPath [ "features" "monitoring-node" ] host;
kioskTarget = "d/dnf-monitoring-home/home?kiosk";
};

Source: modules/service/monitoring.nix 🡕