From 08aa2dabd6ec95bffdbc2a5cfbaf6a85b0ace30c Mon Sep 17 00:00:00 2001 From: Ed Welch Date: Wed, 1 Apr 2020 09:22:39 -0400 Subject: [PATCH] docs: update promtail docs for backoff (#1879) Signed-off-by: Edward Welch (cherry picked from commit 08b3b459899c67b6c865bcde452a22c62704ce7e) --- docs/clients/promtail/configuration.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/clients/promtail/configuration.md b/docs/clients/promtail/configuration.md index fd28b561dea8..83420401c066 100644 --- a/docs/clients/promtail/configuration.md +++ b/docs/clients/promtail/configuration.md @@ -202,12 +202,15 @@ tls_config: # Configures how to retry requests to Loki when a request # fails. +# Default backoff schedule: +# 0.5s, 1s, 2s, 4s, 8s, 16s, 32s, 64s, 128s, 256s(4.267m) +# For a total time of 511.5s(8.5m) before logs are lost backoff_config: # Initial backoff time between retries - [minbackoff: | default = 100ms] + [minbackoff: | default = 500ms] # Maximum backoff time between retries - [maxbackoff: | default = 10s] + [maxbackoff: | default = 5m] # Maximum number of retries to do [maxretries: | default = 10]