Skip to content

Commit

Permalink
update compact docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mluffman committed Apr 20, 2024
1 parent 3a9b641 commit b5ed8c5
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions docs/components/compact.md
Expand Up @@ -255,8 +255,7 @@ You can horizontally scale Compactor to cope with this via
- [label sharding](../sharding.md#compactor): This allows to assign multiple streams to each instance of compactor.
- [time sharding](../sharding.md#compactor): This allows for compactors to only handle blocks that fall within a given time range

For example, to have an instance of compactor only working on blocks that fall within the time range of 14 days ago to 7 days ago, the flags would be
`--min-time=-14d --max-time=-7d`
For example, to have an instance of compactor only working on blocks that fall within the time range of 14 days ago to 7 days ago, the flags would be `--min-time=-14d --max-time=-7d`

Absolute times can be specified as well.

Expand Down Expand Up @@ -392,20 +391,21 @@ Flags:
json.
--log.level=info Log filtering level.
--max-time=9999-12-31T23:59:59Z
End of time range limit to compact.
Thanos Compactor will compact only blocks,
which happened earlier than this value. Option
End of time range limit to compact. Thanos
Compactor will only compact blocks whose min
time is at a date less recent this value. Option
can be a constant time in RFC3339 format or time
duration relative to current time, such as -1d
or 2h45m. Valid duration units are ms, s, m, h,
d, w, y.
or -2h45m. Valid units for duration are ms, s,
m, h, d, w, y.
--min-time=0000-01-01T00:00:00Z
Start of time range limit to compact.
Thanos Compactor will compact only blocks, which
happened later than this value. Option can be a
constant time in RFC3339 format or time duration
relative to current time, such as -1d or 2h45m.
Valid duration units are ms, s, m, h, d, w, y.
Start of time range limit to compact. Thanos
Compactor will only compact blocks whose max
time is at a date more recent than this value.
Option can be a constant time in RFC3339 format
or time duration relative to current time, such
as -1d or -2h45m. Durations must be negative,
and valid units are ms, s, m, h, d, w, y.
--objstore.config=<content>
Alternative to 'objstore.config-file'
flag (mutually exclusive). Content of
Expand Down

0 comments on commit b5ed8c5

Please sign in to comment.