Skip to content

Commit

Permalink
[release-2.9.x] docs: fix promtail configuration sample for compresse…
Browse files Browse the repository at this point in the history
…d files (#10790)

Backport 93cd29f from #10784

---

**What this PR does / why we need it**:
Fixes a typo which references an unknown field in
[scrapeconfig.DecompressionConfig](https://github.com/grafana/loki/blob/main/clients/pkg/promtail/scrapeconfig/scrapeconfig.go#L56)


[Search](https://github.com/search?q=repo%3Agrafana%2Floki+initial_sleep&type=code
) for `initial_sleep` yields only this line in the docs, while
[search](https://github.com/search?q=repo%3Agrafana%2Floki+initial_delay&type=code)
for `initial_deplay` yields code matches.

Co-authored-by: Gergő Rubint <me@gergorubint.com>
  • Loading branch information
grafanabot and grubint committed Oct 4, 2023
1 parent dc00af8 commit 2e9fded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sources/send-data/promtail/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ scrape_configs:
- job_name: system
decompression:
enabled: true
initial_sleep: 10s
initial_delay: 10s
format: gz
static_configs:
- targets:
Expand Down

0 comments on commit 2e9fded

Please sign in to comment.