diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-11-29 01:26:26 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-11-29 01:26:26 +0300 |
commit | 3c5d840e8d92aee25aa411fc2ab7f8881cfdfede (patch) | |
tree | 125bfef8f70b1e4c13cbcf975de3a942914f5d9b /modules/nixos/monitoring/default.nix | |
parent | 2023-11-28 (diff) |
2023-11-29
Diffstat (limited to '')
-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; |