From 3c5d840e8d92aee25aa411fc2ab7f8881cfdfede Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Wed, 29 Nov 2023 01:26:26 +0300 Subject: 2023-11-29 --- modules/nixos/monitoring/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules/nixos/monitoring/default.nix') 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; -- cgit 1.4.1