Enable Prometheus/Grafana/Loki
All checks were successful
/ test (push) Successful in 1m35s

This commit is contained in:
Andrea Ciceri 2024-07-21 18:18:24 +02:00
parent ebc446116c
commit 7f52ad42cd
Signed by: aciceri
SSH key fingerprint: SHA256:/AagBweyV4Hlfg9u092n8hbHwD5fcB6A3qhDiDA65Rg
14 changed files with 290 additions and 2 deletions

View file

@ -0,0 +1,32 @@
{
config,
pkgs,
...
}: {
services.prometheus.exporters.node = {
enable = true;
enabledCollectors = [
"cpu"
"conntrack"
"diskstats"
"entropy"
"filefd"
"filesystem"
"loadavg"
"mdadm"
"meminfo"
"netdev"
"netstat"
"stat"
"time"
"vmstat"
"systemd"
"logind"
"interrupts"
"ksmd"
"textfile"
"pressure"
];
extraFlags = ["--collector.ethtool" "--collector.softirqs" "--collector.tcpstat" "--collector.wifi"];
};
}