feat(monitoring): add to utsuho

This commit is contained in:
Kat Inskip 2024-05-28 12:26:46 -07:00
parent 550cb044aa
commit 77fd991ed1
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
6 changed files with 21 additions and 3 deletions

View file

@ -29,7 +29,6 @@ in {
{
enabledCollectors = [
"arp"
"boottime"
"cpu"
"cpufreq"
"diskstats"

View file

@ -3,7 +3,7 @@
lib,
...
}: let
inherit (builtins) toJSON;
inherit (builtins) toJSON toString;
inherit (lib.options) mkOption;
inherit (lib.types) port;
cfg = config.services.promtail;
@ -17,7 +17,7 @@ in {
};
config.services.promtail = {
extraFlags = [
"--server.http-listen-port=${cfg.settings.httpListenPort}"
"--server.http-listen-port=${toString cfg.settings.httpListenPort}"
];
};
}