Skip to content

Commit 8d5105b

Browse files
rawsun007claude
andauthored
docs: drop two removed flags (#7990)
-limits.per-user-override-config/-period and -ingester.flush-on-shutdown-with-wal-enabled no longer exist; Cortex rejects them with "flag provided but not defined". Signed-off-by: Roshan Ramani <roshanramani.dev@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent d258391 commit 8d5105b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/api/_index.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ GET,POST /ingester/flush
305305
GET,POST /flush
306306
```
307307

308-
Triggers a flush of the in-memory time series data to the long-term storage. This endpoint triggers the flush also when `-ingester.flush-on-shutdown-with-wal-enabled` or `-blocks-storage.tsdb.flush-blocks-on-shutdown` are disabled.
308+
Triggers a flush of the in-memory time series data to the long-term storage. This endpoint triggers the flush also when `-blocks-storage.tsdb.flush-blocks-on-shutdown` is disabled.
309309

310310
This endpoint accepts `tenant` parameter to specify tenant whose blocks are compacted and shipped. This parameter may be specified multiple times to select more tenants. If no tenant is specified, all tenants are flushed.
311311

‎docs/configuration/arguments.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ It also talks to a KVStore and has its own copies of the same flags used by the
307307

308308
## Runtime Configuration file
309309

310-
Cortex has a concept of "runtime config" file, which is simply a file that is reloaded while Cortex is running. It is used by some Cortex components to allow an operator to change some aspects of Cortex configuration without restarting it. The file is specified by using the `-runtime-config.file=<filename>` flag and reload period (which defaults to 10 seconds) can be changed by the `-runtime-config.reload-period=<duration>` flag. Previously this mechanism was only used by limits overrides, and flags were called `-limits.per-user-override-config=<filename>` and `-limits.per-user-override-period=10s` respectively. These are still used, if `-runtime-config.file=<filename>` is not specified.
310+
Cortex has a concept of "runtime config" file, which is simply a file that is reloaded while Cortex is running. It is used by some Cortex components to allow an operator to change some aspects of Cortex configuration without restarting it. The file is specified by using the `-runtime-config.file=<filename>` flag and reload period (which defaults to 10 seconds) can be changed by the `-runtime-config.reload-period=<duration>` flag.
311311

312312
At the moment, runtime configuration may contain per-user limits, multi KV store, and ingester instance limits.
313313

0 commit comments

Comments
 (0)