hosts: enable prometheus metrics
This commit is contained in:
parent
8bb43c697c
commit
a06f67bf23
|
@ -1,10 +1,17 @@
|
||||||
{
|
{
|
||||||
suites,
|
suites,
|
||||||
|
profiles,
|
||||||
mylib,
|
mylib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
imports = suites.server ++ (mylib.path.scanPaths ./. "default.nix");
|
imports =
|
||||||
|
suites.server
|
||||||
|
++ (with profiles; [
|
||||||
|
services.caddy
|
||||||
|
services.prometheus.node-exporter
|
||||||
|
])
|
||||||
|
++ (mylib.path.scanPaths ./. "default.nix");
|
||||||
|
|
||||||
system.stateVersion = "24.05";
|
system.stateVersion = "24.05";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,17 @@
|
||||||
{
|
{
|
||||||
suites,
|
suites,
|
||||||
|
profiles,
|
||||||
mylib,
|
mylib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
imports = suites.server ++ (mylib.path.scanPaths ./. "default.nix");
|
imports =
|
||||||
|
suites.server
|
||||||
|
++ (with profiles; [
|
||||||
|
services.caddy
|
||||||
|
services.prometheus.node-exporter
|
||||||
|
])
|
||||||
|
++ (mylib.path.scanPaths ./. "default.nix");
|
||||||
|
|
||||||
system.stateVersion = "24.11";
|
system.stateVersion = "24.11";
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,9 @@
|
||||||
imports =
|
imports =
|
||||||
suites.server
|
suites.server
|
||||||
++ (with profiles; [
|
++ (with profiles; [
|
||||||
|
services.caddy
|
||||||
services.knot.secondary
|
services.knot.secondary
|
||||||
|
services.prometheus.node-exporter
|
||||||
])
|
])
|
||||||
++ (mylib.path.scanPaths ./. "default.nix");
|
++ (mylib.path.scanPaths ./. "default.nix");
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,9 @@
|
||||||
imports =
|
imports =
|
||||||
suites.server
|
suites.server
|
||||||
++ (with profiles; [
|
++ (with profiles; [
|
||||||
|
services.caddy
|
||||||
services.knot.primary
|
services.knot.primary
|
||||||
|
services.prometheus.node-exporter
|
||||||
])
|
])
|
||||||
++ (mylib.path.scanPaths ./. "default.nix");
|
++ (mylib.path.scanPaths ./. "default.nix");
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,9 @@
|
||||||
imports =
|
imports =
|
||||||
suites.server
|
suites.server
|
||||||
++ (with profiles; [
|
++ (with profiles; [
|
||||||
|
services.caddy
|
||||||
services.knot.secondary
|
services.knot.secondary
|
||||||
|
services.prometheus.node-exporter
|
||||||
])
|
])
|
||||||
++ (mylib.path.scanPaths ./. "default.nix");
|
++ (mylib.path.scanPaths ./. "default.nix");
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
services.miniflux
|
services.miniflux
|
||||||
services.ntfy
|
services.ntfy
|
||||||
services.postgresql
|
services.postgresql
|
||||||
|
services.prometheus.node-exporter
|
||||||
services.well-known
|
services.well-known
|
||||||
])
|
])
|
||||||
++ (mylib.path.scanPaths ./. "default.nix");
|
++ (mylib.path.scanPaths ./. "default.nix");
|
||||||
|
|
Loading…
Reference in a new issue