mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
fix(monitoring): grafana
This commit is contained in:
parent
0397043f88
commit
276ccc077e
3 changed files with 18 additions and 2 deletions
|
|
@ -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}";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -127,6 +127,8 @@ in
|
|||
ports.default = mapAlmostOptionDefaults {
|
||||
port = 9092;
|
||||
protocol = "http";
|
||||
} // {
|
||||
prometheus.exporter.enable = true;
|
||||
};
|
||||
};
|
||||
loki = {config, ...}: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue