Fixing spelling errors and incorrect units (#9082)

**What this PR does / why we need it**:
mild grammar changes

**Which issue(s) this PR fixes**:
None

**Special notes for your reviewer**:

**Checklist**
- [x] Reviewed the
[`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md)
guide (**required**)
- [x] Documentation added
- [ ] ~~Tests updated~~
- [ ] ~~`CHANGELOG.md` updated~~
- [ ] ~~Changes that require user attention or interaction to upgrade
are documented in `docs/sources/upgrading/_index.md`~~
pull/9083/head
logan 2 years ago committed by GitHub
parent 9dd2aac9e4
commit 556af7609a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/sources/clients/promtail/_index.md

@ -68,7 +68,7 @@ scrape_configs:
Important details are:
* It relies on the `\n` character to separate the data into different log lines.
* The max expected log line is 2MB bytes within the compressed file.
* The max expected log line is 2MB within the compressed file.
* The data is decompressed in blocks of 4096 bytes. i.e: it first fetches a block of 4096 bytes
from the compressed file and processes it. After processing this block and pushing the data to Loki,
it fetches the following 4096 bytes, and so on.
@ -77,7 +77,7 @@ Important details are:
- `.z`: Data will be decompressed with the native Zlib Golang pkg (`pkg/compress/zlib`)
- `.bz2`: Data will be decompressed with the native Bzip2 Golang pkg (`pkg/compress/bzip2`)
- `.tar.gz`: Data will be decompressed exactly as the `.gz` extension.
However, because `tar` will add its metadata at the beggining of the
However, because `tar` will add its metadata at the beginning of the
compressed file, **the first parsed line will contains metadata together with
your log line**. It is illustrated at
`./clients/pkg/promtail/targets/file/decompresser_test.go`.

Loading…
Cancel
Save