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>
  • Loading branch information
slim-bean authored Apr 1, 2020
1 parent 9a62deb commit 08b3b45
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 08b3b45

Please sign in to comment.