mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 08:45:02 +01:00
METRICS
This commit is contained in:
parent
61d4c9a3d3
commit
beb86b7ea9
2 changed files with 33 additions and 0 deletions
|
|
@ -92,13 +92,22 @@
|
|||
# monitoring
|
||||
|
||||
networking.firewall.interfaces.wg0.allowedTCPPorts = [
|
||||
8080 # cadvisor exporter
|
||||
9100 # node exporter
|
||||
9150 # pretense exporter
|
||||
9558 # systemd exporter
|
||||
];
|
||||
services.prometheus.exporters = {
|
||||
node = {
|
||||
enable = true;
|
||||
};
|
||||
systemd = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
services.cadvisor = {
|
||||
enable = true;
|
||||
listenAddress = "0.0.0.0"; # todo: $wg-ip
|
||||
};
|
||||
services.promtail = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue