fix(monitoring): grafana

This commit is contained in:
arcnmx 2024-05-30 16:51:19 -07:00
parent 0397043f88
commit 276ccc077e
3 changed files with 18 additions and 2 deletions

View file

@ -12,7 +12,7 @@ in {
settings.server = {
domain = mkDefault config.networking.domain;
http_port = mkDefault 9092;
http_addr = mkDefault "::";
http_addr = mkDefault "[::]";
root_url = mkDefault "https://${service.id}.${cfg.settings.server.domain}";
};
};

View file

@ -127,6 +127,8 @@ in
ports.default = mapAlmostOptionDefaults {
port = 9092;
protocol = "http";
} // {
prometheus.exporter.enable = true;
};
};
loki = {config, ...}: {