Document 0 meaning for retries. (#4096)

pull/4098/head
Karsten Jeschkies 4 years ago committed by GitHub
parent 1efeace644
commit 5a5bcb16e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/sources/clients/docker-driver/configuration.md
  2. 2
      docs/sources/clients/fluentbit/_index.md
  3. 2
      docs/sources/clients/logstash/_index.md
  4. 1
      tools/dev/loki-boltdb-storage-s3/docker-compose.yml

@ -204,7 +204,7 @@ To specify additional logging driver options, you can use the --log-opt NAME=VAL
| `loki-batch-size` | No | `1048576` | The maximum size of a log batch to send. |
| `loki-min-backoff` | No | `500ms` | The minimum amount of time to wait before retrying a batch. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". |
| `loki-max-backoff` | No | `5m` | The maximum amount of time to wait before retrying a batch. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". |
| `loki-retries` | No | `10` | The maximum amount of retries for a log batch. |
| `loki-retries` | No | `10` | The maximum amount of retries for a log batch. Setting it to `0` will retry indefinitely. |
| `loki-pipeline-stage-file` | No | | The location of a pipeline stage configuration file ([example](https://github.com/grafana/loki/blob/master/cmd/docker-driver/pipeline-example.yaml)). Pipeline stages allows to parse log lines to extract more labels, [see associated documentation](../../promtail/stages/). |
| `loki-pipeline-stages` | No | | The pipeline stage configuration provided as a string [see pipeline stages](#pipeline-stages) and [associated documentation](../../promtail/stages/). |
| `loki-relabel-config` | No | | A [Prometheus relabeling configuration](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config) allowing you to rename labels [see relabeling](#relabeling). |

@ -72,7 +72,7 @@ You can also adapt your plugins.conf, removing the need to change the command li
| Timeout | Maximum time to wait for loki server to respond to a request. | 10s |
| MinBackoff | Initial backoff time between retries. | 500ms |
| MaxBackoff | Maximum backoff time between retries. | 5m |
| MaxRetries | Maximum number of retries when sending batches. | 10 |
| MaxRetries | Maximum number of retries when sending batches. Setting it to `0` will retry indefinitely. | 10 |
| Labels | labels for API requests. | {job="fluent-bit"} |
| LogLevel | LogLevel for plugin logger. | "info" |
| RemoveKeys | Specify removing keys. | none |

@ -223,7 +223,7 @@ Maximum backoff time between retries
##### retries => 10
Maximum number of retries to do
Maximum number of retries to do. Setting it to `0` will retry indefinitely.
#### tenant_id

@ -5,6 +5,7 @@ services:
driver: loki-compose
options:
loki-url: "http://localhost:8001/loki/api/v1/push"
loki-retries: "1"
image: consul
command: [ "agent", "-dev" ,"-client=0.0.0.0", "-log-level=info" ]
ports:

Loading…
Cancel
Save