From e4ac3e897759c0f0f972ca5c1e4cfcd12340027d Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Sun, 18 Aug 2024 14:46:45 +0200 Subject: [PATCH] Try to fix loki docker timeout doesn't really work, but better than nothing --- hosts/franz/arion/stats/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hosts/franz/arion/stats/default.nix b/hosts/franz/arion/stats/default.nix index 8ed479b..70102ea 100644 --- a/hosts/franz/arion/stats/default.nix +++ b/hosts/franz/arion/stats/default.nix @@ -49,7 +49,11 @@ in { log-driver = "loki"; log-opts = { loki-url = "http://localhost:3100/loki/api/v1/push"; - # loki-url = "http://host.docker.internal:3100/loki/api/v1/push"; + loki-batch-size = "400"; + loki-max-backoff = "800ms"; + loki-retries = "2"; + loki-timeout = "1s"; + keep-file = "true"; }; }; }