Skip to content

Commit

Permalink
docs: update promtail docs for backoff (#1879)
Browse files Browse the repository at this point in the history
Signed-off-by: Edward Welch <edward.welch@grafana.com>
(cherry picked from commit 08b3b45)
  • Loading branch information
slim-bean committed Apr 1, 2020
1 parent ab2b9c0 commit 08aa2da
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/clients/promtail/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: <duration> | default = 100ms]
[minbackoff: <duration> | default = 500ms]
# Maximum backoff time between retries
[maxbackoff: <duration> | default = 10s]
[maxbackoff: <duration> | default = 5m]
# Maximum number of retries to do
[maxretries: <int> | default = 10]
Expand Down

0 comments on commit 08aa2da

Please sign in to comment.