diff options
Diffstat (limited to 'modules/nixos/monitoring')
-rw-r--r-- | modules/nixos/monitoring/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/nixos/monitoring/default.nix b/modules/nixos/monitoring/default.nix index a9b098b..cc06fbb 100644 --- a/modules/nixos/monitoring/default.nix +++ b/modules/nixos/monitoring/default.nix @@ -115,7 +115,11 @@ in { }; }; - loki.configuration.ruler.alertmanager_url = "https://${config.nixfiles.modules.alertmanager.domain}"; + loki.configuration.ruler = { + external_url = "https://${config.nixfiles.modules.grafana.domain}"; + alertmanager_url = "https://${config.nixfiles.modules.alertmanager.domain}"; + enable_alertmanager_v2 = true; + }; prometheus = { scrapeConfigs = with my.configurations; |