Skip to content

Commit e6f9265

Browse files
docs: fix stale sed line range and regenerate mdox output
Update the sed range in docs/components/receive.md from '1068,1078p' to '1067,1078p' to match the current line numbers in handler.go after upstream changes shifted the writeQuorum function. Regenerate all mdox-exec output to pass the check-docs CI gate.
1 parent 9c1ec73 commit e6f9265

File tree

9 files changed

+388
-387
lines changed

9 files changed

+388
-387
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,11 +1078,11 @@ The binaries published with this release are built with Go1.17.8 to avoid [CVE-2
10781078

10791079
### Changed
10801080

1081-
-
1081+
-
10821082

10831083
### Removed
10841084

1085-
-
1085+
-
10861086

10871087
## [v0.20.0](https://github.com/thanos-io/thanos/releases/tag/v0.20.0) - 2021.04.28
10881088

docs/components/compact.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -288,22 +288,22 @@ Flags:
288288
--log.level=info Log filtering level.
289289
--log.format=logfmt Log format to use. Possible options: logfmt,
290290
json or journald.
291-
--tracing.config-file=<file-path>
291+
--tracing.config-file=<file-path>
292292
Path to YAML file with tracing
293293
configuration. See format details:
294294
https://thanos.io/tip/thanos/tracing.md/#configuration
295-
--tracing.config=<content>
295+
--tracing.config=<content>
296296
Alternative to 'tracing.config-file' flag
297297
(mutually exclusive). Content of YAML file
298298
with tracing configuration. See format details:
299299
https://thanos.io/tip/thanos/tracing.md/#configuration
300-
--[no-]enable-auto-gomemlimit
300+
--[no-]enable-auto-gomemlimit
301301
Enable go runtime to automatically limit memory
302302
consumption.
303-
--auto-gomemlimit.ratio=0.9
303+
--auto-gomemlimit.ratio=0.9
304304
The ratio of reserved GOMEMLIMIT memory to the
305305
detected maximum container or system memory.
306-
--http-address="0.0.0.0:10902"
306+
--http-address="0.0.0.0:10902"
307307
Listen host:port for HTTP endpoints.
308308
--http-grace-period=2m Time to wait after an interrupt received for
309309
HTTP Server.
@@ -312,11 +312,11 @@ Flags:
312312
HTTP endpoints.
313313
--data-dir="./data" Data directory in which to cache blocks and
314314
process compactions.
315-
--objstore.config-file=<file-path>
315+
--objstore.config-file=<file-path>
316316
Path to YAML file that contains object
317317
store configuration. See format details:
318318
https://thanos.io/tip/thanos/storage.md/#configuration
319-
--objstore.config=<content>
319+
--objstore.config=<content>
320320
Alternative to 'objstore.config-file'
321321
flag (mutually exclusive). Content of
322322
YAML file that contains object store
@@ -326,15 +326,15 @@ Flags:
326326
blocks before they are being processed.
327327
Malformed blocks older than the maximum of
328328
consistency-delay and 48h0m0s will be removed.
329-
--retention.resolution-raw=0d
329+
--retention.resolution-raw=0d
330330
How long to retain raw samples in bucket.
331331
Setting this to 0d will retain samples of this
332332
resolution forever
333-
--retention.resolution-5m=0d
333+
--retention.resolution-5m=0d
334334
How long to retain samples of resolution 1 (5
335335
minutes) in bucket. Setting this to 0d will
336336
retain samples of this resolution forever
337-
--retention.resolution-1h=0d
337+
--retention.resolution-1h=0d
338338
How long to retain samples of resolution 2 (1
339339
hour) in bucket. Setting this to 0d will retain
340340
samples of this resolution forever
@@ -343,13 +343,13 @@ Flags:
343343
--wait-interval=5m Wait interval between consecutive compaction
344344
runs and bucket refreshes. Only works when
345345
--wait flag specified.
346-
--[no-]downsampling.disable
346+
--[no-]downsampling.disable
347347
Disables downsampling. This is not recommended
348348
as querying long time ranges without
349349
non-downsampled data is not efficient and useful
350350
e.g it is not possible to render all samples for
351351
a human eye anyway
352-
--block-discovery-strategy="concurrent"
352+
--block-discovery-strategy="concurrent"
353353
One of concurrent, recursive. When set to
354354
concurrent, stores will concurrently issue
355355
one call per directory to discover active
@@ -358,39 +358,39 @@ Flags:
358358
recursively traversing into each directory.
359359
This avoids N+1 calls at the expense of having
360360
slower bucket iterations.
361-
--block-meta-fetch-concurrency=32
361+
--block-meta-fetch-concurrency=32
362362
Number of goroutines to use when fetching block
363363
metadata from object storage.
364-
--block-files-concurrency=1
364+
--block-files-concurrency=1
365365
Number of goroutines to use when
366366
fetching/uploading block files from object
367367
storage.
368-
--block-viewer.global.sync-block-interval=1m
368+
--block-viewer.global.sync-block-interval=1m
369369
Repeat interval for syncing the blocks between
370370
local and remote view for /global Block Viewer
371371
UI.
372-
--block-viewer.global.sync-block-timeout=5m
372+
--block-viewer.global.sync-block-timeout=5m
373373
Maximum time for syncing the blocks between
374374
local and remote view for /global Block Viewer
375375
UI.
376-
--compact.cleanup-interval=5m
376+
--compact.cleanup-interval=5m
377377
How often we should clean up partially uploaded
378378
blocks and blocks with deletion mark in the
379379
background when --wait has been enabled. Setting
380380
it to "0s" disables it - the cleaning will only
381381
happen at the end of an iteration.
382-
--compact.progress-interval=5m
382+
--compact.progress-interval=5m
383383
Frequency of calculating the compaction progress
384384
in the background when --wait has been enabled.
385385
Setting it to "0s" disables it. Now compaction,
386386
downsampling and retention progress are
387387
supported.
388388
--compact.concurrency=1 Number of goroutines to use when compacting
389389
groups.
390-
--compact.blocks-fetch-concurrency=1
390+
--compact.blocks-fetch-concurrency=1
391391
Number of goroutines to use when download block
392392
during compaction.
393-
--downsample.concurrency=1
393+
--downsample.concurrency=1
394394
Number of goroutines to use when downsampling
395395
blocks.
396396
--delete-delay=48h Time before a block marked for deletion is
@@ -413,7 +413,7 @@ Flags:
413413
based deduplication algorithm will be used.
414414
At least one replica label has to be set via
415415
--deduplication.replica-label flag.
416-
--deduplication.replica-label=DEDUPLICATION.REPLICA-LABEL ...
416+
--deduplication.replica-label=DEDUPLICATION.REPLICA-LABEL ...
417417
Experimental. Label to treat as a replica
418418
indicator of blocks that can be deduplicated
419419
(repeated flag). This will merge multiple
@@ -436,14 +436,14 @@ Flags:
436436
happen. This permits avoiding downloading some
437437
files twice albeit at some performance cost.
438438
Possible values are: "", "SHA256".
439-
--min-time=0000-01-01T00:00:00Z
439+
--min-time=0000-01-01T00:00:00Z
440440
Start of time range limit to compact.
441441
Thanos Compactor will compact only blocks, which
442442
happened later than this value. Option can be a
443443
constant time in RFC3339 format or time duration
444444
relative to current time, such as -1d or 2h45m.
445445
Valid duration units are ms, s, m, h, d, w, y.
446-
--max-time=9999-12-31T23:59:59Z
446+
--max-time=9999-12-31T23:59:59Z
447447
End of time range limit to compact.
448448
Thanos Compactor will compact only blocks,
449449
which happened earlier than this value. Option
@@ -452,14 +452,14 @@ Flags:
452452
or 2h45m. Valid duration units are ms, s, m, h,
453453
d, w, y.
454454
--[no-]web.disable Disable Block Viewer UI.
455-
--selector.relabel-config-file=<file-path>
455+
--selector.relabel-config-file=<file-path>
456456
Path to YAML file with relabeling
457457
configuration that allows selecting blocks
458458
to act on based on their external labels.
459459
It follows thanos sharding relabel-config
460460
syntax. For format details see:
461461
https://thanos.io/tip/thanos/sharding.md/#relabelling
462-
--selector.relabel-config=<content>
462+
--selector.relabel-config=<content>
463463
Alternative to 'selector.relabel-config-file'
464464
flag (mutually exclusive). Content of YAML
465465
file with relabeling configuration that allows
@@ -493,10 +493,10 @@ Flags:
493493
--[no-]web.disable-cors Whether to disable CORS headers to be set by
494494
Thanos. By default Thanos sets CORS headers to
495495
be allowed by all.
496-
--bucket-web-label=BUCKET-WEB-LABEL
496+
--bucket-web-label=BUCKET-WEB-LABEL
497497
External block label to use as group title in
498498
the bucket web UI
499-
--[no-]disable-admin-operations
499+
--[no-]disable-admin-operations
500500
Disable UI/API admin operations like marking
501501
blocks for deletion and no compaction.
502502

0 commit comments

Comments
 (0)