From a0e113f9529826e4aea452a6a97a647669b90794 Mon Sep 17 00:00:00 2001 From: coesensbert Date: Wed, 13 Nov 2024 11:24:54 +0100 Subject: [PATCH] fix for loki docker plugin --- loki-docker-logs.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/loki-docker-logs.sh b/loki-docker-logs.sh index dcb2fbf..868db83 100644 --- a/loki-docker-logs.sh +++ b/loki-docker-logs.sh @@ -13,6 +13,10 @@ cat << EOF > /etc/docker/daemon.json "log-opts": { "loki-url": "https://int.loki.grid.tf/loki/api/v1/push", "loki-batch-size": "400" + "loki-retries": "2", + "loki-max-backoff": "800ms", + "loki-timeout": "1s", + "keep-file": "true" } } EOF