From 076a5c6602d4f72333ea66b6ae0b2b8f769e5594 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Sat, 19 Aug 2023 02:38:23 +0200 Subject: [PATCH] change loki lifecycler --- hosts/web-01.cloonar.com/modules/loki.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/web-01.cloonar.com/modules/loki.nix b/hosts/web-01.cloonar.com/modules/loki.nix index 5e7b59c..2a54b9d 100644 --- a/hosts/web-01.cloonar.com/modules/loki.nix +++ b/hosts/web-01.cloonar.com/modules/loki.nix @@ -39,11 +39,11 @@ in # Ingester ingester = { + lifecycler.address = "0.0.0.0"; lifecycler.ring = { kvstore.store = "inmemory"; replication_factor = 1; }; - lifecycler.interface_names = [ "enp1s0" ]; chunk_encoding = "snappy"; # Disable block transfers on shutdown max_transfer_retries = 0; @@ -89,7 +89,7 @@ in local.directory = rulerDir; }; rule_path = "/var/lib/loki/ruler"; - alertmanager_url = "http://alertmanager.r"; + alertmanager_url = "http://alertmanager.cloonar.com"; ring.kvstore.store = "inmemory"; };