mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat(monitoring): add to utsuho
This commit is contained in:
parent
550cb044aa
commit
77fd991ed1
6 changed files with 21 additions and 3 deletions
|
|
@ -29,7 +29,6 @@ in {
|
|||
{
|
||||
enabledCollectors = [
|
||||
"arp"
|
||||
"boottime"
|
||||
"cpu"
|
||||
"cpufreq"
|
||||
"diskstats"
|
||||
|
|
|
|||
|
|
@ -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}"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue